You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 > nostream@2.1.0 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
Activity
clartek commentedon Mar 4, 2025
Same problem here
percy-g2 commentedon Mar 18, 2025
facing same issue
Cc: @cameri
shvkhzod commentedon May 4, 2025
the same problem @cameri @amunrarara
kartikangiras commentedon Apr 8, 2026
@cameri I researched the docker file for the railway deployment and found some bugs in it which are causing this issue.
cameri commentedon Apr 18, 2026
thank you @kartikangiras !