Railway unexpectedly has many production crashes
outershpongolia
PROOP

a year ago

Hello, we have been experiencing deployment crashes on our production environment since yesterday. We haven't deployed anything for months and never had this issue before. Since yesterday, it happened many times.

This is the logged error:
/app/node_modules/axios/lib/core/settle.js:19

reject(new AxiosError(

^

AxiosError: Request failed with status code 404

at settle (/app/node_modules/axios/lib/core/settle.js:19:12)

at Unzip.handleStreamEnd (/app/node_modules/axios/lib/adapters/http.js:570:11)

at Unzip.emit (node:events:529:35)

at endReadableNT (node:internal/streams/readable:1400:12)

at processTicksAndRejections (node:internal/process/task_queues:82:21)

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

There are a few memory spikes and all exeptions are handled.

Is there anyway you can help us understand what is the issue? Thank you

Solved

3 Replies

a year ago

That axios error looks like it's timing out making a request upstream. Are y'all handling your error propagation or letting it bubble up to the nodejs event loop?

If the latter, makes sense it might crash depending on exception


Status changed to Awaiting User Response Railway about 1 year ago


outershpongolia
PROOP

a year ago

Maybe that was a problem. We had many catch blocks that were throwing errors. Can you just explain to me how this issue occured now and not showed before?


Status changed to Awaiting Railway Response Railway about 1 year ago


a year ago

The default amount of "crash restarts" is 10, every time you deploy. So, it might have started crashing more often

You can change the restart policy to "Always" in the service settings to get around this


Status changed to Awaiting User Response Railway about 1 year 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...