Forums

Discord.py not connecting to discord servers.

Whenever I run my discord bot's python script, I get an error saying this

aiohttp.errors.ClientOSError: [Errno 111] Cannot connect to host discordapp.com:443 ssl:True [Can not connect to discordapp.com:443 [Connect call failed ('104.16.58.5', 443)]]

Any idea how to fix this?

Are you using the discord.py library? Unfortunately it uses an underlying websockets library that isn't proxy-aware, so it doesn't work from a free account :-(