Skip to content
Discussion options

You must be logged in to vote

To add to what @k1ng-arthur said - Railway specifically doesn't support outbound IPv6, which is why the direct connection fails. Supabase's direct connection (db.[ref].supabase.co) only resolves to an IPv6 address, and Railway can't route that.

The session pooler is the right fix. To find it: click the Connect button at the top of your Supabase project dashboard. You should see three options - "Direct connection", "Session pooler", and "Transaction pooler". Grab the Session pooler string - that one routes through pooler.supabase.com which supports IPv4.

It'll look something like:

postgresql://postgres.[your-project-ref]:[your-password]@aws-0-[region].pooler.supabase.com:5432/postgres

One…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@pdrbessahm
Comment options

Comment options

You must be logged in to vote
1 reply
@pdrbessahm
Comment options

Answer selected by pdrbessahm
Comment options

You must be logged in to vote
1 reply
@pdrbessahm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants