Can't connect to my PostgesSQL service via GitHub repo service
madiyarbexultanov
FREEOP

a year ago

Good day everyone. My project ID: 4d4942f4-260a-4d59-951c-9b3bbcf9555a

I faced a problem, when I enter my Postgres service DB_URL into Reference Variables in GitHub service and try to deploy I get this error. Railway tries to connect multiple times and multiple times gets crashes.

"app/main.go:60"
error:
"failed to connect to `user=root database=`: /tmp/.s.PGSQL.5432 (/tmp): dial error: dial unix /tmp/.s.PGSQL.5432: connect: no such file or directory"
level:
"info"
stacktrace:
"main.main /app/main.go:60 runtime.main /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.3.linux-amd64/src/runtime/proc.go:272"
ts:
1745794134.6469288
replica: 071473f3-6e05-4aaa-97f3-12f440b1e341```

2 Replies

madiyarbexultanov
FREEOP

a year ago


![1366351097454657576](https://media.discordapp.net/attachments/1366349819370803200/1366351097454657576/image.png?ex=6810a11f&is=680f4f9f&hm=672ef1824a8a92d4422b42a26d691fcc40d399a475a0af7cea7e4f9ac0f8e895&)

madiyarbexultanov
FREEOP

a year ago

1366351166191177768


Welcome!

Sign in to your Railway account to join the conversation.

Loading...