application does not respond with but server crashes with no error logs
sinscrit
PROOP

10 months ago

Hi, Not sure how to handle this. The application deploys fine. Also run fine under seemingly the same conditions on my local machine. However does not respond when attempting to access it. I cannot find any log that indicates a 500 error or something of that nature.

Solved

2 Replies

sinscrit
PROOP

10 months ago

from the CLI I get this
MacDark:sgcle_admin shinyqk$ railway logs --deployment

Starting Container

npm warn config production Use --omit=dev instead.

> mission-management-system@1.0.0 preview

> vite preview --host --port $PORT

➜ Local: http://localhost:3000/

Is there something else I can check?


echohack
EMPLOYEE

10 months ago

npm warn config production Use `--omit=dev` instead.
 
> mission-management-system@1.0.0 preview
> vite preview --host --port $PORT
 
  ➜  Local:   http://localhost:3000/
  ➜  Network: http://10.250.20.163:3000/
npm error path /app
npm error command failed
npm error signal SIGTERM
npm error command sh -c vite preview --host --port $PORT
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-04-28T00_34_39_113Z-debug-0.log

Hey sinscrit,

Have you tried to railway ssh into the box and view the full log?

I suspect your application is having trouble binding to ipv6 or the correct port and you may need to update your application. https://docs.railway.com/reference/errors/application-failed-to-respond#application-not-listening-on-the-correct-host-or-port


Status changed to Awaiting User Response Railway 11 months ago


Railway
BOT

7 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 7 months ago


Loading...