Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud Shell Editor not loading resources

I've experienced that Google Cloud Shell Editor doesn't load, it keeps on loading resources forever. I've tried to restart my instance multiple times. I've changed projects, trying the boost feature, I've even reset my home directory, but nothing works. I've experienced this before and then it has resolved by itself after a few days. But that is not an optimal solution since I'm a frequent user of the editor. Today I experienced it again.

like image 321
nDakota Avatar asked Oct 06 '17 07:10

nDakota


3 Answers

For others who might have this problem: turning off my AdBlocker solved this issue.

like image 129
mishmish Avatar answered Sep 18 '22 14:09

mishmish


To resolve the issue, I needed to do all these steps:

  1. Disable Ad Blocker for cloud.google.com if you have it running in Chrome.
  2. Sign out of console.
  3. Clear Cookies.
  4. Reload page: https://console.cloud.google.com
  5. Login and select project

Each step was recommended in other answers and comments. Thanks!

My issue was related to Authentication. The shell authenticates and works fine but the editor hangs. The errors are visible in browser dev-tools.

Should log a defect if others are seeing it.

VM148:1 GET https://accounts.google.com/o/oauth2/iframerpc?action=sessionState&login_hint=*redacted*&origin=https%3A%2F%2Fssh.cloud.google.com 500
like image 36
intotecho Avatar answered Sep 20 '22 14:09

intotecho


I think I found a solution I want to share with others who experience the same problem. The reason for not loading resources is an authentication problem. If you open dev tools > console in your browser you will see you get multiple 405 errors. I solved this by running gcloud init in the terminal and then reload the editor.

like image 31
nDakota Avatar answered Sep 20 '22 14:09

nDakota