Page 1 of 2

GnuTLS error -53: Error in the push function

Posted: 2010-01-14 15:41
by mic.potenza
I'm using FileZilla Server 0.9.34 on Windows 2003 SBS and FileZilla 3.3.1 on Windows Vista Business SP2
when using FTPS to connect to my server I always get an error, please, see my log below.
Any idea?
Regards

Stato: Risoluzione dell'indirizzo IP ftp.xxx.it in corso
Stato: Connessione a x.x.x.x:990...
Stato: Connessione stabilita, inizializzazione TLS in corso...
Stato: Verifica del certificato in corso...
Stato: Connessione TLS/SSL stabilita, in attesa del messaggio di benvenuto...
Risposta: 220 FileZilla Server version 0.9.34 beta Server FTP - è severamente vietato ogni uso improrio di questo server.
Comando: USER
Risposta: 331 Password required for xxxxxx
Comando: PASS ********
Risposta: 230 Logged on
Comando: PBSZ 0
Risposta: 200 PBSZ=0
Comando: PROT P
Risposta: 200 Protection level set to P
Stato: Connesso
Stato: Lettura elenco cartelle...
Comando: PWD
Risposta: 257 "/" is current directory.
Comando: TYPE I
Risposta: 200 Type set to I
Comando: PASV
Risposta: 227 Entering Passive Mode (x,x,x,x,13,96)
Comando: MLSD
Errore: GnuTLS error -53: Error in the push function.
Risposta: 425 Can't open data connection.

further details after error:
Comando: MLSD
Trace: CTransferSocket::OnConnect
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::ContinueHandshake()
Trace: CTlsSocket::Failure(-53, 10053)
Errore: GnuTLS error -53: Error in the push function.
Trace: CTransferSocket::TransferEnd(3)
Trace: CFtpControlSocket::TransferEnd()
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Risposta: 425 Can't open data connection.
Trace: CFtpControlSocket::TransferParseResponse()
Trace: code = 4
Trace: state = 6
Trace: CFtpControlSocket::ResetOperation(2)
Trace: CControlSocket::ResetOperation(2)
Trace: CFtpControlSocket::ParseSubcommandResult(2)
Trace: CFtpControlSocket::ListSubcommandResult()
Trace: state = 3
Trace: CFtpControlSocket::ResetOperation(2)
Trace: CControlSocket::ResetOperation(2)
Errore: Non è stato possibile leggere il contenuto della cartella
Trace: CFileZillaEnginePrivate::ResetOperation(2)

Re: GnuTLS error -53: Error in the push function

Posted: 2010-01-14 20:38
by botg
Looks like there's a router and/or firewall that's interrupting the connection.

Please read the Network Configuration guide.

Re: GnuTLS error -53: Error in the push function

Posted: 2010-01-15 11:12
by mic.potenza
problem solved, thanks.
It was a NAT problem

Re: GnuTLS error -53: Error in the push function

Posted: 2010-09-28 17:46
by marcusfive
also i have the same error:
"GnuTLS error -53: Error in the push function"

i have a techus nat, and i have set ftps esplicit

how can solve?
nas is connected to a switch and then to a modem of alice.
i have also set in alice modem the virtual server in port 21 with TCP protocoll

thank you

Re: GnuTLS error -53: Error in the push function

Posted: 2010-10-01 19:58
by boco
i have also set in alice modem the virtual server in port 21 with TCP protocoll
That's not a modem, but a modem-router. Please read Network Configuration.

Re: GnuTLS error -53: Error in the push function

Posted: 2010-10-02 18:35
by marcusfive
i have solve by:
-on server i tur off the secure mode esplicit, now the connection ora not encrypt, and on ftp client i have set the normal connection
-on ftp client i have set active mode.

now work
bu i would to turn on the encrypt mode.
if i do, there are the same error: "GnuTLS error -53: Error in the push function"
this is the posiction of server:
modem/router telecom -> switch -> server ftp

thank you

Re: GnuTLS error -53: Error in the push function

Posted: 2010-10-02 18:45
by boco
The forwarded port 21 is not enough. The Network Configuration guide tells you all about the Passive port range.

Re: GnuTLS error -53: Error in the push function

Posted: 2010-10-02 18:49
by marcusfive
ok i will try :wink:

Re: GnuTLS error -53: Error in the push function

Posted: 2011-04-14 14:39
by mikeloeven
i am having this issue two but it only happens when i try to connect to my ftp server from work. i changed the server to use ports that i know are open on the corperate network but it changed from activly refused to push function error. so i am a bit lost for all intents and purposes it should work. and since i have no access to the corperate network it is hard for me to figure this out

