WARN [org.ldaptive.AbstractOperation$ReopenOperationExceptionHandler:251] - Operation exception encountered, reopening connection
Lipscomb, Gary
glipscomb at csu.edu.au
Tue May 25 22:43:23 UTC 2021
Hi list,
New build IdP v4.1
I've just started seeing these errors[1] appear in the idp-process.logs
I have these settings in conf/ldap.properties [2]
The only thing I think may be contributing to this is that I removed
idp.ldaptive.provider = org.ldaptive.provider.unboundid.UnboundIDProvider
from ldap.properties but from my understanding this is the default setting now
The errors seem to occur in very low activity periods of the IdP.
Regards
Gary
[1] idp-process.log
2021-05-25 05:53:19,664 - - WARN [org.ldaptive.AbstractOperation$ReopenOperationExceptionHandler:251] - Operation exception encountered, reopening connection
2021-05-25 05:53:19,664 - - WARN [org.ldaptive.AbstractOperation$ReopenOperationExceptionHandler:251] - Operation exception encountered, reopening connection
2021-05-25 05:53:19,663 - - WARN [org.ldaptive.AbstractOperation$ReopenOperationExceptionHandler:251] - Operation exception encountered, reopening connection
2021-05-25 05:53:19,669 - - ERROR [org.ldaptive.AbstractOperation$ReopenOperationExceptionHandler:119] - unable to handle operation exception
org.ldaptive.OperationException: LDAPException(resultCode=81 (server down), errorMessage='An error occurred while attempting to send the LDAP message to server REDACTED.csu.edu.au:389: SocketException(Broken pipe (Write failed)), ldapSDKVersion=4.0.14, revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb')
at org.ldaptive.provider.ProviderUtils.throwOperationException(ProviderUtils.java:50)
Caused by: com.unboundid.ldap.sdk.LDAPException: An error occurred while attempting to send the LDAP message to server REDACTED.csu.edu.au:389: SocketException(Broken pipe (Write failed)), ldapSDKVersion=4.0.14, revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb
at com.unboundid.ldap.sdk.LDAPConnectionInternals.sendMessage(LDAPConnectionInternals.java:630)
Caused by: java.net.SocketException: Broken pipe (Write failed)
at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
2021-05-25 05:53:19,670 - - ERROR [org.ldaptive.AbstractOperation$ReopenOperationExceptionHandler:119] - unable to handle operation exception
org.ldaptive.provider.ConnectionException: LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server REDACTED.csu.edu.au:389: IOException(LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to establish a connection to server REDACTED.csu.edu.au/RE.DAC.TED.IP:389: SocketException(Connection reset by peer (connect failed)), ldapSDKVersion=4.0.14, revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb'))')
at org.ldaptive.provider.unboundid.UnboundIDConnectionFactory.createInternal(UnboundIDConnectionFactory.java:65)
Caused by: com.unboundid.ldap.sdk.LDAPException: An error occurred while attempting to connect to server REDACTED.csu.edu.au:389: IOException(LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to establish a connection to server REDACTED.csu.edu.au/RE.DAC.TED.IP:389: SocketException(Connection reset by peer (connect failed)), ldapSDKVersion=4.0.14, revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb'))
at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:875)
Caused by: java.io.IOException: LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to establish a connection to server REDACTED.csu.edu.au/RE.DAC.TED.IP:389: SocketException(Connection reset by peer (connect failed)), ldapSDKVersion=4.0.14, revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb')
at com.unboundid.ldap.sdk.LDAPConnectionInternals.<init>(LDAPConnectionInternals.java:185)
Caused by: com.unboundid.ldap.sdk.LDAPException: An error occurred while attempting to establish a connection to server REDACTED.csu.edu.au/RE.DAC.TED.IP:389: SocketException(Connection reset by peer (connect failed)), ldapSDKVersion=4.0.14, revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb
at com.unboundid.ldap.sdk.ConnectThread.getConnectedSocket(ConnectThread.java:269)
Caused by: java.net.SocketException: Connection reset by peer (connect failed)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
2021-05-25 05:53:19,671 - - WARN [org.ldaptive.pool.BlockingConnectionPool:786] - org.ldaptive.pool.AbstractConnectionPool$DefaultPooledConnectionProxy at 36562ebe failed validation
2021-05-25 05:53:19,671 - - WARN [org.ldaptive.pool.BlockingConnectionPool:786] - org.ldaptive.pool.AbstractConnectionPool$DefaultPooledConnectionProxy at 36562ebe failed validation
2021-05-25 05:53:19,671 - - ERROR [org.ldaptive.AbstractOperation$ReopenOperationExceptionHandler:119] - unable to handle operation exception
org.ldaptive.OperationException: LDAPException(resultCode=81 (server down), errorMessage='An error occurred while attempting to send the LDAP message to server REDACTED.csu.edu.au:389: SocketException(Connection reset by peer (Write failed)), ldapSDKVersion=4.0.14, revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb')
at org.ldaptive.provider.ProviderUtils.throwOperationException(ProviderUtils.java:50)
Caused by: com.unboundid.ldap.sdk.LDAPException: An error occurred while attempting to send the LDAP message to server REDACTED.csu.edu.au:389: SocketException(Connection reset by peer (Write failed)), ldapSDKVersion=4.0.14, revision=c0fb784eebf9d36a67c736d0428fb3577f2e25bb
at com.unboundid.ldap.sdk.LDAPConnectionInternals.sendMessage(LDAPConnectionInternals.java:630)
Caused by: java.net.SocketException: Connection reset by peer (Write failed)
at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
2021-05-25 05:53:19,672 - - WARN [org.ldaptive.pool.BlockingConnectionPool:786] - org.ldaptive.pool.AbstractConnectionPool$DefaultPooledConnectionProxy at 454f3016 failed validation
2021-05-25 05:53:19,672 - - WARN [org.ldaptive.pool.BlockingConnectionPool:786] - org.ldaptive.pool.AbstractConnectionPool$DefaultPooledConnectionProxy at 27a1acbb failed validation
[2] ldap.properties
# LDAP pool configuration, used for both authn and DN resolution
#idp.pool.LDAP.minSize = 3
#idp.pool.LDAP.maxSize = 10
#idp.pool.LDAP.validateOnCheckout = false
idp.pool.LDAP.validateOnCheckout = true
#idp.pool.LDAP.validatePeriodically = true
#idp.pool.LDAP.validatePeriod = PT5M
idp.pool.LDAP.validatePeriod = PT120S
#idp.pool.LDAP.validateDN =
#idp.pool.LDAP.validateFilter = (objectClass=*)
#idp.pool.LDAP.prunePeriod = PT5M
#idp.pool.LDAP.idleTime = PT10M
#idp.pool.LDAP.blockWaitTime = PT3S
idp.attribute.resolver.LDAP.returnAttributes = * memberOf
idp.authn.LDAP.usePasswordPolicy = true
idp.authn.LDAP.usePasswordExpiration = true
Gary Lipscomb
Technical Officer, Systems | Infrastructure & Client Services | Division of Information Technology
Charles Sturt University
| ALBURY-WODONGA | BATHURST | BRISBANE | CANBERRA | DUBBO | GOULBURN | MELBOURNE | ORANGE | PORT MACQUARIE | SYDNEY | WAGGA WAGGA |
LEGAL NOTICE
This email (and any attachment) is confidential and is intended for the use of the addressee(s) only. If you are not the intended recipient of this email, you must not copy, distribute, take any action in reliance on it or disclose it to anyone. Any confidentiality is not waived or lost by reason of mistaken delivery. Email should be checked for viruses and defects before opening. Charles Sturt University does not accept liability for viruses or any consequence which arise as a result of this email transmission. Email communications with Charles Sturt University may be subject to automated email filtering, which could result in the delay or deletion of a legitimate email before it is read at Charles Sturt University. The views expressed in this email are not necessarily those of Charles Sturt University.
Charles Sturt University in Australia The Grange Chancellery, Panorama Avenue, Bathurst NSW Australia 2795 (ABN: 83 878 708 551; CRICOS Provider Number: 00005F (National)). TEQSA Provider Number: PV12018
Consider the environment before printing this email.
More information about the users
mailing list