如何在Windows 10上修复Discord Bot的SSL错误 [英] How to Fix SSL Error on Windows 10 for Discord Bot
本文介绍了如何在Windows 10上修复Discord Bot的SSL错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个Discord机器人,我已经在Windows 10 VM上运行了几个月,昨天它停止工作并出现以下错误:
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)')]
我在网上找到的唯一修补程序是针对MacOS的,涉及运行.command文件.
The only fix I've found online is for MacOS which involves running a .command file.
注意:僵尸程序可以在我的主PC上运行,但不能在我的辅助PC或任何VM上运行.
Note: The bot can be run on my main PC, but it will not run on my secondary PC or any of my VMs.
任何帮助将不胜感激.
谢谢!
推荐答案
我在浏览器中打开discordapp.com,它突然起作用了.
I opened discordapp.com in my browser and it suddenly worked.
这篇关于如何在Windows 10上修复Discord Bot的SSL错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文