Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Colab running any cell received javascript related errors

Received a browser white popup saying when executing any cells:

Error
Could not load the JavaScript files needed to display output.
This is probably because your Google account login access has expired or because third-party cookies are not allowed by your browser.

Please reload this page.
 DETAILS

I have tried re-login and restarted runtime, and no help. Strange is another notebook is fine.

OKenter image description here

Update: Just restarting browser and relaunched everything seemed to "fix" this.

like image 651
kawingkelvin Avatar asked Jun 11 '19 19:06

kawingkelvin


People also ask

Could not load the JavaScript files needed to display output Colab?

Could not load the JavaScript files needed to display output. This is probably because your Google account login access has expired or because third-party cookies are not allowed by your browser. Please reload this page. All cookies are allowed in my google chrome.

Does Google colab support JavaScript?

Javascript to Python communication The Javascript APIs are documented in Colab's outputframe type declarations.

What are the restrictions for Google Colab?

Colab Pro limits RAM to 32 GB while Pro+ limits RAM to 52 GB. Colab Pro and Pro+ limit sessions to 24 hours. Colab Pro does not provide background execution, while Pro+ does. Colab Pro and Pro+ do not offer a full version of JupyterLab.

Why my Google colab is not working?

Update your Google Chrome version to >=80 and it works perfectly! Show activity on this post. an internet connection problem: so check your internet connection first, or try opening other sites. the notebook you are trying to open is corrupted: try to open a new notebook from colab.


4 Answers

For those like me who tried all the given solutions but with no use ,the magic thing that worked for me in the end was to open colab using a vpn!

like image 68
AhmadR Avatar answered Oct 16 '22 07:10

AhmadR


Restart browser. If someone find a better way, please post.

like image 21
kawingkelvin Avatar answered Oct 16 '22 07:10

kawingkelvin


This may be because access to your Google account has expired or because your browser does not allow third-party cookies.

like image 34
Yasser.AbdelSattar Avatar answered Oct 16 '22 08:10

Yasser.AbdelSattar


I got this error on chrome. Every colab notebook I opened had this issue even if it wasn't connected to a runtime. Restarting the browser didn't help.

Clearing cookies of last 24hours (and restarting my system to be sure!) fixed the issue.

like image 33
hoper Avatar answered Oct 16 '22 07:10

hoper