GCS Python Library requiring SSL on local dev server?

510 views
Skip to first unread message

Daniel Young

unread,
Oct 9, 2018, 11:27:40 PM10/9/18
to Google App Engine
Started seeing this error today

SSLHandshakeError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)


Trying to write a file with Google Cloud Storage on the development server.


Did the requirements change for the GCS python library?


Had no problems before August 8 uploading files locally.

Dzhovani Chemishanov

unread,
Oct 10, 2018, 2:09:07 AM10/10/18
to google-a...@googlegroups.com, Daniel Young

I had a similar problem recently. The solution was to reinstall the gcloud. It seems that the certificates had been messed during one of the updates.

--
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 google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
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/d96e2e1a-80d5-4fe7-b8de-72ab99fcb42e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


-------- Disclaimer --------
This email and any files transmitted may contain proprietary and confidential information of ICT Group N.V. or any of its subsidiaries like Strypes (“ICT”) and is intended only for the (use of the) named recipient(s) above. If you have received this message in error or are not the intended or named recipient(s) of this message, please immediately notify the sender by returning and deleting this email message from your computer. Any views or opinions presented are solely those of its author and do not necessarily represent those of Strypes or ICT. You are hereby notified that unauthorized disclosure, use, dissemination, forwarding, printing or copying of this e-mail and its attachments either whole or partial of its contents is strictly prohibited. Strypes or ICT cannot guarantee that email communications are secure and error-free and does not accept any liability for damages resulting from the use of email. The general terms and conditions of purchase respectively sale and delivery of ICT are applicable to all transactions and undertakings resulting therefrom.

Katayoon (Cloud Platform Support)

unread,
Oct 10, 2018, 9:05:50 AM10/10/18
to Google App Engine

Hi,


It doesn’t seem to be related to the GCS Python libraries. This is a common issue seen when there is a networking proxy present on your network. Networking configurations such as a proxy can cause the SSL Handshake to lose its context and fail verification. As a workaround mentioned in Issue 35907626 you may append the corporate certificate to google-cloud-sdk/lib/third_party/httplib2/cacerts.txt.



Daniel Young

unread,
Oct 10, 2018, 12:11:50 PM10/10/18
to Google App Engine
Let me try this - thanks for responding.  I was confused because I thought all SSL was simulated on the development server.
Reply all
Reply to author
Forward
0 new messages