Backend in Render does not access supabase.com

I’m new here at the Render service.
I deployed my backend application to Render and I’m trying to access my base at supabase.com, which I also use in my application locally without any problems. But strangely, even after entering all the configuration, Render is unable to connect to the database. Do you know if there is any impediment to using a base outside of Render?

Hi there,

One issue I know is that Supabase made a change to switch to IPv6 from IPv4. The change to direct database connections came into effect for all their customers on 1st Feb 2024.

https://supabase.com/blog/ipv6
https://github.com/orgs/supabase/discussions/17817

Render does not currently support IPv6, so you’ll need to update your Superbase connection details on your Render service to be able to connect. You have two options:

  1. In your Supabase dashboard, go to the database settings page and use the details provided in the “Connection String” panel - this is an IPv4 service and will allow your Render service to communicate with Supabase.

  2. If you still want to connect directly to your Supabase database and you’re using a paid Supabase plan you can enable their IPv4 addon at a cost.

When you’ve made the change ensure that a new deployment occurs - if you have auto deployment disabled then you will need to perform a manual deploy via the button in the dashboard for the change to take effect.

If you have Supabase specific questions, please ask Supabase directly, via https://github.com/orgs/supabase/discussions/17817

Regards,

Keith
Render Support, UTC+10 :australia:

1 Like

After some tests I discovered that the problem is occurring in the environment variables.
I created them in Render, inserted them into my appsettings.json but they are not obtained correctly in my application.

HI there,

For us to look further into this, please open a ticket directly with us from our dashboard.

Regards,

Keith
Render Support, UTC+10 :australia:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.