Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 39490 invoked from network); 2 Dec 2010 15:41:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Dec 2010 15:41:24 -0000 Received: (qmail 97431 invoked by uid 500); 2 Dec 2010 15:41:23 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 97236 invoked by uid 500); 2 Dec 2010 15:41:23 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 97228 invoked by uid 99); 2 Dec 2010 15:41:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 15:41:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 209.85.212.43 as permitted sender) Received: from [209.85.212.43] (HELO mail-vw0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Dec 2010 15:41:15 +0000 Received: by vws17 with SMTP id 17so3227543vws.30 for ; Thu, 02 Dec 2010 07:40:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=fmL5AMEbYTsY/wGQbUSdNsDN36Zx6noWxr8yG5RZ9iE=; b=aCGqLtUuUCPcAIpSX5re2Dh2kzmqop4huOwUc+RrqIdT3fR7uJQ/iCw1h/e22Or0Cn DBLpjX8oSUJwQP2a7GkmEwKhK7jlX2pD+J/vCDCdhB+0Bo7o2af4xArc29aJDcqV4r5I JbPzi/MM9OsvV1scflTSoMv9rBKxWCllCVI9I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=vUGPJG7mAt/Dwc0dS9rWAvmWHsV0Y2WTDDDebLNtRHhRpxpa1pL3Lb2JjAyHZHdP/C soD69ae4GUmFXgCx+7oc3IfB+Vx9P7tyOWtvY1A0PdCh5/iMH3Arzsi+gL7xHPYmHSsZ IyUs0g5UmvPsxa7ySoqzCL146VQ3EJq0eUEoE= MIME-Version: 1.0 Received: by 10.229.217.79 with SMTP id hl15mr150829qcb.185.1291304454148; Thu, 02 Dec 2010 07:40:54 -0800 (PST) Received: by 10.229.72.94 with HTTP; Thu, 2 Dec 2010 07:40:54 -0800 (PST) In-Reply-To: References: <4CF6B259.3020402@googlemail.com> Date: Thu, 2 Dec 2010 15:40:54 +0000 Message-ID: Subject: Re: [NET] SSL nsupported,record version From: sebb To: Commons Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On 2 December 2010 07:47, Aidan Diffey wrote: > I am using Java 1.5.0_21. Can you try with a different version of Java? Does the problem happen with all files? > I am a single client connecting to a single FTP server. =A0The server is > running FTPES mode. > > Cheers for the help. > > On 2 December 2010 00:18, sebb wrote: >> On 1 December 2010 20:38, Aidan Diffey wrote: >>> Hello all. >>> >>> I was wondering if anyone had any idea on what causes the following >>> error message when I am trying to connect an FTP client (using >>> Common.net FTPSClient) with explicit SSL to a server. >>> I can connect >>> using FileZilla and FTPES mode correctly. >>> >>> 220 "Welcome" >>> AUTH TLS >>> 234 Proceed with negotiation. >>> USER **** >>> 331 Please specify the password. >>> PASS **** >>> 230 Login successful. >>> OPTS UTF8 ON >>> 200 Always in UTF8 mode. >>> PBSZ 0 >>> 200 PBSZ set to 0. >>> PROT P >>> 200 PROT now Private. >>> TYPE I >>> 200 Switching to Binary mode. >>> CWD Commands >>> 250 Directory successfully changed. >>> TYPE A >>> 200 Switching to ASCII mode. >>> PASV >>> 227 Entering Passive Mode (10,20,3,112,117,87). >>> STOR command.xml >>> 150 Ok to send data. >>> >>> Exception in thread "main" javax.net.ssl.SSLException: Unsupported >>> record version Unknown-48.48 >> >> A web search suggests that this occurs when the SSL stream gets out of >> step somehow, and this confuses the decoder. >> >> This may be related to the Java version you are using - have you tried >> with a different one? >> What Java version are you using currently? >> >> Does it happen with multiple servers and multiple files? >> Is there a publicly accessible server that shows the behaviour? >> >>> =A0 =A0 =A0 =A0at >>> com.sun.net.ssl.internal.ssl.InputRecord.readV3Record(InputRecord.java:= 375) >>> =A0 =A0 =A0 =A0at >>> com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:360) >>> =A0 =A0 =A0 =A0at >>> com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.jav= a:782) >>> =A0 =A0 =A0 =A0at >>> com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl= .java:739) >>> =A0 =A0 =A0 =A0at >>> com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75= ) >>> =A0 =A0 =A0 =A0at >>> sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411) >>> =A0 =A0 =A0 =A0at >>> sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453) >>> =A0 =A0 =A0 =A0at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183) >>> =A0 =A0 =A0 =A0at java.io.InputStreamReader.read(InputStreamReader.java= :167) >>> =A0 =A0 =A0 =A0at java.io.BufferedReader.fill(BufferedReader.java:136) >>> =A0 =A0 =A0 =A0at java.io.BufferedReader.readLine(BufferedReader.java:2= 99) >>> =A0 =A0 =A0 =A0at java.io.BufferedReader.readLine(BufferedReader.java:3= 62) >>> =A0 =A0 =A0 =A0at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:29= 4) >>> =A0 =A0 =A0 =A0at org.apache.commons.net.ftp.FTP.getReply(FTP.java:619) >>> =A0 =A0 =A0 =A0at >>> org.apache.commons.net.ftp.FTPClient.completePendingCommand(FTPClient.j= ava:1244) >>> =A0 =A0 =A0 =A0at >>> org.apache.commons.net.ftp.FTPClient.__storeFile(FTPClient.java:401) >>> >>> >>> Regards >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org >>> For additional commands, e-mail: user-help@commons.apache.org >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org >> For additional commands, e-mail: user-help@commons.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org > For additional commands, e-mail: user-help@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org