Jump to content


Photo

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

discord discord.py bot python

  • Please log in to reply
5 replies to this topic

#1 gonzalo3

gonzalo3

    Newbie

  • Members
  • 5 posts

Posted 02 June 2020 - 01:01 AM

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:

https://stackoverflo...pired-ssl-c1108

 

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:

https://www.namechea...ing-may-30-2020

 

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

 



#2 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 20,593 posts
  • Gender:Male

Posted 02 June 2020 - 05:37 AM

Does it work now?



#3 flazepe

flazepe

    Rank X Member

  • Moderators
  • 1,571 posts
  • Gender:Male

Posted 02 June 2020 - 07:49 AM

https://github.com/R....py/issues/4146

#4 gonzalo3

gonzalo3

    Newbie

  • Members
  • 5 posts

Posted 11 June 2020 - 07:31 PM

Does it work now?

Yes, it works, thank you.



#5 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 20,593 posts
  • Gender:Male

Posted 11 June 2020 - 09:40 PM

All that needed to be done was update the python module certifi to the latest version.



#6 sohamb03

sohamb03

    Rank X Member

  • Moderators
  • 1,312 posts
  • Gender:Male
  • Location:India

Posted 12 June 2020 - 03:34 AM

Marking it as "Solved" then. :)





Also tagged with one or more of these keywords: discord, discord.py, bot, python

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users