-
Notifications
You must be signed in to change notification settings - Fork 2.2k
PostgreSQL Passwordless ignores socketTimeout connection param #47874
Copy link
Copy link
Open
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.azure-springAll azure-spring related issuesAll azure-spring related issuescustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Metadata
Metadata
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.azure-springAll azure-spring related issuesAll azure-spring related issuescustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Type
Projects
Status
Need Feedback
Describe the bug
Setting
socketTimeout=10in the JDBC url by using passwordless has no effectException or Stack Trace
Exception
java.lang.Exception: Apparent connection leak detectedis thrown after the configured 15s. But there should be aSocketTimeoutExceptionafter 10s.To Reproduce
Simpel Spring Starter with
spring-data-jpaCode Snippet
Expected behavior
After 10s the
SocketTimeoutExceptionshould be thrown. By removing the passwordless feature this is the case.Setup (please complete the following information):
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report