#Error Connecting to Discord Gateway

6 messages · Page 1 of 1 (latest)

hollow jacinth
#

My Bot gets this error when trying to connect to Discord.

error connecting to gateway wss://gateway.discord.gg/?v=9&encoding=json, dial tcp: lookup gateway.discord.gg on 8.8.8.8:53: read udp 172.17.0.102:54949->8.8.8.8:53: i/o timeout

It works fine when I run this locally. Might this be a network issue on railway?

lean briarBOT
#

Project ID: dd6e5995-7093-4b60-87a7-ca9defaf65b7

hollow jacinth
#

dd6e5995-7093-4b60-87a7-ca9defaf65b7

frail hazel
#

not a networking issue, but it's likely that your service landed on a box that has an IP banned by discord

hollow jacinth
frail hazel
#

awesome, there's not too much railway can do about this kind of thing right now since these are shared ips, once railway comes out with static ip add-ons then this gamble won't be needed