3 days ago
I've deployed a Django backend on Railway, and the generated URL returns a 404 error on access. However, no logs are generated in the service dashboard, which suggests the request isn’t reaching my app container. I’ve already verified port binding (0.0.0.0:$PORT
), disabled ad blockers, and confirmed it's not a CORS or CSRF issue. It works on some networks (like Airtel) but fails on others. Any idea what could cause this edge-level routing failure?
31 Replies
3 days ago
Hey there! We've found the following might help you get unblocked faster:
🧵 Internal Networking Issue: Prometheus Cannot Connect to Django App Despite Correct Configuration
🧵 Application failed to respond after successful deployment - FastAPI
If you find the answer from one of these, please let us know by solving the thread!
3 days ago
No this doesn't help.
3 days ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 3 days ago
2 days ago
Can you please confirm if you configure healthcheckup endpoint, is it working? https://station.railway.com/questions/node-js-service-failing-to-deploy-with-s-dc58e402#mk2w
2 days ago
Yes the endpoints are working with certain ISPs like airtel and others.
These are updated endpoints
https://choolhachawka-production.up.railway.app/
a day ago
Hello,
Can you please provide a screenshot of your browser window when you open that URL that you say returns a 404 for you?
himanshu-sharmav
this is the error
a day ago
Himanshu, can you confirm whether you are only seeing this error on Mozilla Firefox, or any other browser too? If yes, then please provide of the same browser window too, & provide the public networking snippet of the Railway deployment
a day ago
It isn't just on mozilla, for instance this is the screenshot of chrome. Also the public networking screenshots are attached
Attachments
himanshu-sharmav
It isn't just on mozilla, for instance this is the screenshot of chrome. Also the public networking screenshots are attached
a day ago
Oh, let me have a look. Which ISP is posing issues, specifically? Because I tried it with 2 ISPs, and it worked fine
Could you provide the initial configuration lines for your server
himanshu-sharmav
It isn't just on mozilla, for instance this is the screenshot of chrome. Also the public networking screenshots are attached
a day ago
Himanshu, the best thing to bypass this ISP constraint is to use CUSTOM DOMAINS (sub-domain to be specific)
You can refer to my post to get started: https://station.railway.com/questions/dns-configuration-issue-for-custom-domai-10696e8a#fcrf
a day ago
To be specific with JIO , and many wifi routers.
clashing
Himanshu, the best thing to bypass this ISP constraint is to use CUSTOM DOMAINS (sub-domain to be specific)You can refer to my post to get started: https://station.railway.com/questions/dns-configuration-issue-for-custom-domai-10696e8a#fcrf
a day ago
Do let me know if that helps. Its the only resort now
a day ago
Hi. Are you able to run this command and share the output with me?
bash <(curl -sL https://gist.githubusercontent.com/half0wl/6763f8e20bca149c131324a8546268ab/raw/ac6be4db78aebb2e70b2537f0ff03e253c0786c1/rlwy-route-debug.sh)
You can paste it here, or email ray@railway.com if you'd like to keep this thread public and the information private.
Thanks!
21 hours ago
I own the domain choolhachowka.com and the cname is set to it for the frontend deployed to vercel so as a custom domain like dev-apichoolhachowka.com can I use it by defining on custom domain in railway and setting the cname or have to buy another?
21 hours ago
https://station.railway.com/questions/dns-configuration-issue-for-custom-domai-10696e8a#fcrf
As mentioned in this post:
Create a subdomain like: dev-api.choolhachowka.com (subdomain & the domain should be separated by a dot)
For the deployed service in Railway, select it, go to Settings -> Public Networking -> Add Custom Domain -> Provide the subdomain (without https or www) -> Provide the correct PORT
Then a CNAME record would be shown to you, its key would be the subdomain name & there would be a unique value. Copy the @DNS record, and after sometime the same would be fetched by the Rilway deployment.
Do refer the post that I linked here, it contains everything. I hope that helps you
21 hours ago
when I am using dev-apichoolhachowka.com the cname I added isn't gonna verify but if I do with choolhachowka.com which I own it works.
himanshu-sharmav
when I am using dev-apichoolhachowka.com the cname I added isn't gonna verify but if I do with choolhachowka.com which I own it works.
21 hours ago
It should be dev-api.choolhachowka.com (dot should be there between the subdomain name and domain), you are missing that
Please provide the screenshot of the domain where you have the subdomain being listed. It's a straight-forward process
clashing
It should be dev-api.choolhachowka.com (dot should be there between the subdomain name and domain), you are missing thatPlease provide the screenshot of the domain where you have the subdomain being listed. It's a straight-forward process
21 hours ago
Do let me know once you are done with that
20 hours ago
Yaa the custom domain link thing works, now it doesn't block it.
Thanks for the help.
clashing
https://station.railway.com/questions/dns-configuration-issue-for-custom-domai-10696e8a#fcrfAs mentioned in this post:Create a subdomain like: dev-api.choolhachowka.com (subdomain & the domain should be separated by a dot)For the deployed service in Railway, select it, go to Settings -> Public Networking -> Add Custom Domain -> Provide the subdomain (without https or www) -> Provide the correct PORTThen a CNAME record would be shown to you, its key would be the subdomain name & there would be a unique value. Copy the @DNS record, and after sometime the same would be fetched by the Rilway deployment.Do refer the post that I linked here, it contains everything. I hope that helps you
20 hours ago
Great Himanshu. But I am sure, that the referenced post of mine helped you in getting that stuff working. So, you have to mark that as the solution
clashing
https://station.railway.com/questions/dns-configuration-issue-for-custom-domai-10696e8a#fcrfAs mentioned in this post:Create a subdomain like: dev-api.choolhachowka.com (subdomain & the domain should be separated by a dot)For the deployed service in Railway, select it, go to Settings -> Public Networking -> Add Custom Domain -> Provide the subdomain (without https or www) -> Provide the correct PORTThen a CNAME record would be shown to you, its key would be the subdomain name & there would be a unique value. Copy the @DNS record, and after sometime the same would be fetched by the Rilway deployment.Do refer the post that I linked here, it contains everything. I hope that helps you
20 hours ago
Can't you undo that?
If not, I am sure the coordinators/admins will mark the post which I have tagged here as the solution as it helped you
18 hours ago
Listen its still not working with some ISPs like JIO
18 hours ago
What's the url!
17 hours ago
Brody please mark clashing solution as accepted.
Status changed to Open chandrika • about 16 hours ago
himanshu-sharmav
Brody please mark clashing solution as accepted.
16 hours ago
Hey Himanshu, I've opened the bounty up again, you can accept the solution you'd like
Status changed to Solved brody • about 16 hours ago
chandrika
Hey Himanshu, I've opened the bounty up again, you can accept the solution you'd like
14 hours ago
The thread says it is solved I can't see the option to bounty up.
Status changed to Awaiting Railway Response Railway • about 14 hours ago
Status changed to Solved brody • about 11 hours ago