#2 Error: 522 SSL connection failed; session reuse required

closed
3
2013-02-03
2009-06-01
Carlo Pelliccia
No

522 SSL connection failed; session reuse required

This one occurs while establishing a SSL secured connection
for data exchange in FTPS e FTPES modes. The connection is
refused and the message is issued on the control channel.

The problem can be solved on the server-side, switching off the
"require_ssl_reuse" flag on the vsFTPd configuration, but it would
be nice if ftp4j could support that.

Log:

SERVER: 220 (vsFTPd 2.1.0)

CLIENT: AUTH TLS

SERVER: 234 Proceed with negotiation.

CLIENT: USER XXX

SERVER: 331 Please specify the password.

CLIENT: PASS XXX

SERVER: 230 Login successful.

CLIENT: FEAT

SERVER: 211-Features:

SERVER: AUTH SSL

SERVER: AUTH TLS

SERVER: EPRT

SERVER: EPSV

SERVER: MDTM

SERVER: PASV

SERVER: PBSZ

SERVER: PROT

SERVER: REST STREAM

SERVER: SIZE

SERVER: TVFS

SERVER: UTF8

SERVER: 211 End

CLIENT: OPTS UTF8 ON

SERVER: 200 Always in UTF8 mode.

CLIENT: PROT P

SERVER: 200 PROT now Private.

CLIENT: PASV

SERVER: 227 Entering Passive Mode (XXXXXXXXXXXXXXXXXXXXX).

CLIENT: TYPE A

SERVER: 200 Switching to ASCII mode.

CLIENT: LIST

SERVER: 150 Here comes the directory listing.

SERVER: 522 SSL connection failed; session reuse required

SUBMITTED BY: Junyan Huangfu

Discussion

    • status: open --> closed
     
  • this is more likely a vsftpd problem