Hi Akash Panda •,
Welcome to Microsoft Q&A forum.
As I understand, you are getting Timeout issue in Azure Database for PostgreSQL.
What is the Region in which this server was created?
What is the configuration of the Flexible Server?
Transient errors occur when maintenance is performed, the system encounters an error with the hardware or software, or you change the vCores or service tier of your server. The Azure Database for PostgreSQL service has built-in high availability and is designed to mitigate these types of problems automatically. However, your application loses its connection to the server for a short period of time of typically less than 60 seconds at most. Some events can occasionally take longer to mitigate, such as when a large transaction causes a long-running recovery.
Also refer to https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-limits https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/how-to-troubleshoot-common-connection-issues Thanks.