aisstream / issues

8 stars 3 forks source link

SSLCertVerificationError #73

Closed cuasproject closed 9 months ago

cuasproject commented 9 months ago
async with websockets.connect(

File "/opt/asl-env/lib/python3.11/site-packages/websockets/legacy/client.py", line 629, in aenter return await self ^^^^^^^^^^ File "/opt/asl-env/lib/python3.11/site-packages/websockets/legacy/client.py", line 647, in await_impl_timeout return await self.await_impl() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/asl-env/lib/python3.11/site-packages/websockets/legacy/client.py", line 651, in await_impl _transport, _protocol = await self._create_connection() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1113, in create_connection transport, protocol = await self._create_connection_transport( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1146, in _create_connection_transport await waiter File "/usr/local/lib/python3.11/asyncio/sslproto.py", line 578, in _on_handshake_complete raise handshake_exc File "/usr/local/lib/python3.11/asyncio/sslproto.py", line 560, in _do_handshake self._sslobj.do_handshake() File "/usr/local/lib/python3.11/ssl.py", line 979, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1006)

cuasproject commented 9 months ago

Same here