R
Railway9mo ago
quNi

Error Connecting to Discord Gateway

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?
Solution:
Thank you. I redeployed it to a new box and now it works 🤙🏼
Jump to solution
5 Replies
Percy
Percy9mo ago
Project ID: dd6e5995-7093-4b60-87a7-ca9defaf65b7
quNi
quNi9mo ago
dd6e5995-7093-4b60-87a7-ca9defaf65b7
Brody
Brody9mo ago
not a networking issue, but it's likely that your service landed on a box that has an IP banned by discord
Solution
quNi
quNi9mo ago
Thank you. I redeployed it to a new box and now it works 🤙🏼
Brody
Brody9mo ago
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
Want results from more Discord servers?
Add your server