Connection to Supbase fails

Hi I'm having issues connecting to supabase, it worked before I restarted the project now it fails
No description
19 Replies
Percy
Percy14mo ago
Project ID: f307186f-df9f-435e-96e8-d7d17da7dffa
Expensiveeee
ExpensiveeeeOP14mo ago
f307186f-df9f-435e-96e8-d7d17da7dffa
Fragly
Fragly14mo ago
I'm no expert but that kinda looks like you're storing sessions in memory, which is fine in dev but in prod it can lead to memory leaks and is all around not a good option to fix that you'd need to store sessions in persistent memory, like a db oh wait there's a dif error below it
Expensiveeee
ExpensiveeeeOP14mo ago
Thats not the issue that makes it crash Ye Thats just an alert, doesn't matter to me
Fragly
Fragly14mo ago
yea idk anything about that error, someone else might be able to help
Expensiveeee
ExpensiveeeeOP14mo ago
Is there a live chat I can talk to Cause idk what I'm supposed to do
Fragly
Fragly14mo ago
on hobby plan, community support is all you have ( communtiy support = this help thread ) if you upgrade to pro plan then you can talk to the team directly via email tbh though, from the looks of the error is doesn't really seem like it's an error caused my railway, seems more like your database isn't accessible from railway which is likely your databases fault Maybe you need to whitelist IPs?
Expensiveeee
ExpensiveeeeOP14mo ago
I mean its accesible from anywhere, but where can I find railway's IP?
Fragly
Fragly14mo ago
here's the us west container's IP range: https://utilities.up.railway.app/cidr-list?value=us-west1
Brody
Brody14mo ago
you can use this to check if your database is accessible from railway https://utilities.up.railway.app/port-check?host=<your database host>&port=<your databases port> just so you know, deployments have dynamic ips, you would either have to whitelist all ips (0.0.0.0/0) or whitelist all 26 cidr ranges from the link fragly sent
Expensiveeee
ExpensiveeeeOP14mo ago
No description
Expensiveeee
ExpensiveeeeOP14mo ago
Still the same error
Brody
Brody14mo ago
are you utilizing the private network
Expensiveeee
ExpensiveeeeOP14mo ago
WHat do you mean by that? Like allowing certain IPs on supabase? If so, no
Expensiveeee
ExpensiveeeeOP14mo ago
If you mean this
No description
Expensiveeee
ExpensiveeeeOP14mo ago
No again, I mean its enable but I don't use it in code
Brody
Brody14mo ago
okay try disabling it and then redeploy your service
Expensiveeee
ExpensiveeeeOP14mo ago
Oh Feel like it working
Brody
Brody14mo ago
okay then you'd need to increase the connection time-out to supabase since private networking is interfering with the initial connection
Want results from more Discord servers?
Add your server