commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simonetrip...@apache.org>
Subject [net] javax.net.ssl.SSLException: Unsupported record version Unknown-48.48
Date Thu, 23 Aug 2012 13:00:59 GMT
Hi all guys,

During an FTP upload to an FTPS server, I stumbled to a problem
another user had time ago[1], but at that time no solution was
provided - and I was not able to find the a working configuration.

The issue I have is the whole FTP protocol goes well untile trying to
store a local file to the remote server, connection will be
interrupted due to a detected SSL error: Unsupported record version
Unknown-48.48
Follow below the stacktrace - as you can see, I am using commons-net-3.1

Can you point me please to the right direction?
Many thanks in advance, all the best!
-Simo

[1] http://markmail.org/message/4mby6uyom4dr2ojf

javax.net.ssl.SSLException: Connection has been shutdown:
javax.net.ssl.SSLException: Unsupported record version Unknown-48.48
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1325)
~[na:1.6]
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1337)
~[na:1.6]
	at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:44)
~[na:1.6]
	at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202) ~[na:1.6.0_33]
	at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
~[na:1.6.0_33]
	at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276) ~[na:1.6.0_33]
	at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122) ~[na:1.6.0_33]
	at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212) ~[na:1.6.0_33]
	at java.io.BufferedWriter.flush(BufferedWriter.java:236) ~[na:1.6.0_33]
	at org.apache.commons.net.ftp.FTP.__send(FTP.java:501)
~[commons-net-3.1.jar:3.1]
	at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:475)
~[commons-net-3.1.jar:3.1]
	at org.apache.commons.net.ftp.FTPSClient.sendCommand(FTPSClient.java:535)
~[commons-net-3.1.jar:3.1]
	at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:552)
~[commons-net-3.1.jar:3.1]
	at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:601)
~[commons-net-3.1.jar:3.1]
	at org.apache.commons.net.ftp.FTP.quit(FTP.java:809) ~[commons-net-3.1.jar:3.1]
	at org.apache.commons.net.ftp.FTPClient.logout(FTPClient.java:979)
~[commons-net-3.1.jar:3.1]


http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message