-
Notifications
You must be signed in to change notification settings - Fork 194
Troubleshooting
Waldemar Quevedo edited this page Sep 9, 2020
·
2 revisions
If running into the following error in OSX
$ python3.8 examples/nats-sub -s tls://demo.nats.io:4443
Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)
An open stream object is being garbage collected; call "stream.close()" explicitly.
The following command can be used to install the missing certs:
/Applications/Python\ 3.8/Install\ Certificates.command
-- pip install --upgrade certifi
Collecting certifi
Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
|████████████████████████████████| 156 kB 2.2 MB/s
Installing collected packages: certifi
Attempting uninstall: certifi
Found existing installation: certifi 2019.11.28
Uninstalling certifi-2019.11.28:
Successfully uninstalled certifi-2019.11.28
Successfully installed certifi-2020.6.20