App starts successfully but every request returns 502
automateyobusines
HOBBYOP

3 months ago

  • My service deploys successfully and logs show the server starting and listening on a port.

  • The built frontend is found (logs show dist/public and index.html).

  • The internal health check endpoint returns 200.

  • However, any request from the browser (e.g. /, /favicon.ico, /api/test-simple) returns 502.

  • When I hit these URLs, Deploy Logs do not show any new entries – only the initial startup logs and the health check.

  • This makes me think the HTTP traffic is not reaching the running app, even though the service is marked healthy.

Question:

Could you help check if the domain is correctly wired to this service and port, or if there’s any proxy/routing issue on Railway’s side that would explain 502s despite a healthy container?

Solved$10 Bounty

Pinned Solution

Did you make sure the port the public URL is pointing to is the port your application is listening to?

3 Replies

Railway
BOT

3 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


Did you make sure the port the public URL is pointing to is the port your application is listening to?


0x5b62656e5d

Did you make sure the port the public URL is pointing to is the port your application is listening to?

automateyobusines
HOBBYOP

3 months ago

yes that was the problem, thanks


Status changed to Solved passos 3 months ago


Loading...