我只能将此归因于运行gcloud compute os-login ssh-keys add命令,该命令的影响似乎比它说的要大。其他可能影响此问题的命令$ gcloud compute ssh dev-mycomp-noEnter same passphrase again:
Your identification has been saved in /home/carlerik
WARNING:google.auth.compute_engine._metadata:ComputeEngine Metadata server unavailable onattempt 1 of 3.Reason: timed out
WARNING:google.auth.compute_engine._metadata:ComputeEngine Metadata serve
_http_client] DEBUG: Making request: GET http://169.254.169.254
2020-09-27 20:26:33 [google.auth.compute_engine_metadata] WARNING: ComputeEngine Metadata server unavailable onattempt 1 of 3._metadata] WARNING: ComputeEngi
java.sql.SQLNonTransientConnectionException: Could not create connection to database server.They are available if running in GoogleComputeEngine.Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a fi
我猜想这是在告诉我转到CLI并输入:然后打开一个网页,上面写着:to continue to GoogleCloud SDK我选择我的Google帐户,它会进入一个屏幕,上面写着: View and manage your applications deployedon Google App Engine More info