[ 
https://issues.apache.org/jira/browse/DIRSTUDIO-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17419067#comment-17419067
 ] 

Nicolas Mailhot commented on DIRSTUDIO-1291:
--------------------------------------------

2.0.0.v20210717-M17

OpenJDK11U-jdk_x64_windows_hotspot_11.0.12_7

> LDAPS connexion no longer works
> -------------------------------
>
>                 Key: DIRSTUDIO-1291
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1291
>             Project: Directory Studio
>          Issue Type: Bug
>            Reporter: Nicolas Mailhot
>            Priority: Major
>
> After upgrade to the latest apache directory studio & adoptopenjdk 11 ldaps 
> browsing no longer works (broken TLS 1.3 support ?) and there is no obvious 
> workaround
>  
> Une erreur est survenue lors de l''ouverture de la connexion
>  - ERR_04120_TLS_HANDSHAKE_ERROR The TLS handshake failed, reason: 
> Unspecified: Improper close state: Status = OK HandshakeStatus = NEED_WRAP
> org.apache.directory.studio.connection.core.io.StudioLdapException: 
> ERR_04120_TLS_HANDSHAKE_ERROR The TLS handshake failed, reason: Unspecified: 
> Improper close state: Status = OK HandshakeStatus = NEED_WRAP
> bytesConsumed = 0 bytesProduced = 7 sequenceNumber = 1
>  at 
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.toStudioLdapException(DirectoryApiConnectionWrapper.java:1350)
>  at 
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.access$2(DirectoryApiConnectionWrapper.java:1342)
>  at 
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$1.run(DirectoryApiConnectionWrapper.java:258)
>  at 
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1261)
>  at 
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.doConnect(DirectoryApiConnectionWrapper.java:280)
>  at 
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.connect(DirectoryApiConnectionWrapper.java:144)
>  at 
> org.apache.directory.studio.connection.core.jobs.OpenConnectionsRunnable.run(OpenConnectionsRunnable.java:111)
>  at 
> org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:109)
>  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> Caused by: 
> org.apache.directory.api.ldap.model.exception.LdapTlsHandshakeException: 
> ERR_04120_TLS_HANDSHAKE_ERROR The TLS handshake failed, reason: Unspecified: 
> Improper close state: Status = OK HandshakeStatus = NEED_WRAP
> bytesConsumed = 0 bytesProduced = 7 sequenceNumber = 1
>  at 
> org.apache.directory.ldap.client.api.LdapNetworkConnection.checkSecured(LdapNetworkConnection.java:824)
>  at 
> org.apache.directory.ldap.client.api.LdapNetworkConnection.connect(LdapNetworkConnection.java:984)
>  at 
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$1.run(DirectoryApiConnectionWrapper.java:227)
>  ... 6 more
> Caused by: javax.net.ssl.SSLException: Improper close state: Status = OK 
> HandshakeStatus = NEED_WRAP
> bytesConsumed = 0 bytesProduced = 7 sequenceNumber = 1
>  at org.apache.mina.filter.ssl.SslHandler.closeOutbound(SslHandler.java:497)
>  at org.apache.mina.filter.ssl.SslFilter.initiateClosure(SslFilter.java:762)
>  at org.apache.mina.filter.ssl.SslFilter.filterClose(SslFilter.java:693)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain.callPreviousFilterClose(DefaultIoFilterChain.java:776)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1600(DefaultIoFilterChain.java:49)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.filterClose(DefaultIoFilterChain.java:1155)
>  at 
> org.apache.mina.core.filterchain.IoFilterAdapter.filterClose(IoFilterAdapter.java:146)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain.callPreviousFilterClose(DefaultIoFilterChain.java:776)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1600(DefaultIoFilterChain.java:49)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.filterClose(DefaultIoFilterChain.java:1155)
>  at 
> org.apache.mina.core.filterchain.IoFilterAdapter.filterClose(IoFilterAdapter.java:146)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain.callPreviousFilterClose(DefaultIoFilterChain.java:776)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain.fireFilterClose(DefaultIoFilterChain.java:769)
>  at 
> org.apache.mina.core.session.AbstractIoSession.closeNow(AbstractIoSession.java:353)
>  at 
> org.apache.directory.ldap.client.api.LdapNetworkConnection.inputClosed(LdapNetworkConnection.java:4763)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.inputClosed(DefaultIoFilterChain.java:997)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextInputClosed(DefaultIoFilterChain.java:735)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:49)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.inputClosed(DefaultIoFilterChain.java:1119)
>  at 
> org.apache.mina.core.filterchain.IoFilterAdapter.inputClosed(IoFilterAdapter.java:154)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextInputClosed(DefaultIoFilterChain.java:735)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:49)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.inputClosed(DefaultIoFilterChain.java:1119)
>  at 
> org.apache.mina.core.filterchain.IoFilterAdapter.inputClosed(IoFilterAdapter.java:154)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextInputClosed(DefaultIoFilterChain.java:735)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:49)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.inputClosed(DefaultIoFilterChain.java:1119)
>  at 
> org.apache.mina.core.filterchain.IoFilterAdapter.inputClosed(IoFilterAdapter.java:154)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextInputClosed(DefaultIoFilterChain.java:735)
>  at 
> org.apache.mina.core.filterchain.DefaultIoFilterChain.fireInputClosed(DefaultIoFilterChain.java:728)
>  at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:556)
>  at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor.access$1200(AbstractPollingIoProcessor.java:68)
>  at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.process(AbstractPollingIoProcessor.java:1222)
>  at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.process(AbstractPollingIoProcessor.java:1211)
>  at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:683)
>  at 
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
>  at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>  at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>  at java.base/java.lang.Thread.run(Thread.java:829)
> ERR_04120_TLS_HANDSHAKE_ERROR The TLS handshake failed, reason: Unspecified: 
> Improper close state: Status = OK HandshakeStatus = NEED_WRAP
> bytesConsumed = 0 bytesProduced = 7 sequenceNumber = 1



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to