You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2023/03/07 11:15:00 UTC

[jira] [Commented] (NET-718) "Unsupported or unrecognized SSL message" for FTPS via proxy

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

Gary D. Gregory commented on NET-718:
-------------------------------------

Hi [~sebalf-lb]

Thank you for your report.

We are going to need a reproducible test to debug and then keep to avoid regressions in the future. A PR on GitHub would be the best way to provide that.

Has anything else changed in your set up like the Java version?

> "Unsupported or unrecognized SSL message" for FTPS via proxy
> ------------------------------------------------------------
>
>                 Key: NET-718
>                 URL: https://issues.apache.org/jira/browse/NET-718
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 3.9.0
>            Reporter: Sebastian Alfers
>            Priority: Major
>
> After bumping from commons-net 3.8 to 3.9, we started to see this error.
> I happens only when using FTPS via a proxy, and it is likely that this change may have introduced. 
>  
> Any recommendation how to bring back the pre-3.9 behavior? This is the full stacktrace:
> {code:java}
> Start of log messages of test that failed with assertion failed: fishForMessage(OnNext(_) or OnComplete) found unexpected message OnError(javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
>     at java.base/sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(SSLSocketInputRecord.java:451)
>     at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:175)
>     at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
>     at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1505)
>     at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1420)
>     at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)
>     at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426)
>     at org.apache.commons.net.ftp.FTPSClient.openDataConnection(FTPSClient.java:278)
>     at org.apache.commons.net.ftp.FTPClient._retrieveFileStream(FTPClient.java:915)
>     at org.apache.commons.net.ftp.FTPClient.retrieveFileStream(FTPClient.java:2841)
>     at akka.stream.alpakka.ftp.impl.CommonFtpOperations.$anonfun$retrieveFileInputStream$1(CommonFtpOperations.scala:71)
>     at scala.util.Try$.apply(Try.scala:210) {code}
>  
>  
>  
>  



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