R
Railway•6mo 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•6mo ago
Project ID: N/A
Brody
Brody•6mo ago
can you go into more details please? "not reaching railway backend" is not too helpful
StonkStoic
StonkStoicOP•6mo 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•6mo ago
may i know your geographical location?
StonkStoic
StonkStoicOP•6mo ago
The server is singapore
Brody
Brody•6mo ago
Im asking for your location, not the server
StonkStoic
StonkStoicOP•6mo ago
India
Brody
Brody•6mo ago
are you able to reach the backend?
StonkStoic
StonkStoicOP•6mo ago
7073773c-bae3-4648-b179-72dda4777e8b is the project ID Yes
Brody
Brody•6mo ago
where are the users located that cant access the backend?
StonkStoic
StonkStoicOP•6mo ago
Northern India
Brody
Brody•6mo ago
they are likely behind some kind of local firewall
StonkStoic
StonkStoicOP•6mo ago
How can that be bypassed?
Brody
Brody•6mo ago
they would need to use a VPN
StonkStoic
StonkStoicOP•6mo ago
issues suddenly come up. for a long time they were able to login, suddenly they are unable to access
Brody
Brody•6mo ago
theres nothing railway can do about users who are behind a firewall
StonkStoic
StonkStoicOP•6mo ago
can you guess why they would face this after being able to sign in once?
Brody
Brody•6mo 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
StonkStoicOP•6mo ago
Thanks for your help!!
Brody
Brody•6mo ago
im sorry you are facing this but it would be out of the control of railway
StonkStoic
StonkStoicOP•6mo 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•6mo ago
^
Adam
Adam•6mo 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
StonkStoicOP•6mo ago
Okay. Any way to verify this issue?
Adam
Adam•6mo ago
Test with a VPN and report back
StonkStoic
StonkStoicOP•6mo 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
StonkStoicOP•6mo ago
This request is not resolving plus some others
Brody
Brody•6mo ago
please be more specific when you say not resolving as that could mean many different things
StonkStoic
StonkStoicOP•6mo ago
getting error ERR_NAME_NOT_RESOLVED on user's webui console
Brody
Brody•6mo 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•6mo ago
Got solved by changing the backend url from railway domain name to ours
StonkStoic
StonkStoicOP•6mo ago
Thanks for all the help
Want results from more Discord servers?
Add your server