You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Deepak Pant (JIRA)" <ji...@apache.org> on 2013/01/10 15:06:12 UTC

[jira] [Updated] (NET-495) Unsupported record version Unknown-48.48 - commons-net-3.1.jar

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

Deepak Pant updated NET-495:
----------------------------

    Attachment: FTPSClient_Error_Dump.txt

The Log file containing both the Java stack trace as well as the SSL dump collected using -Djavax.net.debug=all option.
                
> Unsupported record version Unknown-48.48 - commons-net-3.1.jar
> --------------------------------------------------------------
>
>                 Key: NET-495
>                 URL: https://issues.apache.org/jira/browse/NET-495
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 3.1
>         Environment: Windows XP, Windows 7, HP-UX
>            Reporter: Deepak Pant
>              Labels: commons-net-3.1.jar, ftp, ftps
>         Attachments: FTPSClient_Error_Dump.txt
>
>
> FTPSClient bundled in "commons-net-3.1.jar" returns "Unsupported record version Unknown-48.48" error when I try to FTP a zero byte file. This error doesn't come when we use "commons-net-2.0.jar" file.
> javax.net.ssl.SSLException: Unsupported record version Unknown-48.48
>         at com.sun.net.ssl.internal.ssl.InputRecord.readV3Record(InputRecord.java:375)
>         at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:360)
>         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:830)
>         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:787)
>         at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
>         at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
>         at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
>         at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
>         at java.io.InputStreamReader.read(InputStreamReader.java:167)
>         at java.io.BufferedReader.fill(BufferedReader.java:136)
>         at java.io.BufferedReader.readLine(BufferedReader.java:299)
>         at java.io.BufferedReader.readLine(BufferedReader.java:362)
>         at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:310)
>         at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:290)
>         at org.apache.commons.net.ftp.FTP.getReply(FTP.java:637)
>         at org.apache.commons.net.ftp.FTPClient.completePendingCommand(FTPClient.java:1637)
>         at org.apache.commons.net.ftp.FTPClient._storeFile(FTPClient.java:599)
>         at org.apache.commons.net.ftp.FTPClient.__storeFile(FTPClient.java:557)
>         at org.apache.commons.net.ftp.FTPClient.storeFile(FTPClient.java:1795)
>         at FTPSExample.main(FTPSExample.java:173)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira