sayonari / twitchTransFreeNext

MIT License
222 stars 104 forks source link

Connection Issues #66

Open UranusPeregrine opened 6 months ago

UranusPeregrine commented 6 months ago

Greetings.

When I try to executable, I get this error.

aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host id.twitch.tv:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)')]

I check my OAUTH key to make sure it is correct but the error happens the same. Can you help me find the reason it is not verifying the certificate?

sayonari commented 6 months ago

Since that is not enough to determine the cause, please email me (sayonari@gmail.com) your config.py or show me a screen capture of a run with DEBUG = True.

didotb commented 6 months ago

What system do you have? Are you on Windows? Most common fix for this is to check your Time, make sure it is correct. TLS/SSL stops working correctly if your time is off by at least 1 hour.

If it doesn't work or your time is correct, check if you need to update your Root Certificates

UranusPeregrine commented 6 months ago

@sayonari の対応してありがとうございました。メールを送りました。

@didotb I am using Arch Linux for this. My date and time are accurate to the minute. I did not provide enough detail and I have pasted a screenshot of the error here. twitchtransfnerror

didotb commented 6 months ago

Are you running it inside virtualenv? It is still the same issue, your PC cannot verify twitch.tv certificate is legitimate, perhaps because your PC's CA Root store is outdated. There should be a way to update it via pacman or if using virtualenv you can copy your updated CA Root store to the virtualenv root store. Have more read about it here.