R
Railway•14mo ago
sam

Discord Bot not working on US East but works on other regions

I'm having a very weird problem where my Discord bot won't respond to any slash commands if I set the region of my deployment to US East, but if I set it to EU West or US West it works fine. The bot doesn't even appear to be logging in.
Solution:
my guess would be discord has blocked some of the ips from that region
Jump to solution
14 Replies
Percy
Percy•14mo ago
Project ID: 9c673d8b-9e4b-40cf-ad0b-41630b664b6b
sam
samOP•14mo ago
9c673d8b-9e4b-40cf-ad0b-41630b664b6b
Solution
Brody
Brody•14mo ago
my guess would be discord has blocked some of the ips from that region
sam
samOP•14mo ago
right, is there any work around other than using another region?
Brody
Brody•14mo ago
wait, do you see any logs?
sam
samOP•14mo ago
I'll see just putting region back to US East I don't seem to get anything back on catching errors for bot.login() but I don't seem to get anything back on the promise either
Brody
Brody•14mo ago
yeah gotta be discord blocking the ip where is discord's servers?
sam
samOP•14mo ago
so i just put a very basic http fetch into discord.com/api/users/@me and it returned error 429 one of the affected IPs is 35.199.34.245 probably a noisy neighbour on that server im guessing
Brody
Brody•14mo ago
yeah ips are shared so not much railway can do
sam
samOP•14mo ago
yeah no worries, just the inevitable. will swap region for now to US West, but this has been going on for 12+ hours
Brody
Brody•14mo ago
hopefully railway will be able to offer static ips so you can avoid this in the future
sam
samOP•14mo ago
hopefully 🤞 thanks for your help, appreciate it
Brody
Brody•14mo ago
they would cost extra though, just wanna be transparent
sam
samOP•14mo ago
would be worth it for me if it prevents any downtime due to ip ratelimiting
Want results from more Discord servers?
Add your server