a year ago
Added a custom domain to the API service, but users from Pakistan are not receiving API responses. What could be the reason?
We’re not seeing any logs in the console, but the request times out with a ‘took too long to respond’ error. The API works correctly when accessed using a VPN from another country. It was functioning earlier and stopped recently
Pinned Solution
a year ago
pakistan is likely blocking .up.railway.app ; This isn't a Railway issue Railway cannot do anything about ISP-level blocks imposed by local firewalls, so you should add a custom domain (cname to your service) and front it with cloudflare so traffic bypasses the ISP-level block; that’s why you see no logs
9 Replies
a year ago
Can you describe a bit more? What HTTP error codes are they receiving? Are there any errors in your deployment logs?
0x5b62656e5d
Can you describe a bit more? What HTTP error codes are they receiving? Are there any errors in your deployment logs?
a year ago
We’re not seeing any logs in the console, but the request times out with a ‘took too long to respond’ error. The API works correctly when accessed using a VPN from another country. It was functioning earlier and stopped recently
0x5b62656e5d
Does it still work with a VPN? Or does it time out now?
a year ago
The APIs are not working from Pakistan, but they work correctly from other countries,
I’ve attached a screenshot showing the API response when accessed from Pakistan.
a year ago
pakistan is likely blocking .up.railway.app ; This isn't a Railway issue Railway cannot do anything about ISP-level blocks imposed by local firewalls, so you should add a custom domain (cname to your service) and front it with cloudflare so traffic bypasses the ISP-level block; that’s why you see no logs
Status changed to Solved brody • 11 months ago
ilyassbreth
pakistan is likely blocking **.**[**up.railway.app**](http://up.railway.app) ; This isn't a Railway issue Railway cannot do anything about ISP-level blocks imposed by local firewalls, so you should add a custom domain (cname to your service) and front it with cloudflare so traffic bypasses the ISP-level block; that’s why you see no logs
a year ago
used custom domain
Status changed to Awaiting Railway Response Railway • 11 months ago
a year ago
then pakistan is blocking or dropping the traffic at isp level (dns/ip/dpi), so it never reaches railway. proxy the domain through cloudflare (orange cloud on, different dns / edge) or it’ll keep timing out; vpn works because it exits pakistan first
ilyassbreth
then pakistan is blocking or dropping the traffic at isp level (dns/ip/dpi), so it never reaches railway. proxy the domain through cloudflare (orange cloud on, different dns / edge) or it’ll keep timing out; vpn works because it exits pakistan first
a year ago
My project has been hosted for the past three months and was working fine in Pakistan during that time. This issue started only today, which is why I’m confused
a year ago
Hello,
ilyassbreth is correct, your ISP is blocking you, not Railway. Unfortunately, there is nothing we can do on our side about the firewalls you are behind.
Status changed to Awaiting User Response Railway • 11 months ago
Status changed to Solved Anonymous • 11 months ago