R
Railwayβ€’4w ago
StonkStoic

Some user requests not reaching railway backend

Our main app is deployed on railway and for some users the requests don't even reach backend. Users have tried multiple accounts, devices and even internet connections. Is railway blocking some IPs? If yes how to unblock them?
Solution:
Got solved by changing the backend url from railway domain name to ours
Jump to solution
32 Replies
Percy
Percyβ€’4w ago
Project ID: N/A
Brody
Brodyβ€’4w ago
can you go into more details please? "not reaching railway backend" is not too helpful
StonkStoic
StonkStoicβ€’4w ago
Its very weird for us also. For some IPs it seems like the backend isn't responding or is inaccessible None of the backend requests seem to be reaching backend
Brody
Brodyβ€’4w ago
may i know your geographical location?
StonkStoic
StonkStoicβ€’4w ago
The server is singapore
Brody
Brodyβ€’4w ago
Im asking for your location, not the server
StonkStoic
StonkStoicβ€’4w ago
India
Brody
Brodyβ€’4w ago
are you able to reach the backend?
StonkStoic
StonkStoicβ€’4w ago
7073773c-bae3-4648-b179-72dda4777e8b is the project ID Yes
Brody
Brodyβ€’4w ago
where are the users located that cant access the backend?
StonkStoic
StonkStoicβ€’4w ago
Northern India
Brody
Brodyβ€’4w ago
they are likely behind some kind of local firewall
StonkStoic
StonkStoicβ€’4w ago
How can that be bypassed?
Brody
Brodyβ€’4w ago
they would need to use a VPN
StonkStoic
StonkStoicβ€’4w ago
issues suddenly come up. for a long time they were able to login, suddenly they are unable to access
Brody
Brodyβ€’4w ago
theres nothing railway can do about users who are behind a firewall
StonkStoic
StonkStoicβ€’4w ago
can you guess why they would face this after being able to sign in once?
Brody
Brodyβ€’4w ago
im sorry but i would not have an answer for why whoever is controlling the firewall they are behind has added railway to the block list
StonkStoic
StonkStoicβ€’4w ago
Thanks for your help!!
Brody
Brodyβ€’4w ago
im sorry you are facing this but it would be out of the control of railway
StonkStoic
StonkStoicβ€’4w ago
yes very frustrating for users and us πŸ™‚ Anyway we can verify this? redeploying would change IP and if user is able to sign in maybe that should confirm?
Brody
Brodyβ€’4w ago
^
Adam
Adamβ€’4w ago
Local firewall could be likely, but it's very weird that they were able to access the server and now they're not. I'll second Brody's suggestion to try a VPN, but come back if they're still unable to access it
StonkStoic
StonkStoicβ€’4w ago
Okay. Any way to verify this issue?
Adam
Adamβ€’4w ago
Test with a VPN and report back
StonkStoic
StonkStoicβ€’4w ago
curl 'https://dv-backend-production.up.railway.app/api/v0/auth' \ -H 'sec-ch-ua: "Google Chrome";v="125", "Chromium";v="125", "Not.A/Brand";v="24"' \ -H 'sec-ch-ua-mobile: ?0' \ -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36' \ -H 'Content-Type: application/json;charset=UTF-8' \ -H 'Access-Control-Allow-Origin: *' \ -H 'Accept: application/json, text/plain, /' \ -H 'Referer: https://www.desivocal.com
Desi Vocal: Generate HD Hindi voice overs in seconds.
Desi Vocal: Indian Voice overs in seconds. Text to speech hindi, Tamil voiceover for Audiobooks, Marketing, and Anchors.
StonkStoic
StonkStoicβ€’4w ago
This request is not resolving plus some others
Brody
Brodyβ€’4w ago
please be more specific when you say not resolving as that could mean many different things
StonkStoic
StonkStoicβ€’4w ago
getting error ERR_NAME_NOT_RESOLVED on user's webui console
Brody
Brodyβ€’4w ago
that seems like railway domains have been blocked by your DNS resolver, not exactly a firewall thing but still unfortunate all the same use cloudflare's 1.1.1.1 DNS resolver and report back
Solution
StonkStoic
StonkStoicβ€’4w ago
Got solved by changing the backend url from railway domain name to ours
StonkStoic
StonkStoicβ€’4w ago
Thanks for all the help