SSL fails sometimes on segment (non-debian OS / Mac)
See original GitHub issueThe Issue
Saw this on Windows 7/Mac VMs and another user running Linux-4.19.20-1-MANJARO-x86_64-with-arch-Manjaro-Linux
. Don’t see any errors from the exchange rate manager, and I’m able to download USD priced videos. This is not the case on Mac/other distros…the exchange rate manager fails so no paid content can be downloaded.
It seems to be fine on Win 10 / Ubuntu.
Traceback (most recent call last):
File "site-packages/aiohttp/connector.py", line 924, in _wrap_create_connection
File "asyncio/base_events.py", line 975, in create_connection
File "asyncio/base_events.py", line 1003, in _create_connection_transport
File "asyncio/sslproto.py", line 526, in data_received
File "asyncio/sslproto.py", line 189, in feed_ssldata
File "ssl.py", line 763, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "lbrynet/extras/daemon/analytics.py", line 84, in _post
File "site-packages/aiohttp/client.py", line 1043, in __aenter__
File "site-packages/aiohttp/client.py", line 476, in _request
File "site-packages/aiohttp/connector.py", line 522, in connect
File "site-packages/aiohttp/connector.py", line 854, in _create_connection
File "site-packages/aiohttp/connector.py", line 992, in _create_direct_connection
File "site-packages/aiohttp/connector.py", line 974, in _create_direct_connection
File "site-packages/aiohttp/connector.py", line 927, in _wrap_create_connection
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host api.segment.io:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)')]
System Configuration
- LBRY Daemon version:
- LBRY App version:
- LBRY Installation ID:
- Operating system:
Anything Else
Screenshots
Internal Use
Acceptance Criteria
Definition of Done
- Tested against acceptance criteria
- Tested against the assumptions of user story
- The project builds without errors
- Unit tests are written and passing
- Tests on devices/browsers listed in the issue have passed
- QA performed & issues resolved
- Refactoring completed
- Any configuration or build changes documented
- Documentation updated
- Peer Code Review performed
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Mac OS Mail: An SSL error has occurred an…
An SSL error has occurred and a secure connection to the server cannot be made. I check settings, logs, etc. and check against...
Read more >Mac App Store “An SSL error has occurred and a ... - OSXDaily
An SSL error has occurred and a secure connection to the server cannot be made.” This problem is usually because of an issue...
Read more >macos - Mac OSX python ssl.SSLError: [SSL ... - Stack Overflow
I have Python 3.7 in my machine. Check this link - Fixing CERTIFICATE_VERIFY_FAILED error when trying requests-html out on Mac · Share.
Read more >How to fix ERR_SSL_BAD_RECORD_MAC_ALERT error? [5 ...
Facing ERR_SSL_BAD_RECORD_MAC_ALERT error when you try to access a web address, Right? Here ClickSSL guide can help you.
Read more >How to Fix NET::ERR_CERT_REVOKED Error in Chrome, IE ...
A brief guide to fix ERR Cert revoked Error in Chrome, IE, Mac and Windows : NET::ERR_CERT_REVOKED Error. SSL (Secure Socket Layer) security...
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
I’m getting this as well during my testing with lbry-desktop 0.29.1 (which uses lbry 0.32.3) on Solus (Linux). Attempted to update my local
python-aiohttp
to check if that was the issue and it was not.This will be a blocker for deploying the latest lbry-desktop on Solus, since it prevents the use of the client entirely.
fixed by https://github.com/lbryio/lbry/pull/1965