FTP error : GnuTLS error -110: The TLS connection was non-properly terminated

Website URL

Not posting my URL as it is used as a intranet

Error Message

GnuTLS error -110: The TLS connection was non-properly terminated

Other Information

Using Filezilla. Everything has been working fine for a few months and I did not change anything (that I know of).
Been trying to fix it over the last few evenings with no results.Searched for a lot of suggestions
I have opened Cpanel to see if it will help (as suggested in knowledge base).
File manager works.
URL also works.
Sometime I get the error when I log in, but more times it only pops up after I made a directory change or doing an upload.
Redacted copy from Filezilla log:

Log:

2025-09-19 18:22:46 10748 3 Command: AUTH TLS
2025-09-19 18:22:47 10748 3 Response: 234 AUTH TLS OK.
2025-09-19 18:22:47 10748 3 Status: Initializing TLS…
2025-09-19 18:22:48 10748 3 Status: TLS connection established.
2025-09-19 18:22:48 10748 3 Command: USER [REDACTED]
2025-09-19 18:22:48 10748 3 Response: 331 [REDACTED] OK. Password required
2025-09-19 18:22:48 10748 3 Command: PASS **************
2025-09-19 18:22:48 10748 3 Response: 230-Your bandwidth usage is restricted
2025-09-19 18:22:48 10748 3 Response: 230 OK. Current restricted directory is /
2025-09-19 18:22:48 10748 3 Command: OPTS UTF8 ON
2025-09-19 18:22:48 10748 3 Response: 200 OK, UTF-8 enabled
2025-09-19 18:22:48 10748 3 Command: PBSZ 0
2025-09-19 18:22:49 10748 3 Response: 200 PBSZ=0
2025-09-19 18:22:49 10748 3 Command: PROT P
2025-09-19 18:22:49 10748 3 Response: 200 Data protection level set to “private”
2025-09-19 18:22:49 10748 3 Status: Logged in
2025-09-19 18:23:05 10748 3 Status: Retrieving directory listing of [REDACTED]…
2025-09-19 18:23:05 10748 3 Command: CWD /[REDACTED]/api
2025-09-19 18:23:05 10748 3 Response: 250 OK. Current directory is /[REDACTED]/api
2025-09-19 18:23:05 10748 3 Command: PWD
2025-09-19 18:23:05 10748 3 Response: 257 “/[REDACTED]/api” is your current location
2025-09-19 18:23:05 10748 3 Command: TYPE I
2025-09-19 18:23:05 10748 3 Response: 200 TYPE is now 8-bit binary
2025-09-19 18:23:05 10748 3 Command: PASV
2025-09-19 18:23:06 10748 3 Response: 227 Entering Passive Mode ([REDACTED])
2025-09-19 18:23:06 10748 3 Command: MLSD
2025-09-19 18:23:06 10748 3 Response: 150 Accepted data connection
2025-09-19 18:23:06 10748 3 Response: 226-Options: -a -l
2025-09-19 18:23:06 10748 3 Response: 226 16 matches total
2025-09-19 18:23:06 10748 3 Status: Directory listing of “/[REDACTED]s/api” successful
2025-09-19 18:23:30 10748 4 Status: Disconnected from server
2025-09-19 18:23:43 10748 3 Status: Retrieving directory listing of “/[REDACTED]/api”…
2025-09-19 18:23:43 10748 3 Command: PASV
2025-09-19 18:23:43 10748 3 Response: 227 Entering Passive Mode ([REDACTED])
2025-09-19 18:23:43 10748 3 Command: MLSD
2025-09-19 18:23:44 10748 3 Error: GnuTLS error -110: The TLS connection was non-properly terminated.
2025-09-19 18:23:44 10748 3 Status: Server did not properly shut down TLS connection
2025-09-19 18:23:44 10748 3 Error: The data connection could not be established: ECONNABORTED - Connection aborted
2025-09-19 18:24:44 10748 3 Response: 421 Timeout
2025-09-19 18:24:44 10748 3 Error: Failed to retrieve directory listing
2025-09-19 18:24:44 10748 3 Error: GnuTLS error -110 in gnutls_record_recv: The TLS connection was non-properly terminated.
2025-09-19 18:24:44 10748 3 Status: Server did not properly shut down TLS connection
2025-09-19 18:24:44 10748 3 Error: Could not read from socket: ECONNABORTED - Connection aborted
2025-09-19 18:24:44 10748 3 Error: Disconnected from server

If your domain is used as an intranet, and hosted on your own server, then there’s not much we can do to help you here. This forum is specifically to help people with problems relating to the InfinityFree service.

Looking at your logs it looks like a potentially misconfigured server to me.

It is running on InfinityFree. just not posting url as public.

Fair enough. Just be aware that anything you put online can be found and accessed by the public.

GnuTLS error -110 means that the server dropped the connection, without sending the proper code. Not seen that on here before…

Are you connecting using the FTP details from your dashboard. so:
Host: ftpupload.net or ftp.epizy.com
with the username and password from there.

You cant use your domain as the FTP host

Well aware that it can be found online and robots.txt might work for blocking tracking, but only so much. But it is a small project for my own use. And it is backed up.
Back to the issue at hand.
I am using ftpupload.net
Everything was working for a few months and this just started to happen a few days ago.
file structure::
./
.Dev directory
./htps..
Live directory
./htps…
.override
.DO NOT UPLOAD FILES HERE

URL and file manager (upload/download) works, but with FTP, it does not.

Typo: htps >>htdocs

The only other thing I can see is this bit… since you can’t host API’s here. Only browser based websites… but honestly, that shouldn’t cause a problem with FTP…

1 Like

True, and I agree. /api is just a directory with helper php file. it was just an AI’s idea of naming the directory when I set up the project, Let’s not blame AI, found out they can get pretty stupid.
But let’s not digress. Please check your FTP server. Has anything changed recently?

directories and files are working as is in file structure.. Something is wrong with FTP.

The online file manager is really just an FTP client that you can access with your web browser. So if there was a problem with FTP, then the file manager wouldn’t be usable either.

4 Likes

Thanks for that heads up.
I have re installed FZ and created a new log in.
Still the same.

Getting frustrated a bit as it was all working.
Think I’ve proven already that everything is working, as should be with the Infinityfree server and FZ.

Still I can’t do FTP with FZ anymore without getting the same error.
Appreciate all that replied so far.
Fact is, I can’t pin point if it is my set up or InfinityFree. So far I think I have proven my side.

FZ means FileZIlla. Used it because this forum auto injects links on names and then tells me I can’t post more with more than 2 links as I’m a new user. Fun times :smiley:

What do your FTP logs say? Edit: Never mind, I see your previous post now.

1 Like

Hello, and Welcome to the InfinityFree Forum @Quentin!

Try using the IP address 185.27.134.11 as the hostname, and see if it helps.

Now that I look at this, and I compare this with my previous logs, I think this is simply the server timing out due to inactivity. When nothing is done on the server for a period of time (I think it is 30 seconds) the server closes the connection. The server never closes the connection right though, it just axes it for the next user. This is to avoid populating all FTP user slots.

3 Likes

I think it is 20 seconds


For reference free hosting server never disconnects properly upon timeout, thus the error. Seen it so many times for now.

3 Likes