Re: GnuTLS error -53: Error in the push function

Posted: 2011-04-14 18:44
by boco
I'd suspect a corporate firewall (such as ISA firewall) is interfering.

Re: GnuTLS error -53: Error in the push function

Posted: 2011-08-01 17:42
by prozit
I have been looking for a solution to this problem too for a long time. In my FTP server config I had entered a wrong masquerading IP address. Once I fixed the masquerading IP address, my connections worked perfectly. So this is not always being caused by some kind of firewall/router/modem, but can also be caused by a misconfigured FTP server config. Anyways, this seems to be a basic networking issue since the masquerading IP address is needed to be able to allow FTP clients on the external side of a NAT'ed network to connect to the FTP server (as I am understanding it).

Greetings, Francis.

Re: GnuTLS error -53: Error in the push function

Posted: 2011-09-21 19:06
by ms2928
When connecting using standard FTP, connection is fine.
When I attempt to use FTP - Require explicit FTP over TLS I get this same error, like so:

Code: Select all

Status:	Connecting to XXX.XXX.X.XXX:21...
Status:	Connection established, waiting for welcome message...
Response:	220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response:	220-You are user number 1 of 50 allowed.
Response:	220-Local time is now 13:50. Server port: 21.
Response:	220 You will be disconnected after 15 minutes of inactivity.
Command:	AUTH TLS
Response:	234 AUTH TLS OK.
Status:	Initializing TLS...
Status:	Verifying certificate...
Command:	USER xxxxxxx
Status:	TLS/SSL connection established.
Response:	331 User xxxxxx OK. Password required
Command:	PASS ************
Response:	230 OK. Current restricted directory is /
Command:	SYST
Response:	215 UNIX Type: L8
Command:	FEAT
Response:	211-Extensions supported:
Response:	 EPRT
Response:	 IDLE
Response:	 MDTM
Response:	 SIZE
Response:	 REST STREAM
Response:	 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response:	 MLSD
Response:	 AUTH TLS
Response:	 PBSZ
Response:	 PROT
Response:	 ESTA
Response:	 PASV
Response:	 EPSV
Response:	 SPSV
Response:	 ESTP
Response:	211 End.
Command:	PBSZ 0
Response:	200 PBSZ=0
Command:	PROT P
Response:	200 Data protection level set to "private"
Status:	Connected
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "/" is your current location
Command:	TYPE I
Response:	200 TYPE is now 8-bit binary
Command:	PASV
Response:	227 Entering Passive Mode (174,122,3,108,49,84)
Command:	MLSD
Error:	GnuTLS error -53: Error in the push function.
Error:	Connection timed out
Error:	Failed to retrieve directory listing
If I attempt to use SFTP I get a timeout error everytime...

Code: Select all

Status:	Connecting to XXX.XXX.X.XXX...
Response:	fzSftp started
Command:	open "xxxxxxx@XXX.XXX.X.XXX" 22
Error:	Connection timed out
Error:	Could not connect to server
Status:	Waiting to retry...
Status:	Connecting to XXX.XXX.X.XXX...
Response:	fzSftp started
Command:	open "xxxxxxx@XXX.XXX.X.XXX" 22
Error:	Connection timed out
Error:	Could not connect to server
and if I try FTP - Require implicit FTP over TLS:

Code: Select all

Status:	Connecting to XXX.XXX.X.XXX:990...
Status:	Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error:	Could not connect to server
Status:	Waiting to retry...
Status:	Connecting to XXX.XXX.X.XXX:990...
Status:	Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error:	Could not connect to server
I have tried changing firewall settings, port forwarding, etc, with NO luck.

I would really like to have a secure FTP set up one way or another, any ideas on why this is happening???
Thx

Re: GnuTLS error -53: Error in the push function

Posted: 2011-09-21 19:20
by ms2928
Sorry- Disregard previous post, I got it working. Uninstall and re-install of FileZilla worked!

Re: GnuTLS error -53: Error in the push function

Posted: 2012-11-01 16:46
by brhend
Encountered the same issue.

Solution was different. Simply changed encryption

Site manager > select "my Site" > General Tab > encryption

select "Use plain FTP"

Re: GnuTLS error -53: Error in the push function

Posted: 2012-11-02 09:05
by boco
Quite not a solution to lower all your defenses instead of dealing with the problem, eh?