Figured out that GCP uses python 3.6 when python_version is set to 3 in 
app.yaml
Changed the version to 3.5. Hopefully, this should solve some problems.

On Tuesday, July 31, 2018 at 10:10:33 AM UTC-7, [email protected] wrote:
>
> My GCP deployment was working fine until I did "gcloud components update" 
> two weeks ago. I understand that the command updates the libraries, and 
> there was an option to revert back to the previous version at the end of 
> the update, but I do not understand why there are so many 
> connection-refused errors with the new update. On the client side, I see 
> "502 Bad Gateway errors". These errors are not consistent. I see them 
> occurring 12 times in the last 48 minutes.
>
>
> 2018-07-31 09:13:19.000 MST
> Traceback (most recent call last): File 
> "/env/lib/python3.6/site-packages/urllib3/connection.py", line 171, in 
> _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File 
> "/env/lib/python3.6/site-packages/urllib3/util/connection.py", line 79, in 
> create_connection raise err File 
> "/env/lib/python3.6/site-packages/urllib3/util/connection.py", line 69, in 
> create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] 
> Connection refused
>
> Expand all | Collapse all
> {
>  insertId: "crhycg4civkq14"  
>  labels: {…}  
>  logName: "projects/eps-server/logs/appengine.googleapis.com%2Fstderr"  
>  receiveTimestamp: "2018-07-31T16:13:24.966198879Z"  
>  resource: {…}  
>  textPayload: "Traceback (most recent call last):
>   File "/env/lib/python3.6/site-packages/urllib3/connection.py", line 171, in 
> _new_conn
>     (self._dns_host, self.port), self.timeout, **extra_kw)
>   File "/env/lib/python3.6/site-packages/urllib3/util/connection.py", line 
> 79, in create_connection
>     raise err
>   File "/env/lib/python3.6/site-packages/urllib3/util/connection.py", line 
> 69, in create_connection
>     sock.connect(sa)
> ConnectionRefusedError: [Errno 111] Connection refused
> "  
>  timestamp: "2018-07-31T16:13:19Z"  
> }
>
>
>
> 2018-07-31 09:13:19.000 MST
> AuthMetadataPluginCallback "<google.auth.transport.grpc.AuthMetadataPlugin 
> object at 0x7fdd9f316b00>" raised exception!
>
> Expand all | Collapse all
> {
>  insertId: "crhycg4civkq14"  
>  labels: {…}  
>  logName: "projects/eps-server/logs/appengine.googleapis.com%2Fstderr"  
>  receiveTimestamp: "2018-07-31T16:13:24.966198879Z"  
>  resource: {…}  
>  textPayload: "AuthMetadataPluginCallback 
> "<google.auth.transport.grpc.AuthMetadataPlugin object at 0x7fdd9f316b00>" 
> raised exception!
> "  
>  timestamp: "2018-07-31T16:13:19Z"  
> }
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/380658c0-e7e6-4885-9e76-bfb71d58ff55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to