SSL failure due to ajax callbacks?

We are receiving some kind of SSL failure when doing ajax callbacks through user agent Python-urllib/2.6.

The error we are receiving is:

u'[Errno 1] _ssl.c:493: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure'

If we do the same through a direct URL to make the call back we don’t receive an error. We moved our website to a new host and started using Cloudflare. Before this we haven’t had this issue. Any help or insight is appreciated.

Your library probably doesn’t support some version of TLS. Depending on your setting for ‘minimum TLS version’ in the dashboard -> SSL/TLS -> Edge Certificates, TLS 1.0 or 1.1 or 1.2 support on the client is required to establish a secure connection to the server.

Try running this to see the highest supported tls version:

python -c "import json, urllib2; print json.load(urllib2.urlopen(''))['tls_version']"

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.