-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Cannot run discord bot, with SSL error. #5967
Comments
downgrade aiohttp to 3.6.3, discord.py's requirements.txt states aiohttp's version should not be 3.7.0 |
How would I go about doing that? |
you can downgrade with pip, something like pip install aiohttp==3.6.3 |
This solved it, ty. |
This was a bug in aiohttp 3.7.0 that was fixed in aiohttp 3.7.1. For task list usage, see https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/about-task-lists. |
Summary
Whenever I try to run my discord bot, I get an error from aiohttp, talking about how my SSL certificates are outdated. I tried this on a VPS and local, and same error everytime.
Reproduction Steps
I simply run by bot's
server.py
file, and get the error. I haven't changed anything and get this error.Expected Results
My bot to run normally.
Actual Results
My error:
raise ClientConnectorCertificateError( aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host discord.com:443 ssl:True [SSLCertVerificationError: (1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: IP address mismatch, certificate is not valid for '162.159.135.232'. (_ssl.c:1122)")]
Intents
N/A
Checklist
System Information
The text was updated successfully, but these errors were encountered: