GnuTLS error -110 in gnutls_record_recv: The TLS Connection was non-properly terminated

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

Moderator: Project members

Post Reply
Message
Author
wanakt
500 Command not understood
Posts: 3
Joined: 2022-06-20 08:23
First name: Jay
Last name: Kim

GnuTLS error -110 in gnutls_record_recv: The TLS Connection was non-properly terminated

#1 Post by wanakt » 2022-06-20 09:20

I am using FileZilla Server 1.4.1.

The server seems to be installed properly, since it passed the test on ftptest.net.
Furthermore, getting list of directories, downloading and delete through TLS Connection succeeded.

However, whenever I try to upload a file to the ftp, an error message "GnuTLS error -110 in gnutls_record_recv: The TLS Connection was non-properly terminated" continues to appear.
The log of FileZilla Server is as follows;

<Date> Info [Type] Message
<> FTP Session 297 192.168.0.1 [Response] 220-FileZilla Server 1.4.1
<> FTP Session 297 192.168.0.1 [Response] 220 Please visit https://filezilla-project.org/
<> FTP Session 297 192.168.0.1 [Command] AUTH TLS
<> FTP Session 297 192.168.0.1 [Response] 234 Using authentication type TLS.
<> FTP Session 297 192.168.0.1 [Command] USER ****
<> FTP Session 297 192.168.0.1 [Response] 331 Please, specify the password.
<> FTP Session 297 192.168.0.1 [Command] PASS ****
<> FTP Session 297 192.168.0.1 wanakt [Response] 230 Login successful.
<> FTP Session 297 192.168.0.1 wanakt [Command] PBSZ 0
<> FTP Session 297 192.168.0.1 wanakt [Response] 200 PBSZ=0
<> FTP Session 297 192.168.0.1 wanakt [Command] PROT P
<> FTP Session 297 192.168.0.1 wanakt [Response] 200 Protection level set to P
<> FTP Session 297 192.168.0.1 wanakt [Command] OPTS utf8 on
<> FTP Session 297 192.168.0.1 wanakt [Response] 202 UTF8 mode is always enabled. No need to send this command
<> FTP Session 297 192.168.0.1 wanakt [Command] PWD
<> FTP Session 297 192.168.0.1 wanakt [Response] 257 "/" is current directory.
<> FTP Session 297 192.168.0.1 wanakt [Command] TYPE I
<> FTP Session 297 192.168.0.1 wanakt [Response] 200 Type set to I
<> FTP Session 297 192.168.0.1 wanakt [Command] PASV
<> FTP Session 297 192.168.0.1 wanakt [Response] 227 Entering Passive Mode (221,148,162,103,246,204)
<> FTP Session 297 192.168.0.1 wanakt [Command] STOR test/임차인 동의서(202호).pdf
<> FTP Session 297 192.168.0.1 wanakt [Response] 150 Starting data transfer.
<> FTP Session 297 192.168.0.1 wanakt [Error] GnuTLS error -110 in gnutls_record_recv: The TLS connection was non-properly terminated.
<> FTP Session 297 192.168.0.1 wanakt [Status] Client did not properly shut down TLS connection
<> FTP Session 297 192.168.0.1 wanakt [Response] 425 Error while transfering data: ECONNABORTED - Connection aborted

The odd things is that the file is uploaded properly regardless of the above error message.

It would be highly appreciated, if you would let me know what I should do to fix the above error.

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

Re: GnuTLS error -110 in gnutls_record_recv: The TLS Connection was non-properly terminated

#2 Post by botg » 2022-06-21 08:38

<> FTP Session 297 192.168.0.1 wanakt [Response] 227 Entering Passive Mode (221,148,162,103,246,204)
So the server sits behind a NAT router. Did you check the "Use the default host for local connections" checkbox on the server's passive mode settings page?

tchicken
504 Command not implemented
Posts: 8
Joined: 2022-06-21 14:44
First name: Michel
Last name: POULET

Re: GnuTLS error -110 in gnutls_record_recv: The TLS Connection was non-properly terminated

#3 Post by tchicken » 2022-06-22 20:06

Thank you for your answer botg,

