3 months ago
There's no option of supabase variable in my project, only postgres
34 Replies
3 months ago
Are you hosting Supabase or are you connecting an external instance?
is this correct
Attachments
3 months ago
You need to redeploy your service to use the variables.
3 months ago
Go to your project dashboard and hover over the URL.
this?
Attachments
3 months ago
Attachments
3 months ago
I don't know what you put.
If it's the same, then it's the same.
The URL should start with postgresql://.
3 months ago
It should be called "Direct connection string" in Supabase dashboard.
The string you shared is a Direct Connection URL. While it looks correct, it will likely cause your app on Railway to crash with a Network is unreachable or ENETUNREACH error.
3 months ago
What said that...
it says that railway only support Ipv4 connection but supabase uses IPv6
does railway now supports Ipv6? since i researched again and it said yes
3 months ago
(no markdown available for this content)
3 months ago
That costs extra money, can't you just enable outbound IPv6 on the railway service?
3 months ago
outbound ipv6 is a feature flag option
3 months ago
Attachments
3 months ago
Oh cool. Didn’t know it’s now a feature flag.
Attachments
3 months ago
If they are reference variables, no. You need to keep them.
3 months ago
I don't know how you structured your project. If it's a reference variable, then you need the ${{}} syntax.