All services returning Not Found [CFN #0005] — Suspected DNS/CDN routing issue with Railway-generated domains
irshadgit
HOBBYOP

23 days ago

All Railway-generated public domains on our project are returning Not Found [CFN #0005] from Railway's CDN layer, despite services showing as healthy and running in the dashboard. This affects every service in the project simultaneously, which strongly suggests a DNS or CDN routing misconfiguration on Railway's infrastructure rather than an application issue.

Affected URLs (all Railway-generated domains):

https://matsya-farm-ai-ui-production.up.railway.app/

Error response received (via curl):

HTTP/1.1 404 Not Found

Content-Type: text/html; charset=iso-8859-1

Content-Length: 21

Not Found [CFN #0005]

All domains resolve to Railway's IP 64.29.151.221 (TCP connection succeeds), but Railway's proxy returns this 404 before the request ever reaches our containers. For HTTPS, the TLS handshake also fails on some URLs.

What we've confirmed:

  • Services are running and healthy in the Railway dashboard
  • Application logs show Next.js starting successfully on the correct port (8080)
  • Public networking is configured with port 8080 for the UI service
  • We are using Railway-generated *.up.railway.app domains — no custom DNS involved
  • Tried removing and re-adding the generated domains — same result
  • Tried generating fresh domains for new service deployments — same result
  • The issue affects ALL services in the project simultaneously

Suspicion: Since we are exclusively using Railway-generated domains (no custom DNS configuration on our end), the routing failure must originate within Railway's own CDN/proxy layer. The CFN layer is not mapping these *.up.railway.app subdomains to our running service backends. TCP connectivity to 64.29.151.221 succeeds, confirming Railway's servers are reachable, but the internal routing table appears to have no valid backend entries for any of our domains.

$10 Bounty

3 Replies

Railway
BOT

23 days ago

This is a known issue affecting services created before a platform migration. The fix is to go to each affected service's Settings, find the Networking section, enable Private Networking, and redeploy the service. This should resolve the 404 [CFN #0005] errors across all your services.


Status changed to Awaiting User Response Railway 23 days ago


irshadgit
HOBBYOP

23 days ago

Private networking is already enabled. I edited private networking deployed and then added public network again. Same issue is there.


Status changed to Awaiting Railway Response Railway 23 days ago


Railway
BOT

21 days ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway 21 days ago


irshadgit
HOBBYOP

17 days ago

I realized one more thing. This happens especially when tried the domain via Jio network both Jio wifi & jio mobile network only.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...