Networking issue trying to deploy ElectricSQL Docker image
caret-jake
PROOP

a year ago

I'm trying to deploy ElectricSQL on Railway.
https://electric-sql.com/docs/guides/deployment

I'm able to run it locally with this command:

docker run \
    -e "DATABASE_URL=postgresql://..." \
    -p 3000:3000 \
    -t \
    electricsql/electric:latest

When deployed to railway I'm getting this error:

16:39:59.426 pid=<0.2680.0> [warning] Database connection in lock_connection mode failed: tcp connect (db.[my project id].supabase.co:5432): non-existing domain - :nxdomain

It seems to be a railway specific connection issue. I'm not sure if it's a bug or if I'm missing a setting configuration.

Is there something I might be missing here?

2 Replies

caret-jake
PROOP

a year ago

d1716d06-16e1-4f51-8312-b3a9deb67049


a year ago

gut feeling, you have an ipv6 only supabase domain and you need an ipv4 one


Loading...