#8545 closed Bug report (fixed)
upload to a TLS FTP server: Error: GnuTLS error -59 in gnutls_record_send: GnuTLS internal error
Reported by: | pyro | Owned by: | Tim Kosse |
---|---|---|---|
Priority: | blocker | Component: | FileZilla Client |
Keywords: | GnuTLS error -59 | Cc: | scipiomassimomail@…, spam3910807@… |
Component version: | Operating system type: | Linux | |
Operating system version: | Archlinux (~amd64) |
Description
After the upgrade to gnutls-3.1.9 I can no longer enter a passive mode connection with my ftp server. gnutls-3.1.8 works.
Filezilla log:
Response: 230 User thomas logged in
Status: Server does not support non-ASCII characters.
Command: PBSZ 0
Response: 200 PBSZ 0 successful
Command: PROT P
Response: 200 Protection set to Private
Status: Connected
Trace: Measured latency of 70 ms
Status: Starting upload of /home/pyro/testfile.bin
Command: CWD /
Response: 250 CWD command successful
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (83,133,106,33,214,79).
Command: STOR testfile.bin
Trace: Trying to resume existing TLS session.
Response: 150 Opening BINARY mode data connection for testfile.bin
Trace: TLS Handshake successful
Trace: TLS Session resumed
Trace: Cipher: AES-256-CBC, MAC: SHA1
Error: GnuTLS error -59 in gnutls_record_send: GnuTLS internal error.
Error: Could not write to transfer socket: ECONNABORTED - Connection aborted
Response: 226 Transfer complete
Error: File transfer failed
Status: Starting upload of /home/pyro/testfile.bin
Status: Retrieving directory listing...
Trace: ftpcontrolsocket.cpp(1317): List called from other command caller=0x1c10050
Command: PASV
Response: 227 Entering Passive Mode (83,133,106,33,213,35).
Command: MLSD
Trace: Trying to resume existing TLS session.
Response: 150 Opening BINARY mode data connection for MLSD
Trace: TLS Handshake successful
Trace: TLS Session resumed
Trace: Cipher: AES-256-CBC, MAC: SHA1
Response: 226 Transfer complete
Command: PASV
Response: 227 Entering Passive Mode (83,133,106,33,212,255).
Command: STOR testfile.bin
Trace: Trying to resume existing TLS session.
Response: 150 Opening BINARY mode data connection for testfile.bin
Trace: TLS Handshake successful
Trace: TLS Session resumed
Trace: Cipher: AES-256-CBC, MAC: SHA1
Error: GnuTLS error -59 in gnutls_record_send: GnuTLS internal error.
Error: Could not write to transfer socket: ECONNABORTED - Connection aborted
Response: 226 Transfer complete
Error: File transfer failed
Status: Starting upload of /home/pyro/testfile.bin
Status: Retrieving directory listing...
Trace: ftpcontrolsocket.cpp(1317): List called from other command caller=0x1c10050
Command: PASV
Response: 227 Entering Passive Mode (83,133,106,33,214,53).
Command: MLSD
Trace: Trying to resume existing TLS session.
Response: 150 Opening BINARY mode data connection for MLSD
Trace: TLS Handshake successful
Trace: TLS Session resumed
Trace: Cipher: AES-256-CBC, MAC: SHA1
Response: 226 Transfer complete
Command: PASV
Response: 227 Entering Passive Mode (83,133,106,33,212,87).
Command: STOR testfile.bin
Trace: Trying to resume existing TLS session.
Response: 150 Opening BINARY mode data connection for testfile.bin
Trace: TLS Handshake successful
Trace: TLS Session resumed
Trace: Cipher: AES-256-CBC, MAC: SHA1
Error: GnuTLS error -59 in gnutls_record_send: GnuTLS internal error.
Error: Could not write to transfer socket: ECONNABORTED - Connection aborted
Response: 226 Transfer complete
Error: File transfer failed
Status: Retrieving directory listing...
Command: PASV
Response: 227 Entering Passive Mode (83,133,106,33,212,191).
Command: MLSD
Trace: Trying to resume existing TLS session.
Response: 150 Opening BINARY mode data connection for MLSD
Trace: TLS Handshake successful
Trace: TLS Session resumed
Trace: Cipher: AES-256-CBC, MAC: SHA1
Response: 226 Transfer complete
Status: Directory listing successful
Change History (8)
comment:1 by , 12 years ago
Operating system version: | → Gentoo testing (~amd64) |
---|
comment:2 by , 12 years ago
Cc: | added |
---|
comment:3 by , 12 years ago
Owner: | set to |
---|---|
Status: | new → accepted |
Bug in GnuTLS.
FZ 3.7.0 has been pulled from the auto-update system for now. Expect a 3.7.1 with a patched GnuTLS later today.
comment:4 by , 12 years ago
Priority: | normal → blocker |
---|
follow-up: 6 comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
3.7.0.1 is out.
comment:6 by , 12 years ago
Operating system version: | Gentoo testing (~amd64) → Archlinux (~amd64) |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Replying to codesquid:
3.7.0.1 is out.
I can't confirm, that this bug is fixed. It is still present in version 3.7.0.1 from archlinux.
comment:7 by , 12 years ago
Cc: | added |
---|
Still present in Gentoo ~amd64:
filezilla-3.7.0.1
gnutls-3.2.0
comment:8 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Your GnuTLS version is broken. You need to apply https://gitorious.org/gnutls/gnutls/commit/0a442f272faee883df1ab907917e35aa5d0ea7a0
I've received the same error attempting to enter passive mode on my server. I connect with FTPES and disallow plain unencrypted FTP. Can connect fine with GnuTLS 3.1.8, but not with 3.1.10 (which the newest filezilla for windows uses). I have an AMD x64 CPU.
FileZilla Client
Version: 3.7.0
Build information:
Linked against:
Operating system:
Response: 230 Logged on
Command: PBSZ 0
Response: 200 PBSZ=0
Command: PROT P
Response: 200 Protection level set to P
Status: Connected
Status: Starting upload of H:\File.iso
Command: CWD /
Response: 250 CWD successful. "/" is current directory.
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (71,175,96,10,3,233)
Command: STOR File.iso
Response: 150 Connection accepted
Error: GnuTLS error -59: GnuTLS internal error.
Response: 226 Transfer OK
Error: File transfer failed after transferring 262,144 bytes in 1 second
Status: Starting upload of H:\File.iso
Status: Retrieving directory listing...
Command: PASV
Response: 227 Entering Passive Mode (71,175,96,10,3,234)
Command: MLSD
Response: 150 Connection accepted
Response: 226 Transfer OK
Command: PASV
Response: 227 Entering Passive Mode (71,175,96,10,3,235)
Command: REST 262144
Response: 350 Rest supported. Restarting at 262144
Command: STOR File.iso
Response: 150 Connection accepted, restarting at offset 262144
Error: GnuTLS error -59: GnuTLS internal error.
Response: 226 Transfer OK
Error: File transfer failed after transferring 262,144 bytes in 1 second
Status: Starting upload of H:\File.iso
Status: Retrieving directory listing...
Command: PASV
Response: 227 Entering Passive Mode (71,175,96,10,3,236)
Command: REST 0
Response: 350 Rest supported. Restarting at 0
Command: MLSD
Response: 150 Connection accepted
Response: 226 Transfer OK
Command: PASV
Response: 227 Entering Passive Mode (71,175,96,10,3,237)
Command: REST 524288
Response: 350 Rest supported. Restarting at 524288
Command: STOR File.iso
Response: 150 Connection accepted, restarting at offset 524288
Error: GnuTLS error -59: GnuTLS internal error.
Response: 226 Transfer OK
Error: File transfer failed after transferring 311,296 bytes in 1 second
Status: Retrieving directory listing...
Command: PASV
Response: 227 Entering Passive Mode (71,175,96,10,3,232)
Command: REST 0
Response: 350 Rest supported. Restarting at 0
Command: MLSD
Response: 150 Connection accepted
Response: 226 Transfer OK
Status: Directory listing successful
Status: Disconnected from server
Response: 421 Connection timed out.
Error: Connection closed by server