Migrating dbs to V2 - PG URL never seems to work

When I try to set DATABASE_URL as the private networking, public networking, or the PRIVATE_DATABASE_URL key that was provided in the migration--does not ever connect. What should I be doing?
No description
No description
6 Replies
Percy
Percy7mo ago
Project ID: b0b525c1-ced1-4ba1-ab53-25856ba5b50d
odysseus
odysseus7mo ago
b0b525c1-ced1-4ba1-ab53-25856ba5b50d
Brody
Brody7mo ago
@jr - database related question
odysseus
odysseus7mo ago
Basically, I thought I had everything from the DB migrated properly. Then I migrated Redis to V2, and things broke, possibly by using the PRIVATE_URL instead of just REDIS_URL. But that wasn't it, since I just tried switching those.
jr
jr7mo ago
What variable did you change? It looks like you set the DATABASE_URL of the Postgres service to the internal URL. The Data tab connects over the public so is failing You should instead be confuming the Postgres.DATABASE_PRIVATE_URL in your application You will still be able to connect inside your application. But the Data tab won't work currently
odysseus
odysseus7mo ago
not entirely sure what did it but figured it out, thanks!