I have a Discord bot I've been running on a Windows 10 VM for several months, and yesterday it stopped working with the following error:
raise ClientConnectorCertificateError(aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host discordapp.com:443
ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer cerificate (_ssl.c:1108)')]
The only fix I've found online is for MacOS which involves running a.command file.
Note: The bot can be run on my main PC, but it will not run on my secondary PC or any of my VMs.
Any help would be appreciated.
Thanks!
I opened discordapp.com in my browser and it suddenly worked.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.