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
Percy8mo ago
Project ID: f307186f-df9f-435e-96e8-d7d17da7dffa
Expensiveeee
Expensiveeee8mo ago
f307186f-df9f-435e-96e8-d7d17da7dffa
Fragly
Fragly8mo 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
Expensiveeee8mo ago
Thats not the issue that makes it crash Ye Thats just an alert, doesn't matter to me
Fragly
Fragly8mo ago
yea idk anything about that error, someone else might be able to help
Expensiveeee
Expensiveeee8mo ago
Is there a live chat I can talk to Cause idk what I'm supposed to do
Fragly
Fragly8mo 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
Expensiveeee8mo ago
I mean its accesible from anywhere, but where can I find railway's IP?
Fragly
Fragly8mo ago
here's the us west container's IP range: https://utilities.up.railway.app/cidr-list?value=us-west1
Brody
Brody8mo 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
Expensiveeee8mo ago
No description
Expensiveeee
Expensiveeee8mo ago
Still the same error
Brody
Brody8mo ago
are you utilizing the private network
Expensiveeee
Expensiveeee8mo ago
WHat do you mean by that? Like allowing certain IPs on supabase? If so, no
Expensiveeee
Expensiveeee8mo ago
If you mean this
No description
Expensiveeee
Expensiveeee8mo ago
No again, I mean its enable but I don't use it in code
Brody
Brody8mo ago
okay try disabling it and then redeploy your service
Expensiveeee
Expensiveeee8mo ago
Oh Feel like it working
Brody
Brody8mo ago
okay then you'd need to increase the connection time-out to supabase since private networking is interfering with the initial connection