Postgres connection timeout
See original GitHub issuewhile posting a large bundle there is connection timeout after 120 seconds. Even after adding the socketTimeout=0 in the connectProperties , connection timeout after 120 seconds.
"default": {
"type": "postgresql",
"connectionProperties": {
"serverName": "localhost",
"portNumber": 5432,
"databaseName": "fhirdb",
"user": "fhiruser",
"password": "change-password",
"currentSchema": "fhirdata",
"socketTimeout": 0
}
}
00009bc7 com.ibm.tx.jta.embeddable.impl.EmbeddableTimeoutManager I WTRN0006W: Transaction 00000172E5C5BE53000000012865CE9C1494C99A328B344FC9E38C285820417EA54DA49E00000172E5C5BE53000000012865CE9C1494C99A328B344FC9E38C285820417EA54DA49E00000001 has timed out after 120 seconds.
Issue Analytics
- State:
- Created 3 years ago
- Comments:21 (7 by maintainers)
Top Results From Across the Web
15: 20.11. Client Connection Defaults - PostgreSQL
The timeout is measured from the time a command arrives at the server until it is completed by the server. If multiple SQL...
Read more >Is there a timeout for idle PostgreSQL connections?
There is a timeout on broken connections (i.e. due to network errors), which relies on the OS' TCP ...
Read more >Postgresql Connection Timed out - Server Fault
Common Cause: The postmaster or PostgreSQL's server daemon process is not running or configured incorrectly. When you receive this error most of the...
Read more >How to set connection timeout on PostgreSQL connection via ...
You can set the connection timeout using the PDO::ATTR_TIMEOUT options: $dbh = new PDO($dsn, $username, $password, array(PDO::ATTR_TIMEOUT => $ ...
Read more >idle_session_timeout parameter - PostgreSQL Documentation
Terminate any session that has been idle (that is, waiting for a client query), but not within an open transaction, for longer than...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thank you @sridhar-shivraj I will review and post an update later today.
@sridhar-shivraj we haven’t had time to investigate. We’ll get to investigate some point over the next few days.