Jump to content

[Solved] Discord.py bot giving certificate error since 30 May


Recommended Posts

Hello, Discord bots written in python using discord.py module (idk what about other technologies) stopped working on 30 May - both on local PCs and on your hosting too - because of some certificate expiration. Solution for local Windows PCs is to start Internet Explorer as administrator, go to discord.com and install some certificate using lock icon on address bar. I have no idea how to fix this on a linux server though.


Here's one of stackoverflow posts:



Error text:

raise ClientConnectorCertificateError(
     aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to
     host discordapp.com:443 ssl:True [SSLCertVerificationError: 
    (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: 
    certificate has expired (_ssl.c:1108)')]

Here's article found by @sohamb03 on your discord server that might help:



I don't know if this helps, but in other stackoverflow post I found this without explanation:

Run Install Certificates.command bundled with your python installation


Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...