Service can't connect to new DATABASE_URL after Postgres plugin migration

After migrating to new Postgres service one of the main services can't start because of error in Prisma: Error: P1001: Can't reach database server at viaduct.proxy.rlwy.net:25515 both on production and dev environment. Other services run without problems and connect to the new database with same DATABASE_URL, one of which is also using Prisma. This service fails with both DATABASE_URL and DATABASE_PRIVATE_URL, others run fine. Project ID: 24e91f39-8c4b-4005-b2fa-bcb47c44b717 Service ID: f1410390-6a6b-4024-b742-814f56f1afc6
Solution:
try to add a 3 second sleep to the beginning of your start script
Jump to solution
3 Replies
Percy
Percy12mo ago
Project ID: 24e91f39-8c4b-4005-b2fa-bcb47c44b717,f1410390-6a6b-4024-b742-814f56f1afc6
Solution
Brody
Brody12mo ago
try to add a 3 second sleep to the beginning of your start script
citizenofruins
citizenofruinsOP12mo ago
It worked, thanks for your help!
Want results from more Discord servers?
Add your server