My Oracle Support Banner

OUD: Application Error: Message: "Could not parse the enumeration" / "Connection reset" While Fetching Records from OUD. OUD Log Shows: DISCONNECT conn=<conn> reason="I/O Error" msg="Connection reset by peer" (Doc ID 2832433.1)

Last updated on JANUARY 11, 2022

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=<company>,dc=com" 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=<company>,dc=com" etime=0
[14/Dec/2021:04:59:48 -0600] SEARCH REQ conn=1360269 op=1 msgID=2 base="ou=people,ou=vendor,dc=<company>,dc=com" 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"



Changes

 

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
Changes
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.