SSLError: Can't connect to HTTPS URL because the SSL module is not available.
See original GitHub issuericokahler commented,
I haven’t got this to work for around 3 weeks now.
here’s a line from the logs:
{ "now": "2019/03/08 23:43:01 -0500", "version": "10.8.0", "plugin": "vscode/1.32.1 vscode-wakatime/1.2.12", "time": 1552106580.9384892, "caller": "/Users/ricokahler/.vscode/extensions/wakatime.vscode-wakatime-1.2.12/wakatime-master/wakatime/api.py", "lineno": 125, "file": "/Users/ricokahler/workspace/resift/src/combineLoadingStates/combineLoadingStates.ts", "level": "WARNING", "message": "{'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.\"))', 'traceback': 'Traceback (most recent call last):\\n File \"/Users/ricokahler/.vscode/extensions/wakatime.vscode-wakatime-1.2.12/wakatime-master/wakatime/packages/urllib3/connectionpool.py\", line 589, in urlopen\\n conn = self._get_conn(timeout=pool_timeout)\\n File \"/Users/ricokahler/.vscode/extensions/wakatime.vscode-wakatime-1.2.12/wakatime-master/wakatime/packages/urllib3/connectionpool.py\", line 251, in _get_conn\\n return conn or self._new_conn()\\n File \"/Users/ricokahler/.vscode/extensions/wakatime.vscode-wakatime-1.2.12/wakatime-master/wakatime/packages/urllib3/connectionpool.py\", line 827, in _new_conn\\n raise SSLError(\"Can\\'t connect to HTTPS URL because the SSL \"\\nurllib3.exceptions.SSLError: Can\\'t connect to HTTPS URL because the SSL module is not available.\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/Users/ricokahler/.vscode/extensions/wakatime.vscode-wakatime-1.2.12/wakatime-master/wakatime/packages/requests/adapters.py\", line 440, in send\\n timeout=timeout\\n File \"/Users/ricokahler/.vscode/extensions/wakatime.vscode-wakatime-1.2.12/wakatime-master/wakatime/packages/urllib3/connectionpool.py\", line 639, in urlopen\\n _stacktrace=sys.exc_info()[2])\\n File \"/Users/ricokahler/.vscode/extensions/wakatime.vscode-wakatime-1.2.12/wakatime-master/wakatime/packages/urllib3/util/retry.py\", line 388, in increment\\n raise MaxRetryError(_pool, url, error or ResponseError(cause))\\nurllib3.exceptions.MaxRetryError: 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.\"))\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/Users/ricokahler/.vscode/extensions/wakatime.vscode-wakatime-1.2.12/wakatime-master/wakatime/api.py\", line 111, in send_heartbeats\\n verify=ssl_verify)\\n File \"/Users/ricokahler/.vscode/extensions/wakatime.vscode-wakatime-1.2.12/wakatime-master/wakatime/packages/requests/sessions.py\", line 555, in post\\n return self.request(\\'POST\\', url, data=data, json=json, **kwargs)\\n File \"/Users/ricokahler/.vscode/extensions/wakatime.vscode-wakatime-1.2.12/wakatime-master/wakatime/packages/requests/sessions.py\", line 508, in request\\n resp = self.send(prep, **send_kwargs)\\n File \"/Users/ricokahler/.vscode/extensions/wakatime.vscode-wakatime-1.2.12/wakatime-master/wakatime/packages/requests/sessions.py\", line 618, in send\\n r = adapter.send(request, **kwargs)\\n File \"/Users/ricokahler/.vscode/extensions/wakatime.vscode-wakatime-1.2.12/wakatime-master/wakatime/packages/requests/adapters.py\", line 506, in send\\n raise SSLError(e, request=request)\\nwakatime.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.\"))\\n'}" }
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:19 (9 by maintainers)
Top Results From Across the Web
Requests (Caused by SSLError("Can't connect to HTTPS URL ...
Requests (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.") Error in PyCharm requesting website.
Read more >Python "SSLError("Can't connect to HTTPS URL because the ...
Python "SSLError("Can't connect to HTTPS URL because the SSL module is not available. ")': /simple/docutils/" - Unix & Linux Stack Exchange. ...
Read more >How to solve SSLError (SSL is not available) - YouTube
This video guides user to solve the SSL error while flask installation. Here this video provides the ... Your browser can't play this...
Read more >pip is configured with locations that require TLS/SSL ... - GitHub
... Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.
Read more >SSLError("Can't connect to HTTPS URL because the SSL ...
I get SSL error. I'm able to manually run those same functions from the python virtual environment and everything works perfect. Seems like...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Possibly fixed with v13.0.4 of wakatime as long as one of the supported SSL versions is available on your machine:
For me, openssl was already installed but I had the same issue. I then issued a
brew install openssl
command and restarted vscode and I was back in business.