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

SSL Connector Issue #2

Closed
SubhamBurnwal opened this issue Nov 3, 2020 · 2 comments
Closed

SSL Connector Issue #2

SubhamBurnwal opened this issue Nov 3, 2020 · 2 comments

Comments

@SubhamBurnwal
Copy link

I am not sure whether this is an issue my settings or not, but I get this exception:
File "E:\INSTALLED\Python\lib\ssl.py", line 944, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1108)

which is the direct cause of the following exception:

File "E:\INSTALLED\Python\lib\site-packages\aiohttp\connector.py", line 938, in _wrap_create_connection
raise ClientConnectorCertificateError(
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host discord.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1108)')]

I could just turn ssl to False but that would be very unsafe. I have no idea how to proceed.

@agubelu
Copy link
Owner

agubelu commented Nov 4, 2020

The certificate for discord.com seems to be valid as of right now, so it may be due to an expired intermediate or root certificate on your end. See Rapptz/discord.py#4159 for possible solutions.

@agubelu
Copy link
Owner

agubelu commented Dec 13, 2020

Closed due to inactivity

@agubelu agubelu closed this as completed Dec 13, 2020
Dilekcn pushed a commit to Dilekcn/discord-bot-template that referenced this issue Feb 5, 2023
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

2 participants