google-colaboratory

Colab "Unable to connect to the runtime" or 404 error


I recently encountered this problem. When I want to open colab page (https://colab.research.google.com/), it shows me a 404 error.

Sometimes it can load the page. But then it show this error message:

Unable to connect to the runtime

I asked this problem from ChatGPT and I followed all of its suggestion. But nothing changed.

Some (maybe) useful ChatGPT's checks is:


Solution

  • It seems Google has recently restricted access to Colab from Iran (like almost every other service). Honestly, I'm a bit surprised it took them this long (considering they have cut Iranian access to most of their services years ago). They usually return a 403 error, but this time the error is 404.

    Consider using another VPN if you already have tried VPNs. The restriction is not account-based, but IP-based.