8000 Some SSL certificate error? · Issue #706 · DevilXD/TwitchDropsMiner · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Some SSL certificate error? #706
Open
@marcspc

Description

@marcspc

twitch drops works for a while and randomly returns next error:

08:30:17: Watching: Goldeniums
08:30:18: ERROR: Exception in _watch_loop task
08:30:18: Traceback (most recent call last):
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\env\Lib\site-packages\aiohttp\connector.py", line 1122, in _wrap_create_connection
08:30:18:     return await self._loop.create_connection(*args, **kwargs, sock=sock)
08:30:18:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:30:18:   File "C:\Users\O\AppData\Local\Programs\Python\Python313\Lib\asyncio\base_events.py", line 1187, in create_connection
08:30:18:     transport, protocol = await self._create_connection_transport(
08:30:18:                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:30:18:     ...<2 lines>...
08:30:18:         ssl_shutdown_timeout=ssl_shutdown_timeout)
08:30:18:         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:30:18:   File "C:\Users\O\AppData\Local\Programs\Python\Python313\Lib\asyncio\base_events.py", line 1220, in _create_connection_transport
08:30:18:     await waiter
08:30:18:   File "C:\Users\O\AppData\Local\Programs\Python\Python313\Lib\asyncio\sslproto.py", line 581, in _on_handshake_complete
08:30:18:     raise handshake_exc
08:30:18:   File "C:\Users\O\AppData\Local\Programs\Python\Python313\Lib\asyncio\sslproto.py", line 563, in _do_handshake
08:30:18:     self._sslobj.do_handshake()
08:30:18:     ~~~~~~~~~~~~~~~~~~~~~~~~~^^
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\env\Lib\site-packages\truststore\_api.py", line 95, in do_handshake
08:30:18:     _verify_peercerts(self, server_hostname=self.server_hostname)
08:30:18:     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\env\Lib\site-packages\truststore\_api.py", line 331, in _verify_peercerts
08:30:18:     _verify_peercerts_impl(
08:30:18:     ~~~~~~~~~~~~~~~~~~~~~~^
08:30:18:         sock_or_sslobj.context, cert_bytes, server_hostname=server_hostname
08:30:18:         ^^^^^^^^^^^^^^^^^^^^^^^
CDCD
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:30:18:     )
08:30:18:     ^
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\env\Lib\site-packages\truststore\_windows.py", line 406, in _verify_peercerts_impl
08:30:18:     raise e from None
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\env\Lib\site-packages\truststore\_windows.py", line 376, in _verify_peercerts_impl
08:30:18:     _get_and_verify_cert_chain(
08:30:18:     ~~~~~~~~~~~~~~~~~~~~~~~~~~^
08:30:18:         ssl_context,
08:30:18:         ^^^^^^^^^^^^
08:30:18:     ...<5 lines>...
08:30:18:         chain_flags=chain_flags,
08:30:18:         ^^^^^^^^^^^^^^^^^^^^^^^^
08:30:18:     )
08:30:18:     ^
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\env\Lib\site-packages\truststore\_windows.py", line 499, in _get_and_verify_cert_chain
08:30:18:     raise err from None
08:30:18: ssl.SSLCertVerificationError: ('Se procesó correctamente una cadena de certificados, pero termina en un certificado de raíz no compatible con el proveedor de confianza.',)
08:30:18: 
08:30:18: The above exception was the direct cause of the following exception:
08:30:18: 
08:30:18: Traceback (most recent call last):
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\utils.py", line 132, in wrapper
08:30:18:     await afunc(*args, **kwargs)
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\twitch.py", line 889, in _watch_loop
08:30:18:     succeeded: bool = await channel.send_watch()
08:30:18:                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\channel.py", line 427, in send_watch
08:30:18:     async with self._twitch.request("HEAD", stream_chunk_url) as head_response:
08:30:18:                ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
08:30:18:   File "C:\Users\O\AppData\Local\Programs\Python\Python313\Lib\contextlib.py", line 214, in __aenter__
08:30:18:     return await anext(self.gen)
08:30:18:            ^^^^^^^^^^^^^^^^^^^^^
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\twitch.py", line 1312, in request
08:30:18:     response = await self.gui.coro_unless_closed(
08:30:18:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:30:18:         session.request(method, url, **kwargs)
08:30:18:         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:30:18:     )
08:30:18:     ^
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\gui.py", line 2205, in coro_unless_closed
08:30:18:     return await next(iter(done))
08:30:18:            ^^^^^^^^^^^^^^^^^^^^^^
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\env\Lib\site-packages\aiohttp\client.py", line 1412, in throw
08:30:18:     return self._coro.throw(*args, **kwargs)
08:30:18:            ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\env\Lib\site-packages\aiohttp\client.py", line 703, in _request
08:30:18:     conn = await self._connector.connect(
08:30:18:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:30:18:         req, traces=traces, timeout=real_timeout
08:30:18:         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:30:18:     )
08:30:18:     ^
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\env\Lib\site-packages\aiohttp\connector.py", line 548, in connect
08:30:18:     proto = await self._create_connection(req, traces, timeout)
08:30:18:             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\env\Lib\site-packages\aiohttp\connector.py", line 1056, in _create_connection
08:30:18:     _, proto = await self._create_direct_connection(req, traces, timeout)
08:30:18:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\env\Lib\site-packages\aiohttp\connector.py", line 1406, in _create_direct_connection
08:30:18:     raise last_exc
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\env\Lib\site-packages\aiohttp\connector.py", line 1375, in _create_direct_connection
08:30:18:     transp, proto = await self._wrap_create_connection(
08:30:18:                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:30:18:     ...<7 lines>...
08:30:18:     )
08:30:18:     ^
08:30:18:   File "E:\MIS COSAS\TwitchDropsMiner-dev-build\env\Lib\site-packages\aiohttp\connector.py", line 1124, in _wrap_create_connection
08:30:18:     raise ClientConnectorCertificateError(req.connection_key, exc) from exc
08:30:18: aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host video-edge-234aaa.mad02.abs.hls.ttvnw.net:443 ssl:True [SSLCertVerificationError: ('Se procesó correctamente una cadena de certificados, pero termina en un certificado de raíz no compatible con el proveedor de confianza.',)]
08:30:18: Exiting...
08:30:18: 
08:30:18: Application Terminated.
08:30:18: Close the window to exit the application.

restarting the program sometimes make it run for some hours and will return the same error after a while or maybe after some days, I had this problem since some weeks ago so I updated to v16 but the problem still happens

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help / IssueGeneral or specific issues that just require some additional assistance to solve

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0