commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Hauser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NET-495) Unsupported record version Unknown-48.48 - commons-net-3.1.jar
Date Mon, 27 Jul 2015 08:25:04 GMT

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

Ralf Hauser commented on NET-495:
---------------------------------

maybe it now ignores a missing final answer as in the mail example https://community.oracle.com/thread/1590373


<< props.put("mail.smtp.quitwait", "false");
This property means :

If set to false, the QUIT command is sent and the connection is immediately
closed. If set to true (the default), causes the transport to wait for the
response to the QUIT command.>>


> 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
>             Fix For: 3.2
>
>         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 was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message