kolexinfos
kolexinfos

Reputation: 1002

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

I observed that one of my Windows Services was not connecting to an FTP location on a Unix Server, I ran the executable on my PC as the dev didn't log any error and i was getting timeout error on trying to get response from an FTPWebRequest Object in C#.

On trying to access the FTP location using Filezilla I am getting the error

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

Using SFTP does not give this error and also using FTP in plain text(insecure) also does not.

I really do not understand this and note that the application has been running fine for years and this just suddenly happens on like 4 servers.

Upvotes: 8

Views: 85875

Answers (4)

Erhan Rden
Erhan Rden

Reputation: 241

For me, i changed Encryption Type to 'Only use plain FTP' at File>Site Manager>General>Encryption But that may be insecure!

Upvotes: 0

Omer
Omer

Reputation: 9

Older version of Filezilla may be responsible for the said error. Faced the same error on 3.4 version issue was resolved after downloading the 3.6 one.

Upvotes: 0

Techiescorner
Techiescorner

Reputation: 811

If you are connecting to a cPanel server then you can temporarily fix this issue by enabling "Broken Client Compatibility" in Pure-FTP settings in WHM.

Upvotes: 2

Steffen Ullrich
Steffen Ullrich

Reputation: 123531

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

That just means that the peer just closed the socket and did not do a proper TLS shutdown. Some broken clients or servers do this. Assuming that this message relates to a data transfer you can usually ignore this because the transfer was finished anyway, so no data got lost.

Using SFTP does not give this error and also using FTP in plain text(insecure) also does not.

Of course you don't get it, since SFTP is using the SSH protocol instead of TLS and plain FTP does no encryption at all, so no TLS too. And if there is no TLS involved you can not get any TLS errors.

I really do not understand this and note that the application has been running fine for years and this just suddenly happens on like 4 servers.

It might simply be that the servers changed, i.e. either they never supported FTPS (i.e. FTP with TLS, not to be confused with SFTP) before or they now switched to a broken implementation.

Upvotes: 9

Related Questions