[ 
https://issues.apache.org/jira/browse/DIRAPI-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marius Oancea closed DIRAPI-381.
--------------------------------
    Fix Version/s: 2.1.7
       Resolution: Fixed

I re-tested with org.apache.directory.api:api-all:2.1.7 and I wasn't able to 
reproduce the issue anymore.

> ERR_04112_OP_FAILED_TIMEOUT when binding with TLSv1.3
> -----------------------------------------------------
>
>                 Key: DIRAPI-381
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-381
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>         Environment: any (macos, windows, ubuntu)
>            Reporter: Marius Oancea
>            Priority: Major
>             Fix For: 2.1.7
>
>
> I'm using apache directory api version 2.1.0 to bind to a directory server 
> using startTLS.
> In about 1 case of 100 the binding fails with 
> {code:java}
> 16:16:19.071 [Test worker] ERROR 
> org.apache.directory.ldap.client.api.LdapNetworkConnection - 
> ERR_04112_OP_FAILED_TIMEOUT (Bind)
> 16:16:19.077 [Test worker] ERROR 
> org.apache.directory.ldap.client.api.LdapNetworkConnection - 
> ERR_04169_RESPONSE_QUEUE_EMPTIED The response queue has been emptied, no 
> response was found.
> org.apache.directory.api.ldap.model.exception.LdapException: 
> ERR_04170_TIMEOUT_OCCURED TimeOut occurred
>     at 
> org.apache.directory.ldap.client.api.LdapNetworkConnection.bind(LdapNetworkConnection.java:1549)
> ...
> org.apache.directory.api.ldap.model.exception.LdapException: 
> ERR_04169_RESPONSE_QUEUE_EMPTIED The response queue has been emptied, no 
> response was found.
>     at 
> org.apache.directory.ldap.client.api.LdapNetworkConnection.bind(LdapNetworkConnection.java:1578)
>  {code}
> If I change the server configuration to use only TLSv1.2, it starts to work 
> as expected.
>  
> Also if I change my code to use api 2.0.0, it never fails (I assume because 
> 2.0.0 is not using TLSv1.3 but TLSv1.2



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to