Connection reset]; remaining name '']

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

It's possible you're trying to write to a connection that's already closed. Another cause for this is that you closed the socket with unread data in the socket receive buffer.


This might be caused by unmatching versions of SSL. Java starts normally with SSLv2 and your server might not be able to negotiate. You have to force Java to use SSLv3. See this comment:


You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 58#69433085
    via GitHub by MoltenDM
    • Connection reset]; remaining name ''] at org.ldaptive.provider.ProviderUtils.throwOperationException( at org.ldaptive.provider.jndi.JndiConnection.processNamingException( at org.ldaptive.provider.jndi.JndiConnection$JndiSearchIterator.initialize( at at org.ldaptive.SearchOperation.executeSearch( at org.ldaptive.SearchOperation.invoke( at org.ldaptive.SearchOperation.invoke( at org.ldaptive.AbstractOperation.execute( at org.ldaptive.pool.SearchValidator.validate( at org.ldaptive.pool.SearchValidator.validate( at org.ldaptive.pool.AbstractPool.validate( at org.ldaptive.pool.AbstractConnectionPool.validate( at org.ldaptive.pool.AbstractConnectionPool$ at java.util.concurrent.Executors$ at java.util.concurrent.FutureTask.runAndReset( at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301( at java.util.concurrent.ScheduledThreadPoolExecutor$ at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at Caused by: javax.naming.CommunicationException: Connection reset [Root exception is Connection reset]; remaining name '' at com.sun.jndi.ldap.LdapCtx.doSearch( at com.sun.jndi.ldap.LdapCtx.searchAux( at com.sun.jndi.ldap.LdapCtx.c_search( at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search( at at at org.ldaptive.provider.jndi.JndiConnection$ at org.ldaptive.provider.jndi.JndiConnection$JndiSearchIterator.initialize( ... 17 more Caused by: Connection reset at at at at at at at at at at at

    Users with the same issue

    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Alireza Mohamadi
    Alireza Mohamadi22 times, last one,
    Tahir2 times, last one,
    Unknown visitor1 times, last one,
    263 more bugmates