Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection Issues #66

Open
UranusPeregrine opened this issue May 15, 2024 · 4 comments
Open

Connection Issues #66

UranusPeregrine opened this issue May 15, 2024 · 4 comments

Comments

@UranusPeregrine
Copy link

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
Copy link
Owner

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

@didotb
Copy link
Contributor

didotb commented May 16, 2024

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
Copy link
Author

@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
Copy link
Contributor

didotb commented May 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants