Intermittent SSL Problem when getting Contacts - Some issue with a Yahoo endpoint perhaps?


We've started to see an intermittent SSL error using the Yahoo contacts API. It seems to indicate that something on Yahoo's end has a bad SSL cert.

File "/mnt/aaaa/.local/lib/python/yql-0.7.7-py2.7.egg/yql/init.py", line 293, in execute resp, content = self.http.request(url, http_method)

File "/usr/local/local/lib/python/httplib2-0.8-py2.7.egg/httplib2/init.py", line 1570, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)

File "/usr/local/local/lib/python/httplib2-0.8-py2.7.egg/httplib2/init.py", line 1317, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers)

File "/usr/local/lib/python/httplib2-0.8-py2.7.egg/httplib2/init.py", line 1252, in _conn_request conn.connect()

File "/usr/local/lib/python/httplib2-0.8-py2.7.egg/httplib2/init.py", line 1044, in connect raise SSLHandshakeError(e)

SSLHandshakeError: [Errno 1] _ssl.c:504: :SSL :certificate verify failed

We're using the python YQL library (version 0.7.7) and otherwise our system has been stable with no changes happening to it for months, until last week we started getting this SSL issue.

We're unable to reproduce this consistently in development or production, hence our suspicion that a particular Yahoo endpoint has an issue. Does anyone have any ideas?



2 Replies

Recent Posts

in Contacts