legacy-python-cli
legacy-python-cli copied to clipboard
SSLError when using Anaconda Python distribution
SSLError when sending heartbeats:
Max retries exceeded with url: /api/v1/heartbeats (Caused by SSLError(SSLError(1, '_ssl.c:504: error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown message digest algorithm
Looks like Anaconda Python 2.x (distributed by Continuum Analytics, Inc.) uses a very old version of the ssl built-in module: http://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
Should log a more informative error message to ~/.wakatime.log
when detecting an old ssl module along with Anaconda Python.
Another error message from Anaconda on Windows:
File "C:\Users\username\AppData\Roaming\Sublime Text 3\Packages\WakaTime\packages\wakatime\packages\requests\adapters.py", line 506, in send
raise SSLError(e, request=request)
wakatime.packages.requests.exceptions.SSLError: HTTPSConnectionPool(host='api.wakatime.com', port=443): Max retries exceeded with url: /api/v1/users/current/heartbeats.bulk (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
Does running easy_install pyopenssl
fix this error?
Possibly fixed with v13.0.4 of wakatime.