gcloud app deploy error - gcloud crashed: Failed to establish a new connection

2,688 views
Skip to first unread message

Sangram Sinha

unread,
Feb 12, 2022, 10:59:21 AM2/12/22
to Google App Engine
Hi,

I am getting below error while trying to deploy my django app from gcloud sdk

below are the command used
gcloud init
and
gcllod app deploy

below is the error message:

ERROR: gcloud crashed (TransportError): HTTPSConnectionPool(host='oauth2.googleapis.com', port=443): Max retries exceeded with url: /token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000021EB7D7A190>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))


It looks like it is unable to connect since max retires exceeded. but don't know what exactly.
Please advise how to fix this

George (Cloud Platform Support)

unread,
Feb 14, 2022, 12:15:24 PM2/14/22
to Google App Engine
This error is quite often indicative of local networking issues, especially proxies. If you are behind a corporate proxy or firewall, the Google Cloud CLI might not be able to access the internet with its default settings. You'll need to preform extra configuration steps to solve the issue. Related information is to be found on the "Configuring the gcloud CLI for use behind a proxy/firewall" documentation page
Reply all
Reply to author
Forward
0 new messages