0
votes

I got timed out error when I used SSH. I want to fix it. Can you please help me?

Welcome to Cloud Shell! Type "help" to get started.
...
$ gcloud --project "xxx" app instances ssh "xxx" --service "xxx" --version "xxx"
ssh: connect to host xx.xx.xx.xx port 22: Connection timed out
ERROR: (gcloud.app.instances.ssh) [/usr/bin/ssh] exited with return code [255].

I read the documentation. https://cloud.google.com/appengine/docs/flexible/nodejs/debugging-an-instance

I tried it on cloud shell and pressed the SSH button as well. I use Nodejs runtime.

I have owner role.

1

1 Answers

2
votes

The 255 error usually occurs due to either a permission or firewall issue. As in your case you have the Owner role, I'd try with the firewall settings. Create a new one allowing an IP range of 0.0.0.0/0 as described in the steps here.