File uploads with FTPES over a TLS data conection always fail after 144 KB are sent. A timeout occurs and filezilla resumes the upload just to fail again after another 144 KB sent.
The problem is reported in the filezilla bug tracker here:
The Problem is also discussed in the filezilla forum at diffenent locations, most specifically here:
So it seems to come down to changes in GnuTLS that are not yet reflected in the way filezilla uses the library.
In my case the problem occurs with a vsftpd-3.0.0 server. It works from the same client host with lftp. Since different peolpe have reported the problem with different ftp servers, with and without firewalls, it probably is not a problem on the network / firewall / router level.
Steps to Reproduce:
To reproduce connect to a FTP server like vsftpd, that is configured to encrypt both the control and the data connection with SSL/TLS, in mode FTP(E)S. Then try to upload a large file (over 1 MB should be sufficient to trigger the problem).
Created attachment 321338 [details]
Created attachment 321340 [details]
Filezilla debug log with upload failing multiple times
Can you try with 3.6.0 (I just added it to tree, it should appear soon in your rsync) + gnutls-3.1? Changelog for 3.6.0 indicates TLS fixes/enhancements with gnutls-3.x
(In reply to comment #3)
> Can you try with 3.6.0 (I just added it to tree, it should appear soon in
> your rsync) + gnutls-3.1? Changelog for 3.6.0 indicates TLS
> fixes/enhancements with gnutls-3.x
It also does not work with version 3.6.0 and GnuTLS 3.1.4.
Same problem as before, I'm going to attach a new log.
Filezilla 3.6.0 builds with GnuTLS 2.12.20, but fails to connect immediately:
Status: Initializing TLS...
Error: GnuTLS error -50: The request is invalid.
Error: Failed to initialize TLS.
Error: Could not connect to server
So the ebuild should probably require GnuTLS > 3.1.
Created attachment 329358 [details]
Filezilla-3.6.0 with GnuTLS 3.1.4 debug log with upload failing multiple times
Well, it was worth the try... Thanks for the version check on gnutls, I updated the ebuild to require >=3.1
Let's see if the bug update upstream will help
18.104.22.168 mentions "Fix problems with stalling FTP over TLS uploads". Let's cross fingers for this new version (I just added it to tree)
The Problem is fixed in filezilla 22.214.171.124.
Tested with gnutls-3.1.5 on amd64.