Private networking broken between Worker and Postgres
zanebarker-ops
HOBBYOP

2 months ago

After upgrading from Personal to Hobby subscription, my private networking between the postgres, n8n, and primary no longer work.

- Project: scintillating-tenderness

- Issue: Private networking broken between Worker and Postgres

- Error: Could not establish database connection within the configured timeout

$10 Bounty

5 Replies

Railway
BOT

2 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


bbhoss
FREE

2 months ago

What kind of app is it? Make sure you are allowing/prefering/forcing IPv6 connections to the database. Had a similar issue and once I moved to IPv6 I never had an issue again.


bbhoss
FREE

2 months ago

Looks like n8n doesn’t support the option


bbhoss

What kind of app is it? Make sure you are allowing/prefering/forcing IPv6 connections to the database. Had a similar issue and once I moved to IPv6 I never had an issue again.

zanebarker-ops
HOBBYOP

2 months ago

N8N worker.

Redis

Postgres.

And primary.

They are all set uo with internal networking and we're working prior to upgrading to the Hobby plan. Now I can only connect my workers to Postgres via public Url, so egress fees are applied.


ilyassbreth
FREE

2 months ago

try this for redis connections, add to both primary and worker:

QUEUE_BULL_REDIS_DUALSTACK=true

make sure all your database connection strings use the private dns names like postgres.railway.internal and redis.railway.internal - not ip addresses.

redeploy after adding the variable

i hope this help you slightly_smiling_face emoji


Loading...