Strange new ECONNRESET error with new deployments.

zwork101HOBBY

10 months ago

I have been using railway in the trial period to run a Strapi web server with great success, but after my trial expired and I upgraded, I've begun getting errors from my Strapi deployment. Now when Strapi attempts to start, I get the following error:

> troop-cms@0.1.0 start
> strapi start
[2024-07-02 15:37:31.945] debug: ⛔️ Server wasn't able to start properly.
[2024-07-02 15:37:31.947] error: Connection terminated unexpectedly
Error: Connection terminated unexpectedly
at Connection. (/app/nodemodules/pg/lib/client.js:132:73) at Object.onceWrapper (node:events:631:28) at Connection.emit (node:events:517:28) at Connection.emit (node:domain:489:12) at Socket. (/app/nodemodules/pg/lib/connection.js:63:12)
at Socket.emit (node:events:517:28)
at Socket.emit (node:domain:489:12)
at TCP. (node:net:350:12)

as well as

error: read ECONNRESET
Error: read ECONNRESET
at TCP.onStreamRead

When looking up the issue, some people have seen this problem when using a proxy, but obviously I have no control over the Railway proxy.

View Deploy details

> ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

3 Replies

10 months ago

What is the state of your database deployment? if it doesn't have a deployment you will need to redeploy it from the removed deployments 3-dot menu.


Status changed to Solved railway[bot] 10 months ago


zwork101HOBBY

10 months ago

What is the state of your database deployment? if it doesn't have a deployment you will need to redeploy it from the removed deployments 3-dot menu.

Ah, great catch thank you. The database was down, I didn't notice because it didn't have an X like the other deployments. Much appreciated!


10 months ago

No problem!