Open UnlishedTen8 opened 1 month ago
Normally, if you search by keywords among the issues you can see some results that could be helpful.
In this case the error class SSLCertVerificationError
is pretty unique, so you have this for example: #593.
Check messages at the end if it helps.
Normally, if you search by keywords among the issues you can see some results that could be helpful. In this case the error class
SSLCertVerificationError
is pretty unique, so you have this for example: #593. Check messages at the end if it helps.
Already went through all of them. none worked
Normally, if you search by keywords among the issues you can see some results that could be helpful. In this case the error class
SSLCertVerificationError
is pretty unique, so you have this for example: #593. Check messages at the end if it helps.Already went through all of them. none worked
I'm getting the same errors above on all 2.x releases (windows 10). The 1.9.7 release works....
pip3 install --upgrade streamrip==1.9.7
Maybe something from here helps to track down the problem: https://stackoverflow.com/questions/51390968/python-ssl-certificate-verify-error. Don't have a Mac to test it, so maybe the project author can reproduce it, and probably the full debug log would be needed. FIY you can attach a log file directly here in the message.
I'd try with verify=False
but not sure at which point and if aiohttp has that option...
Describe the bug
rip url https://www.qobuz.com/us-en/album/am-i-okay-megan-moroney/zn9aq4gira2da [03:53:37] INFO App id/secrets not found, fetching qobuz.py:157 ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ C:\Users\UnlishedTen8\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiohttp\connecto │ │ r.py:1025 in _wrap_create_connection │ │ │ │ 1022 │ │ │ async with ceil_timeout( │ │ 1023 │ │ │ │ timeout.sock_connect, ceil_threshold=timeout.ceil_threshold │ │ 1024 │ │ │ ): │ │ ❱ 1025 │ │ │ │ return await self._loop.create_connection(*args, **kwargs) │ │ 1026 │ │ except cert_errors as exc: │ │ 1027 │ │ │ raise ClientConnectorCertificateError(req.connection_key, exc) from exc │ │ 1028 │ │ except ssl_errors as exc: │ │ │ │ C:\Users\UnlishedTen8\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py:1113 in │ │ create_connection │ │ │ │ ... 2 frames hidden ... │ │ │ │ C:\Users\UnlishedTen8\AppData\Local\Programs\Python\Python311\Lib\asyncio\sslproto.py:560 in │ │ _do_handshake │ │ │ │ C:\Users\UnlishedTen8\AppData\Local\Programs\Python\Python311\Lib\ssl.py:979 in do_handshake │ │ │ │ 976 │ │ │ 977 │ def do_handshake(self): │ │ 978 │ │ """Start the SSL/TLS handshake.""" │ │ ❱ 979 │ │ self._sslobj.do_handshake() │ │ 980 │ │ │ 981 │ def unwrap(self): │ │ 982 │ │ """Start the SSL shutdown handshake.""" │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1006)
The above exception was the direct cause of the following exception:
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ in _run_module_as_main:198 │ │ in _run_code:88 │ │ │ │ ... 22 frames hidden ... │ │ │ │ C:\Users\UnlishedTen8\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiohttp\connecto │ │ r.py:1226 in _create_direct_connection │ │ │ │ 1223 │ │ │ ) │ │ 1224 │ │ │ │ │ 1225 │ │ │ try: │ │ ❱ 1226 │ │ │ │ transp, proto = await self._wrap_create_connection( │ │ 1227 │ │ │ │ │ self._factory, │ │ 1228 │ │ │ │ │ host, │ │ 1229 │ │ │ │ │ port, │ │ │ │ C:\Users\UnlishedTen8\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiohttp\connecto │ │ r.py:1027 in _wrap_create_connection │ │ │ │ 1024 │ │ │ ): │ │ 1025 │ │ │ │ return await self._loop.create_connection(*args, **kwargs) │ │ 1026 │ │ except cert_errors as exc: │ │ ❱ 1027 │ │ │ raise ClientConnectorCertificateError(req.connection_key, exc) from exc │ │ 1028 │ │ except ssl_errors as exc: │ │ 1029 │ │ │ raise ClientConnectorSSLError(req.connection_key, exc) from exc │ │ 1030 │ │ except OSError as exc: │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ ClientConnectorCertificateError: Cannot connect to host play.qobuz.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1006)')]
Command Used
Debug Traceback
Config File
Operating System
Windows 10
streamrip version
2.0.5
Screenshots and recordings
No response
Additional context
No response