Willy-JL / F95Checker

GNU General Public License v3.0
101 stars 16 forks source link

ClientConnectorSSLError #72

Closed DnkKng closed 11 months ago

DnkKng commented 1 year ago

Trying to refresh produces the following result. I'm not entirely sure, but it seems to have started with version 10.1. Moreover, previously added records are updated correctly, but with a "Misc" type, and the new ones just look like a thread name, with "Unchecked" type Traceback (most recent call last): File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\site-packages\aiohttp\connector.py", line 980, in _wrap_create_connection File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\asyncio\base_events.py", line 1112, in create_connection File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\asyncio\base_events.py", line 1145, in _create_connection_transport File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\asyncio\sslproto.py", line 574, in _on_handshake_complete File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\asyncio\sslproto.py", line 556, in _do_handshake File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\ssl.py", line 979, in do_handshake ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "D:\a\F95Checker\F95Checker\modules\utils.py", line 77, in coro_wrapper File "D:\a\F95Checker\F95Checker\modules\api.py", line 1028, in refresh File "D:\a\F95Checker\F95Checker\modules\api.py", line 673, in full_check File "D:\a\F95Checker\F95Checker\modules\api.py", line 200, in fetch File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\contextlib.py", line 204, in aenter File "D:\a\F95Checker\F95Checker\modules\api.py", line 120, in request File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\site-packages\aiohttp\client.py", line 1141, in aenter File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\site-packages\aiohttp\client.py", line 536, in _request File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\site-packages\aiohttp\connector.py", line 540, in connect File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\site-packages\aiohttp\connector.py", line 901, in _create_connection File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\site-packages\aiohttp\connector.py", line 1206, in _create_direct_connection File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\site-packages\aiohttp\connector.py", line 1175, in _create_direct_connection File "C:\hostedtoolcache\windows\Python\3.11.2\x64\Lib\site-packages\aiohttp\connector.py", line 984, in _wrap_create_connection aiohttp.client_exceptions.ClientConnectorSSLError: Cannot connect to host attachments.f95zone.to:443 ssl:False [[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:992)] 2023-04-06_115319 2023-04-06_115918

FaceCrap commented 1 year ago

If refresh currently fails, and you didn't get prompted to update, get the 10.2 version from the Latest Release page. That version fixes the Misc type and name display. I don't know if this also will fix the SSL error, but wouldn't be surprised if it did

DnkKng commented 1 year ago

Already have 10.2 version изображение Tried to clear the folder \AppData\Roaming\f95checker, but this only led to the fact that even the old entries stopped refreshing and got type "Uncheked". изображение

DnkKng commented 1 year ago

Tried to downgrade until version 9.6.2, didn't work. I am not an expert in Python, but simple search shows that the error may be in aiohttp module https://github.com/aio-libs/aiohttp/issues/4536#issuecomment-579740877 or in SSL certificates https://stackoverflow.com/questions/52805115/certificate-verify-failed-unable-to-get-local-issuer-certificate

Willy-JL commented 11 months ago

that error means that the server we are connecting to has too old of a ssl version. i can connect to f95zone just fine. what this leads me to believe is that you have an issue with your ISP, DNS or something else. do you normally use a VPN to browse f95zone? anything weird you do normally? either way this is not an issue with f95checker