0
votes

Running Windows 10 home I keep getting the following error message when I try to open Google Cloud Shell in Chrome:

Cannot connect to Cloud Shell due to a client network error. Please ensure you are connected to the internet and your network proxy settings allow connections to Cloud Shell.

In Firefox it's this error message (incl. incognito mode): An error occurred while communicating with the SSH server. Check the server and the network configuration.

I have tried:

  • Instances (VM on GCP/Compute Engine) in 2 different zones
  • Switching off firewall
  • Safe mode option for google cloud shell
  • Restart google cloud shell
  • Two different computers, on two different networks
  • No proxy server marked in LAN settings
  • Clearing cache on Chrome browser
  • CMD as Admin netsh winsock reset
  • CMD as Admin netsh int ip reset resetlog.txt
  • CMD as Admin netsh int ipv4 reset
  • CMD as Admin SFC/Scannow
  • CMD as Admin DISM /Online /Cleanup-Image /RestoreHealth
  • Using Chrome SSH extension - SSH for Google Cloud Platform
  • Connected through Tunnelbear VPN
  • Applied latest Windows Update patch - November 27, 2018—KB4467682
  • Deleted SSH keys in "Compute Engine -> Metadata"

Any suggestions are really appreciated!

Relevant troubleshooting link for others could be - https://cloud.google.com/compute/docs/ssh-in-browser#ssherror

2

2 Answers

0
votes

More than an answer is a comment, if I understand you are try to open the Cloud Shell from the web browser, the browser is as not incognito mode?, disabling the default proxy configuration from your browser. Any relevant change from your firewall rule in the Win10 host?

0
votes

I found that an Ad Blocker on my Firebox browser was preventing connection. If you disable it for Google Cloud then it works again.