I checked the box, restarted the service, but I still have the same error, another idea ?

And I have the same problème in passive or active mode !

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

Re: GnuTLS error -110 in gnutls_record_recv: The TLS Connection was non-properly terminated

#4 Post by botg » 2022-06-23 07:54

Please provide a log with the checkbox enabled. Which client software are you using?

tchicken
504 Command not implemented
Posts: 8
Joined: 2022-06-21 14:44
First name: Michel
Last name: POULET

Re: GnuTLS error -110 in gnutls_record_recv: The TLS Connection was non-properly terminated

#5 Post by tchicken » 2022-06-23 20:16

I use FileZilla client, log attached, thanks for your help ;)
Attachments
filezilla-server.log
(3.23 MiB) Downloaded 5 times

tchicken
504 Command not implemented
Posts: 8
Joined: 2022-06-21 14:44
First name: Michel
Last name: POULET

Re: GnuTLS error -110 in gnutls_record_recv: The TLS Connection was non-properly terminated

#6 Post by tchicken » 2022-06-24 07:47

"Use the following host (leave empty to keep the defaule one)" contained an IP address, I deleted it, it didn't solve the problem, I add the new log file as an attachment. thank you again for your precious help.
Attachments
filezilla-server.log
(3.25 MiB) Downloaded 1 time

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

Re: GnuTLS error -110 in gnutls_record_recv: The TLS Connection was non-properly terminated

#7 Post by botg » 2022-06-24 09:32

Are you using any firewalls or AV products? What happens if you completely uninstall them for a test?

wanakt
500 Command not understood
Posts: 3
Joined: 2022-06-20 08:23
First name: Jay
Last name: Kim

Re: GnuTLS error -110 in gnutls_record_recv: The TLS Connection was non-properly terminated

#8 Post by wanakt » 2022-06-25 02:36

I am using only window defender.
As per your recommendation, I reinstalled FileZilla Server but it did not solve the problem.

tchicken
504 Command not implemented
Posts: 8
Joined: 2022-06-21 14:44
First name: Michel
Last name: POULET

Re: GnuTLS error -110 in gnutls_record_recv: The TLS Connection was non-properly terminated

#9 Post by tchicken » 2022-06-25 09:12

Hi Botg,
it seems that we are 2 to have the same problem !
I just have Windows defender in Windows Server 2019.
Hi Wanakt, what is your server configuration ?

wanakt
500 Command not understood
Posts: 3
Joined: 2022-06-20 08:23
First name: Jay
Last name: Kim

Re: GnuTLS error -110 in gnutls_record_recv: The TLS Connection was non-properly terminated

#10 Post by wanakt » 2022-06-25 09:56

My settings on FileZilla Server are as follows;

server listeners : port 21, protocol Explicit FTP over TLS and insecure plain FTP
TLS certificate : Use a self-signed X.509 certificate
Minumum allowed TLS version : v1.2
use the default host for local connections : checked

tchicken
504 Command not implemented
Posts: 8
Joined: 2022-06-21 14:44
First name: Michel
Last name: POULET

Re: GnuTLS error -110 in gnutls_record_recv: The TLS Connection was non-properly terminated

#11 Post by tchicken » 2022-06-28 05:09

Hi there,
Did any of you find a solution to our problem? I'm still stuck on my side!

tchicken
504 Command not implemented
Posts: 8
Joined: 2022-06-21 14:44
First name: Michel
Last name: POULET

Re: GnuTLS error -110 in gnutls_record_recv: The TLS Connection was non-properly terminated

#12 Post by tchicken » 2022-06-28 06:38

Customer side :
I changed the active mode by default, here is the trace :

