Search code examples
google-chromegoogle-cloud-platformgoogle-cloud-shell

Cloud Shell: Editor is not loading in incognito mode


So I have been following the following step for past few months:

  1. Log in to Google Cloud Console from Chrome's incognito mode
  2. Activate Cloud Shell
  3. From there, I usually opened Editor and managed my files in a new window

Today while I was following the above steps, this issue raised up: enter image description here

Basically, I cannot open editor anymore. I have already went through similar posts, and my issue is that I am using incognito where browser extensions or cookies shouldn't be an issue.

I am facing this problem for the first time and if anyone knows what is the cause or any suggestions would be appreciated.


EDIT:
For now Microsoft Edge InPrivate Mode is working for me. I am still interested in fixing the issue for Chrome.

Have reported the issue in Issue Tracker. Please "start" for more attention.


Solution

  • This started happening recently because third-party cookies stopped being supported in Incognito mode as of Chrome 83. Third-party cookies are required for the editor to work because of the way the open-source Theia IDE is integrated into Cloud Shell. The team is exploring various fixes, but in the mean time the following workaround should work:

    1. In Incognito Mode, click on the crossed out 'eye' icon on the address bar.
    2. Click on 'Site not working?'
    3. Click on 'Allow cookies'

    Safari problem stems from the same issue, but I am not certain if a similar workaround exists.