nostream icon indicating copy to clipboard operation
nostream copied to clipboard

[BUG] Error: connect ECONNREFUSED ::1:5432

Open amunrarara opened this issue 1 year ago • 3 comments

Describe the bug Cheers,

While using the one-click deploy to Railway from the nostream Github page, I'm encountering Error: connect ECONNREFUSED ::1:5432. This seems to indicate that the local network proxy ain't doin' its thing right.

Is there additional configuration that has to happen for Railway to properly route the DB requests from service to Postgres?

Here's the error logs starting from RUN npm run db:migrate

#11 [build 6/8] RUN npm run db:migrate #11 0.857 > [email protected] db:migrate #11 0.857 > knex migrate:latest #11 1.143 connect ECONNREFUSED ::1:5432 #11 1.143 Error: connect ECONNREFUSED ::1:5432 #11 1.143 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) #11 ERROR: process "/bin/sh -c npm run db:migrate" did not complete successfully: exit code: 1

To Reproduce Steps to reproduce the behavior:

  1. Hit that "Deploy to Railway" button
  2. Keep all default configuration
  3. Deploy error. Yikes!

Expected behavior Not erroring.

amunrarara avatar Nov 05 '24 02:11 amunrarara

Same problem here

scuffedjosh avatar Mar 04 '25 16:03 scuffedjosh

facing same issue

Cc: @cameri

percy-g2 avatar Mar 18 '25 14:03 percy-g2

the same problem @cameri @amunrarara

shvkhzod avatar May 04 '25 18:05 shvkhzod