APp Platform cannot connect to DB after DO trusted sourceupgrade

Since August 11, 2021, i have been unable to connect to my DB, since DO made trusted src an option for APP platform

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.

Hello @infoa4f69b5a7eb39fe6e15bf8,

I assume that you have enabled trusted sources and added the App ID under the trusted sources list. If not then please make sure the App ID is added and allowed to connect to the database.

Once you configure to allow the app in the managed database then you should be able to connect to the database in the deploy phase and runtime however database connection in the build phase will be restricted. We do not recommend the database connection during a build so you can use pre-deploy jobs to connect to the database and perform any tasks/migration.

If the issue still persists then please reach out to the support team so that we can review the logs and guide you accordingly.

Cheers, Dikshith