error messages in the latest version

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Message
Author
mr108
504 Command not implemented
Posts: 9
Joined: 2019-02-04 16:32

error messages in the latest version

#1 Post by mr108 » 2019-02-04 16:40

Hello,

I've been using FileZilla for a long time but just recently with the latest version 3.40 I'm most of the time getting this error message:

Error: GnuTLS error -110 in gnutls_record_recv: The TLS connection was non-properly terminated.
Status: Server did not properly shut down TLS connection
Error: Could not read from socket: ECONNABORTED - Connection aborted

What's wrong? How to fix it?

Thanks

mr108
504 Command not implemented
Posts: 9
Joined: 2019-02-04 16:32

Re: error messages in the latest version

#2 Post by mr108 » 2019-02-04 16:57

I did the test here: https://ftptest.net/ and there is one warning:
Warning: The entered address does not resolve to an IPv6 address.

what to do? How to fix it?

User avatar
botg
Site Admin
Posts: 35491
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: error messages in the latest version

#3 Post by botg » 2019-02-05 09:50

When do you get the message about the lost connection? Is it during an active operation or during idle time?

To fix the test warning, the DNS administrator needs to add an AAAA record for the host.

mr108
504 Command not implemented
Posts: 9
Joined: 2019-02-04 16:32

Re: error messages in the latest version

#4 Post by mr108 » 2019-02-06 00:11

Just tested again and this is the log when I connect and then try to view another sub-directory 'foto':

Status: Resolving address of ftp.byethost13.com
Status: Connecting to 185.27.134.11:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Logged in
Status: Retrieving directory listing of "/purusha.is-great.org/htdocs"...
Status: Directory listing of "/purusha.is-great.org/htdocs" successful
Status: Retrieving directory listing of "/purusha.is-great.org/htdocs/foto"...
Command: CWD foto
Response: 250 OK. Current directory is /purusha.is-great.org/htdocs/foto
Command: PWD
Response: 257 "/purusha.is-great.org/htdocs/foto" is your current location
Command: PASV
Response: 227 Entering Passive Mode (185,27,134,11,62,154)
Command: MLSD
Error: GnuTLS error -110: The TLS connection was non-properly terminated.
Status: Server did not properly shut down TLS connection
Error: The data connection could not be established: ECONNABORTED - Connection aborted

[my comment: the above shows up after clicking on subdirectory 'foto'; then after a minute or so the lines below show up]

Response: 421 Timeout
Error: Failed to retrieve directory listing
Error: GnuTLS error -110: The TLS connection was non-properly terminated.
Status: Server did not properly shut down TLS connection
Status: Disconnected from server: ECONNABORTED - Connection aborted

mr108
504 Command not implemented
Posts: 9
Joined: 2019-02-04 16:32

Re: error messages in the latest version

#5 Post by mr108 » 2019-02-06 00:16

botg wrote:
2019-02-05 09:50
To fix the test warning, the DNS administrator needs to add an AAAA record for the host.
So this would be something that the hosting administrator wold do?
I have no idea what it means and how to add such a record.

User avatar
botg
Site Admin
Posts: 35491
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: error messages in the latest version

#6 Post by botg » 2019-02-06 09:32

Yes, based on the hostname from your log the hosting provider seems to be responsible for managing this.

mr108
504 Command not implemented
Posts: 9
Joined: 2019-02-04 16:32

Re: error messages in the latest version

#7 Post by mr108 » 2019-02-06 10:46

I submitted the ticket to the support of my hosting service (free hosting) and they replied:

"Please try disabling TLS in the FTP client."

When I do that, setting to only use plain FTP, the transfers go more smoothly without these constant interruptions.

User avatar
botg
Site Admin
Posts: 35491
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: error messages in the latest version

#8 Post by botg » 2019-02-06 14:46

That's a terrible advise. Plain FTP is insecure, no respectable hosting provider would ever make such a suggestion.

mr108
504 Command not implemented
Posts: 9
Joined: 2019-02-04 16:32

Re: error messages in the latest version

#9 Post by mr108 » 2019-02-06 17:13

botg wrote:
2019-02-06 14:46
That's a terrible advise. Plain FTP is insecure, no respectable hosting provider would ever make such a suggestion.
They are maybe more alert and reasonable when dealing with paying customers.

But in the past FileZilla did not have these problems with TLS. So you must have done some changes quite recently.
What versions were still working OK without encountering these problems?

User avatar
botg
Site Admin
Posts: 35491
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: error messages in the latest version

#10 Post by botg » 2019-02-06 17:22

Older versions of FileZilla are not supported. We only roll forward.

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: error messages in the latest version

#11 Post by boco » 2019-02-06 23:21

The server software makers need to finally do their homework and implement the TLS 1.3 specs properly. If they don't support TLS 1.3 yet (which is currently fine), they MUST NOT advertise any support for it.

TLS 1.3 specs have been recently finalized, FileZilla now supports it and will use it if the server advertises support. Example:

Client: Do you speak German?
Server: Yes, I do.
Client: Guten Tag.
Server: What did you just say!? OMG ERROR
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

User avatar
botg
Site Admin
Posts: 35491
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: error messages in the latest version

#12 Post by botg » 2019-02-07 00:08

Jawohlolol ;)

Rather desolate situation actually. I've looked a the source code of several of these server products, the way they mis-use direct access to OpenSSL internals due to a lack of proper encapsulation and sane API makes me sad :( Why don't more people use a decent TLS library instead of OpenSSL?


To give an example on how bad things are, there are a bunch of documented functions in OpenSSL, with a prameter types and return types, which actually aren't functions at all, but just preprocessor macros to a generic do-it-all function, coupled with a lot of explicit casts to fit arguments and return types in order to silence compiler warnings. Yuk...

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: error messages in the latest version

#13 Post by boco » 2019-02-07 03:05

[Offtopic]Well, that probably means that TLS 1.3 support in FileZilla Server will only come once you freed it of OpenSSL dependencies.[/Offtopic]

BTT

Would it be possible to have 3.39 compatibility mode where FileZilla simply switches off any TLS 1.3 support, globally? Should be no risk of downgrade as it never would advertise any 1.3 support in the first place. Exactly like 3.39 did.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

mr108
504 Command not implemented
Posts: 9
Joined: 2019-02-04 16:32

Re: error messages in the latest version

#14 Post by mr108 » 2019-02-07 04:01

boco wrote:
2019-02-06 23:21
The server software makers need to finally do their homework and implement the TLS 1.3 specs properly. If they don't support TLS 1.3 yet (which is currently fine), they MUST NOT advertise any support for it.

TLS 1.3 specs have been recently finalized, FileZilla now supports it and will use it if the server advertises support. Example:

Client: Do you speak German?
Server: Yes, I do.
Client: Guten Tag.
Server: What did you just say!? OMG ERROR
I like your example! :D - it makes it easier to understand since I don't have all that knowledge of technical terms.
Thanks!

mr108
504 Command not implemented
Posts: 9
Joined: 2019-02-04 16:32

Re: error messages in the latest version

#15 Post by mr108 » 2019-02-07 04:08

Something interesting happened now.
I connected to this forum using VPN because I've been getting this notification:
"You have been permanently banned from this board.
Please contact the Board Administrator for more information.
A ban has been issued on your IP address."

But while connected through VPN I tried uploading files again with 'Use explicit FTP over TLS if available' settings that was problematic before, and now no problems, no disconnecting and no errors and it goes FAST! :D

Post Reply