Supabase IPv6 (IPv4 Deprecation)

I have Next.js 13 (app) project running on Digital Ocean App Platform, my data is stored in Supabase and I use Prisma. Everything worked great until January when Supabase deprecated IPv4, more details here:

I followed the instructions in the thread above and in the documentation:

I updated the env variables from postgresql://[USER]:[PASSWORD]@db.[PROJECT][DB] to:

DIRECT_URL: postgres://[USER].[PROJECT]:[PASSWORD][DB]?pgbouncer=true&connection_limit=1

DATABASE_URL: postgres://[USER].[PROJECT]:[PASSWORD][DB]?pgbouncer=true&connection_limit=1

On build I’m getting the error Can't reach database server at db.[PROJECT]

Does Digital Ocean support IPv6 on App Platform? In the thread on GitHub they suggest that this could cause the error.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Site Moderator
Site Moderator badge
March 8, 2024

Heya @rocketana,

I don’t believe there is support as of now. The best possible way is to post your idea in the ideas board:

Hope that helps!

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel