My Oracle Support Banner

OUD Log Reports: "reason="I/O Error" msg="Connection reset by peer"" while Fetching Data and Application Reports: "Could not parse the enumeration" / "Connection reset" (Doc ID 2832433.1)

Last updated on FEBRUARY 12, 2024

Applies to:

Oracle Unified Directory - Version 12.2.1.3 and later
Information in this document applies to any platform.

Symptoms

Application getting enumeration error code while fetching the records from Oracle Unified Directory (OUD).

deltaFilter : (&(objectclass=<objectclass>)(<attribute>=<value>))

Error :
08-01-2021 21:30:50,058|ERROR|[main]|[appbatch]|[com.COMPANY.util.AppError]|- Application Error:
Message: Could not parse the enumeration
Original thrown object message: javax.naming.CommunicationException: Connection reset [Root exception is java.net.SocketException: Connection reset]
Stack trace:javax.naming.CommunicationException: Connection reset [Root exception is java.net.SocketException: Connection reset]
  at com.sun.jndi.ldap.LdapCtx.getSearchReply(LdapCtx.java:1920)
  at com.sun.jndi.ldap.AbstractLdapNamingEnumeration.getNextBatch(AbstractLdapNamingEnumeration.java:130)
  at com.sun.jndi.ldap.AbstractLdapNamingEnumeration.hasMoreImpl(AbstractLdapNamingEnumeration.java:217)
  ...


OUD log shows bind is successful and fetching of around 40k records with I/O connection reset by peer error:

[14/Dec/2021:04:59:48 -0600] CONNECT conn=1360269 from=HOSTNAME:PORT to=HOSTNAME:PORT protocol=LDAPS
[14/Dec/2021:04:59:48 -0600] BIND REQ conn=1360269 op=0 msgID=1 type=SIMPLE dn="uid=UID,ou=Applications,dc=SUFFIX_DN" version=3
[14/Dec/2021:04:59:48 -0600] BIND RES conn=1360269 op=0 msgID=1 result=0 authDN="uid=<uid>,ou=Applications,dc=SUFFIX_DN" etime=0
[14/Dec/2021:04:59:48 -0600] SEARCH REQ conn=1360269 op=1 msgID=2 base="ou=people,ou=vendor,dc=SUFFIX_DN" scope=one filter="(&(objectclass=<objectclass>)(<attribute>=<value>))" attrs="<attributes list>"
[14/Dec/2021:05:00:01 -0600] SEARCH RES conn=1360269 op=1 msgID=2 result=0 nentries=40118 additionalInfo="Unindexed" etime=12954
[14/Dec/2021:05:05:08 -0600] DISCONNECT conn=1360269 reason="I/O Error" msg="Connection reset by peer"



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.