Only public instead of private database URL is working

Hey,

I have a problem, that the private url ${{Postgres.DATABASE_PRIVATE_URL}} could not be resolved any more, instead only ${{Postgres.DATABASE_URL}} is working as a reference to connect to the database.

When using the private URL, the following error is reported:

could not translate host name "postgres.railway.internal" to address: Name or service not known


Before my last deployment this we could use the PRIVATE_URL without any issues.

I have seen some other issues which required to add a sleep at the beginning of the execution of the application, could this help?
Was this page helpful?