GnuTLS error -110 when browsing empty directories

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

Moderator: Project members

Post Reply
Message
Author
arvobowen
500 Syntax error
Posts: 17
Joined: 2015-07-24 14:22
First name: Arvo
Last name: Bowen

GnuTLS error -110 when browsing empty directories

#1 Post by arvobowen » 2021-10-07 21:55

I keep getting the following error when I browse into a directory that is empty. Any ideas why?

Code: Select all

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 transfer socket: ECONNABORTED - Connection aborted
Error:	Failed to retrieve directory listing
Status:	Retrieving directory listing of "/"...
Below is an example of what happens when I connect to my FTP server, then go into a software directory (see items), then go back a directory, then go into a data directory (which has no items and produces an error in filezilla client), then go back to root directory.

Code: Select all

Status:	Resolving address of my.ftpsite.com
Status:	Connecting to 8.8.8.8:21...
Status:	Connection established, waiting for welcome message...
Response:	220 My FTP Server
Command:	AUTH TLS
Response:	234 Using authentication type TLS
Status:	Initializing TLS...
Status:	Verifying certificate...
Status:	TLS connection established.
Command:	USER testuser
Response:	331 Password required for testuser
Command:	PASS ***********
Response:	230 Logged on
Command:	SYST
Response:	215 UNIX emulated by FileZilla
Command:	FEAT
Response:	211-Features:
Response:	 MDTM
Response:	 REST STREAM
Response:	 SIZE
Response:	 MLST type*;size*;modify*;
Response:	 AUTH SSL
Response:	 AUTH TLS
Response:	211 End
Status:	Server does not support non-ASCII characters.
Command:	PBSZ 0
Response:	200 PBSZ=0
Command:	PROT P
Response:	200 Protection level set to P
Status:	Logged in
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "/" is current directory.
Command:	TYPE I
Response:	200 Type set to I
Command:	PASV
Response:	227 Entering Passive Mode (8,8,8,8,15,182)
Command:	MLSD
Response:	150 Connection accepted
Response:	226 Transfer OK
Status:	Directory listing of "/" successful
Status:	Retrieving directory listing of "/software"...
Command:	CWD software
Response:	250 CWD successful. "/software" is current directory.
Command:	PWD
Response:	257 "/software" is current directory.
Command:	PASV
Response:	227 Entering Passive Mode (8,8,8,8,15,186)
Command:	MLSD
Response:	150 Connection accepted
Response:	226 Transfer OK
Status:	Directory listing of "/software" successful
Status:	Retrieving directory listing of "/"...
Command:	CDUP
Response:	200 CDUP successful. "/" is current directory.
Command:	PWD
Response:	257 "/" is current directory.
Status:	Directory listing of "/" successful
Status:	Retrieving directory listing of "/data"...
Command:	CWD data
Response:	250 CWD successful. "/data" is current directory.
Command:	PWD
Response:	257 "/data" is current directory.
Command:	PASV
Response:	227 Entering Passive Mode (8,8,8,8,15,192)
Command:	MLSD
Response:	150 Connection accepted
Response:	226 Transfer OK
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 transfer socket: ECONNABORTED - Connection aborted
Error:	Failed to retrieve directory listing
Status:	Retrieving directory listing of "/"...
Command:	CDUP
Response:	200 CDUP successful. "/" is current directory.
Command:	PWD
Response:	257 "/" is current directory.
Status:	Directory listing of "/" successful

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

Re: GnuTLS error -110 when browsing empty directories

#2 Post by botg » 2021-10-08 21:48

Most likely a faulty firewall or NAT router.

arvobowen
500 Syntax error
Posts: 17
Joined: 2015-07-24 14:22
First name: Arvo
Last name: Bowen

Re: GnuTLS error -110 when browsing empty directories

#3 Post by arvobowen » 2021-11-18 03:43

Not to be a pain or anything but just trying to resolve these issues. It never seemed to be an issue before. I had to rebuild the FTP server (internally/externally using the same IP, etc). If something was changed on the firewall I would like to ensure it's set up correctly. Is there anything else you might be able to tell me that might help me solve this issue? You say it's a firewall issue. Can you tell me why you think that?

Also, on another thread about this you said the following...
botg wrote:
2015-07-11 12:49
The only thing you can do is to upgrade your FTP server software. Contact your server administrator or server hosting provider for assistance if needed.
Since this issue happened, I have set up a test environment with the latest version of FileZilla Server and also using the latest version of FileZilla Client. The issue is still happening.

Client Output
Status: Resolving address of ngaftps.kofile.us
Status: Connecting to 10.95.7.32:21...
Status: Connection established, waiting for welcome message...
Response: 220-FileZilla Server 1.1.0
Response: 220 Please visit https://filezilla-project.org/
Command: AUTH TLS
Response: 234 Using authentication type TLS.
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Command: USER [username]
Response: 331 Please, specify the password.
Command: PASS **********
Response: 230 Login successful.
Command: PBSZ 0
Response: 200 PBSZ=0
Command: PROT P
Response: 200 Protection level set to P
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Status: Directory listing of "/" successful
Status: Disconnected from server
Server Output
Image

It seems to not show up on the client side now but does on the server's side. And it only happens when I disconnect from the server. Any ideas?

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

Re: GnuTLS error -110 when browsing empty directories

#4 Post by botg » 2021-11-18 09:35

It's normal, you can safely ignore the error in the server log if there were no outstanding commands.

I'm looking into a way to suppress the harmless error at the end of a connection.

arvobowen
500 Syntax error
Posts: 17
Joined: 2015-07-24 14:22
First name: Arvo
Last name: Bowen

Re: GnuTLS error -110 when browsing empty directories

#5 Post by arvobowen » 2021-11-18 17:31

ok great! Thanks botg.

mrchrister
500 Command not understood
Posts: 1
Joined: 2022-02-02 06:00
First name: Christoph
Last name: Helms

Re: GnuTLS error -110 when browsing empty directories

#6 Post by mrchrister » 2022-02-02 06:04

I also see GnuTLS errors a lot and was wondering if there is a way now to suppress it (or maybe a comment in FZ Server about the error being noncritical)
I've been looking around for quite a while before finding this thread.

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

Re: GnuTLS error -110 when browsing empty directories

#7 Post by botg » 2022-02-02 09:37

It will be addressed in a future version.

Post Reply