Forums

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

My discord bot cannot connect to the server and I don't know why. Same code as local test

It sounds like the code you're using is trying to connect directly to discord, bypassing the proxy that free accounts need to use to access the external Internet. If you can tell it to use the proxy then it should work if it's using HTTP or HTTPS. However, the proxy doesn't support WebSockets, so if that's the protocol you're using then it won't work.