Are all US East deployments on the same machine/IP Address?
I'm building a web-app that uses Discord OAuth to authenticate users. I notice that whenever I deploy on US East, the authentication fails with the message:
Failed to obtain access token
. When I deploy on US West, everything works perfect. I've tried creating a new deployment of the same service in US East, same issue. I've also switched in between the two regions multiple times to sanity check, 100% success rate on US West, 0% success rate on US East.
My suspicion is Discord has banned railway's US East server due to abuse by some other customer
For additional context, ideally I'd like everything to be deployed on US East. We have several other services deployed on East, and the network hop between regions is pretty noticable when I deploy one of the services on West.7 Replies
Project ID:
7e366f2b-e93a-4eda-b2b1-aebfb9b8909d
7e366f2b-e93a-4eda-b2b1-aebfb9b8909d
Deployments in US east uses these IP addresses
https://utilities.up.railway.app/cidr-list?value=us-east4
so unless all of these IP addresses are blocked, I'm not sure if IP bans could be the reason
Additionally, it's extremely unlikely that Discord has banned GCP addresses
I'm not sure what the issue could be, but there's likely more at play than just the region
Discord, not github! & That's what I was thinking, but with my testing that's what it's looking like at the moment. Is there any way to confirm on railway's end?
Or is there any way for me to explicitly set the IP address of my deployment to one that railway supports, so I can at least cycle through them?
Unfortunately not really. If Discord had blocked Railway's US-East IP range, we would've heard about it from more users by now. You're the first
No, static IPs are not supported on Railway
You're on the Pro plan, I suggest bringing this up with the team. Please email [email protected] and they'll work through the issue with you
It seems it’s only authentication btw, my other services that are deployed in East also use discord’s api, not discord oauth, and work just fine