question

ChristyH-5175 avatar image
0 Votes"
ChristyH-5175 asked GeethaThatipatri-MSFT commented

APIs cannot connect to PostGreSQL after password change

I have two APIs - one Python and one .NET core - that connect to a single PostGreSQL server (Gen 5) with multiple databases. After resetting the master password, neither API can connect to either database.

The password is not hard-coded anywhere, and I can connect via PGA Admin, leading me to believe I need to update some Azure configuration settings.

Can someone assist? Thanks in advance.

azure-database-postgresql
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, @ChristyH-5175
Where are you deploying your API?

0 Votes 0 ·

Hi @ChristyH-5175
Welcome to the Microsoft Q&A forum, and thanks for reaching out.
If you are connecting directly then the issue is with your API, or the password is cached somehow.

Regards
Geetha

0 Votes 0 ·
ChristyH-5175 avatar image ChristyH-5175 GeethaThatipatri-MSFT ·

I am 99% sure this is not an issue with either API, as both are experiencing the same problem with very different code under the same conditions.

Can you clarify where it might be cached? Restarting the App Services does not fix the problem.

0 Votes 0 ·
Show more comments

To an Azure App Service (Linux).

0 Votes 0 ·

0 Answers