Statut : Déconnecté du serveur
Statut : Résolution de l’adresse de lesarcs.dyndns.org
Statut : Connexion à 82.65.91.6:21…
Statut : Connexion établie, attente du message d’accueil…
Statut : Initialisation de TLS…
Statut : Connexion TLS établie.
Statut : Connecté
Statut : Récupération du contenu du dossier…
Statut : Le serveur a envoyé une réponse passive avec une adresse non routable. Adresse remplacée par celle du serveur.
Commande : MLSD
Réponse : 150 About to start data transfer.
Erreur : Connection interrompue après 20 secondes d’inactivité
Erreur : Impossible de récupérer le contenu du dossier
Statut : Déconnecté du serveur
Statut : Résolution de l’adresse de lesarcs.dyndns.org
Statut : Connexion à 82.65.91.6:21…
Statut : Connexion établie, attente du message d’accueil…
Statut : Initialisation de TLS…
Statut : Connexion TLS établie.
Statut : Connecté
Statut : Récupération du contenu du dossier…
Statut : Le serveur a envoyé une réponse passive avec une adresse non routable. Adresse remplacée par celle du serveur.
Commande : MLSD
Réponse : 150 About to start data transfer.
Erreur : Affichage du contenu du dossier annulée par l’utilisateur

Coté server :

<Date> Info [Type] Message
<28/06/2022 08:33:19> FTP Session 1145 176.170.75.47 [Response] 234 Using authentication type TLS.
<28/06/2022 08:33:19> FTP Session 1145 176.170.75.47 [Command] USER genturfevo
<28/06/2022 08:33:19> FTP Session 1145 176.170.75.47 [Response] 331 Please, specify the password.
<28/06/2022 08:33:19> FTP Session 1145 176.170.75.47 [Command] PASS ****
<28/06/2022 08:33:19> FTP Session 1145 176.170.75.47 genturfevo [Response] 230 Login successful.
<28/06/2022 08:33:19> FTP Session 1145 176.170.75.47 genturfevo [Command] PWD
<28/06/2022 08:33:19> FTP Session 1145 176.170.75.47 genturfevo [Response] 257 "/" is current directory.
<28/06/2022 08:33:19> FTP Session 1145 176.170.75.47 genturfevo [Command] TYPE I
<28/06/2022 08:33:19> FTP Session 1145 176.170.75.47 genturfevo [Response] 200 Type set to I
<28/06/2022 08:33:19> FTP Session 1145 176.170.75.47 genturfevo [Command] PASV
<28/06/2022 08:33:19> FTP Session 1145 176.170.75.47 genturfevo [Response] 227 Entering Passive Mode (192,168,0,111,234,209)
<28/06/2022 08:33:19> FTP Session 1145 176.170.75.47 genturfevo [Command] MLSD
<28/06/2022 08:33:19> FTP Session 1145 176.170.75.47 genturfevo [Response] 150 About to start data transfer.
<28/06/2022 08:33:39> FTP Session 1145 176.170.75.47 genturfevo [Error] GnuTLS error -110 in gnutls_record_recv: The TLS connection was non-properly terminated.
<28/06/2022 08:33:39> FTP Session 1145 176.170.75.47 genturfevo [Status] Client did not properly shut down TLS connection
<28/06/2022 08:33:39> FTP Session 1145 176.170.75.47 genturfevo [Error] Control channel closed with error from source 0. Reason: ECONNABORTED - Connection aborted.
<28/06/2022 08:33:39> FTP Session 1146 176.170.75.47 [Response] 220-FileZilla Server 1.4.1
<28/06/2022 08:33:39> FTP Session 1146 176.170.75.47 [Response] 220 Please visit https://filezilla-project.org/
<28/06/2022 08:33:39> FTP Session 1146 176.170.75.47 [Command] AUTH TLS
<28/06/2022 08:33:39> FTP Session 1146 176.170.75.47 [Response] 234 Using authentication type TLS.
<28/06/2022 08:33:39> FTP Session 1146 176.170.75.47 [Command] USER genturfevo
<28/06/2022 08:33:39> FTP Session 1146 176.170.75.47 [Response] 331 Please, specify the password.
<28/06/2022 08:33:39> FTP Session 1146 176.170.75.47 [Command] PASS ****
<28/06/2022 08:33:39> FTP Session 1146 176.170.75.47 genturfevo [Response] 230 Login successful.
<28/06/2022 08:33:39> FTP Session 1146 176.170.75.47 genturfevo [Command] PWD
<28/06/2022 08:33:39> FTP Session 1146 176.170.75.47 genturfevo [Response] 257 "/" is current directory.
<28/06/2022 08:33:39> FTP Session 1146 176.170.75.47 genturfevo [Command] TYPE I
<28/06/2022 08:33:39> FTP Session 1146 176.170.75.47 genturfevo [Response] 200 Type set to I
<28/06/2022 08:33:39> FTP Session 1146 176.170.75.47 genturfevo [Command] PASV
<28/06/2022 08:33:39> FTP Session 1146 176.170.75.47 genturfevo [Response] 227 Entering Passive Mode (192,168,0,111,234,210)
<28/06/2022 08:33:39> FTP Session 1146 176.170.75.47 genturfevo [Command] MLSD
<28/06/2022 08:33:39> FTP Session 1146 176.170.75.47 genturfevo [Response] 150 About to start data transfer.

