Opened 12 years ago

Closed 11 years ago

#7788 closed Bug report (outdated)

Enabling TLS 1.2 causes a GnuTLS error -9

Reported by: ChrisTX Owned by:
Priority: high Component: FileZilla Client
Keywords: GnuTLS, TLS 1.2 Cc:
Component version: Operating system type: Windows
Operating system version: Windows 7


I'm hosting a FTP server with explicit TLS and recently enabled TLS 1.1/1.2 on it. Now a few users reported to me (and I could reproduce this) that they couldn't connect to the server due to a GnuTLS error being displayed.
Other clients using GnuTLS (but those are using newer version from what they've told me) or Windows CryptoAPI/CNG (ie SmartFTP) can still connect flawlessy.

IIS 7.5, SSL 3.0, TLS 1.0,1.1,1.2 enabled, explicit mode. (with 1.1/1.2 disabled, it works)


Status: Resolving address of
Status: Connecting to x.x.x.x:21...
Status: Connection established, waiting for welcome message...
Trace: CFtpControlSocket::OnReceive()
Response: 220 Microsoft FTP Service
Trace: CFtpControlSocket::SendNextCommand()
Command: AUTH TLS
Trace: CFtpControlSocket::OnReceive()
Response: 234 AUTH command ok. Expecting TLS Negotiation.
Status: Initializing TLS...
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::ContinueHandshake()
Trace: CTlsSocket::OnSend()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::ContinueHandshake()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::ContinueHandshake()
Trace: CTlsSocket::Failure(-9, 10053)
Error: GnuTLS error -9: A TLS packet with unexpected length was received.
Status: Server did not properly shut down TLS connection
Trace: CTlsSocket::OnSocketEvent(): close event received
Trace: CRealControlSocket::OnClose(10053)
Trace: CControlSocket::DoClose(64)
Trace: CFtpControlSocket::ResetOperation(66)
Trace: CControlSocket::ResetOperation(66)
Error: Could not connect to server
Trace: CFileZillaEnginePrivate::ResetOperation(66)
Status: Waiting to retry...
Trace: CControlSocket::DoClose(64)
Trace: CControlSocket::DoClose(64)

Change History (2)

comment:1 by Alexander Schuch, 11 years ago

Status: newmoreinfo

Maybe a duplicate of #7206?

Which version of GnuTLS are you using - see "about" dialogue?
Do you still have the problem with a current version of FileZilla?

comment:2 by Alexander Schuch, 11 years ago

Resolution: outdated
Status: moreinfoclosed

No reply for more than 28 days.

Note: See TracTickets for help on using tickets.