Always this error : [Error] GnuTLS error -110 in gnutls_record_recv: The TLS connection was non-properly terminated.

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

Re: GnuTLS error -110 in gnutls_record_recv: The TLS Connection was non-properly terminated

#13 Post by botg » 2022-06-28 07:57

Your server is behind a NAT router. You need to tell the server your public IP address.

tchicken
504 Command not implemented
Posts: 8
Joined: 2022-06-21 14:44
First name: Michel
Last name: POULET

Re: GnuTLS error -110 in gnutls_record_recv: The TLS Connection was non-properly terminated

#14 Post by tchicken » 2022-06-28 21:33

Like this ?
IP.jpg
IP.jpg (78.95 KiB) Viewed 28 times
Nothing change :
<Date> Info [Type] Message
<28/06/2022 23:23:02> FTP Session 2085 176.170.75.47 [Response] 234 Using authentication type TLS.
<28/06/2022 23:23:02> FTP Session 2085 176.170.75.47 [Command] USER genturfevo
<28/06/2022 23:23:02> FTP Session 2085 176.170.75.47 [Response] 331 Please, specify the password.
<28/06/2022 23:23:02> FTP Session 2085 176.170.75.47 [Command] PASS ****
<28/06/2022 23:23:02> FTP Session 2085 176.170.75.47 genturfevo [Response] 230 Login successful.
<28/06/2022 23:23:02> FTP Session 2085 176.170.75.47 genturfevo [Command] PWD
<28/06/2022 23:23:02> FTP Session 2085 176.170.75.47 genturfevo [Response] 257 "/" is current directory.
<28/06/2022 23:23:02> FTP Session 2085 176.170.75.47 genturfevo [Command] TYPE I
<28/06/2022 23:23:02> FTP Session 2085 176.170.75.47 genturfevo [Response] 200 Type set to I
<28/06/2022 23:23:02> FTP Session 2085 176.170.75.47 genturfevo [Command] PASV
<28/06/2022 23:23:02> FTP Session 2085 176.170.75.47 genturfevo [Response] 227 Entering Passive Mode (82,65,91,6,244,221)
<28/06/2022 23:23:02> FTP Session 2085 176.170.75.47 genturfevo [Command] MLSD
<28/06/2022 23:23:02> FTP Session 2085 176.170.75.47 genturfevo [Response] 150 About to start data transfer.
<28/06/2022 23:23:22> FTP Session 2085 176.170.75.47 genturfevo [Error] GnuTLS error -110 in gnutls_record_recv: The TLS connection was non-properly terminated.
<28/06/2022 23:23:22> FTP Session 2085 176.170.75.47 genturfevo [Status] Client did not properly shut down TLS connection
<28/06/2022 23:23:22> FTP Session 2085 176.170.75.47 genturfevo [Error] Control channel closed with error from source 0. Reason: ECONNABORTED - Connection aborted.

with this option :
IP2.jpg
IP2.jpg (79.77 KiB) Viewed 28 times
Nothing change...

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

Re: GnuTLS error -110 in gnutls_record_recv: The TLS Connection was non-properly terminated

#15 Post by boco » 2022-06-28 23:16

You also need to select a custom port range (the one you have forwarded in your router). The checkbox is only for local connection and will not do anything in this case as the connection is from the outside.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

Post Reply