transfer socket: ECONNABORTED / 550 File not found

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
iNTALECT
500 Command not understood
Posts: 4
Joined: 2017-08-02 09:50
First name: Charlie
Last name: P

transfer socket: ECONNABORTED / 550 File not found

#1 Post by iNTALECT » 2017-08-02 13:45

Hi,

To layout what we have setup, we have 1 Windows 2012 R2 with FileZilla server 0.9.60 2 installed. We have constant FTP connections coming in from external clients who send offsite backup files to us using a program called Imagemanager from storagecraft. At the moment it's plain FTP directly to us.

The issue we have is the backup files that are sent to us, constantly (Several times aday) bomb out and get stuck sending. This has no consistency and is completely random, as far as I can tell the file sending drops out (not sure what from), when the file gets resent we get "550 File not found" on the server logs and the file then cannot send, at this point if we check our live sessions to see who is connected that user is still reporting as sending that file. However if we check the sending end their not actually sending it and unless we manually kick that user then the files wont send.

As a test I have installed filezilla on the sending server and sent the file through that instead of imagemanager to look at the logs and it comes up with "Error: Could not write to transfer socket: ECONNABORTED - Connection aborted", from what I was reading this is a popular issue with FTP over SSL/TLS but we are not using that so I'm stuck what the issue is at the moment.


This never use to be an issue and started happening in the last year or so, in that time we've replaced the server, switches, cables and we've had a swapped ISP.

Any logs on server or sending end and I can post them. Would like love to get this fixed and I have to sit there through out the day kicking users.

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

Re: transfer socket: ECONNABORTED / 550 File not found

#2 Post by botg » 2017-08-02 16:38

Please post a log of this happening.

iNTALECT
500 Command not understood
Posts: 4
Joined: 2017-08-02 09:50
First name: Charlie
Last name: P

Re: transfer socket: ECONNABORTED / 550 File not found

#3 Post by iNTALECT » 2017-08-03 10:16

(000383)03/08/2017 08:51:49 - clientname2 (IP)> PWD
(000383)03/08/2017 08:51:49 - clientname2 (IP)> 257 "/" is current directory.
(000383)03/08/2017 08:51:49 - clientname2 (IP)> SIZE E_VOL-b001-i611-cd.spi.tmp
(000383)03/08/2017 08:51:49 - clientname2 (IP)> 213 1491769783
(000383)03/08/2017 08:51:49 - clientname2 (IP)> PASV
(000383)03/08/2017 08:51:49 - clientname2 (IP)> 227 Entering Passive Mode (xxx,xx,xxx,20,204,135)
(000383)03/08/2017 08:51:50 - clientname2 (IP)> REST 1491769783
(000383)03/08/2017 08:51:50 - clientname2 (IP)> 350 Rest supported. Restarting at 1491769783
(000383)03/08/2017 08:51:50 - clientname2 (IP)> STOR E_VOL-b001-i611-cd.spi.tmp
(000383)03/08/2017 08:51:50 - clientname2 (IP)> 150 Opening data channel for file upload to server of "/E_VOL-b001-i611-cd.spi.tmp", restarting at offset 1491769783
(000383)03/08/2017 08:51:50 - clientname2 (IP)> 550 Could not open file for writing.
(000384)03/08/2017 08:51:51 - clientname (IP)> PWD
(000384)03/08/2017 08:51:51 - clientname (IP)> 257 "/" is current directory.
(000384)03/08/2017 08:51:51 - clientname (IP)> SIZE C_VOL-b001-i3595-cd.spi.tmp
(000384)03/08/2017 08:51:51 - clientname (IP)> 213 982931616
(000384)03/08/2017 08:51:52 - clientname (IP)> PASV
(000384)03/08/2017 08:51:52 - clientname (IP)> 227 Entering Passive Mode (xxx,xx,xxx,20,215,167)
(000384)03/08/2017 08:51:52 - clientname (IP)> REST 982931616
(000384)03/08/2017 08:51:52 - clientname (IP)> 350 Rest supported. Restarting at 982931616
(000384)03/08/2017 08:51:52 - clientname (IP)> STOR C_VOL-b001-i3595-cd.spi.tmp
(000384)03/08/2017 08:51:52 - clientname (IP)> 150 Opening data channel for file upload to server of "/C_VOL-b001-i3595-cd.spi.tmp", restarting at offset 982931616
(000384)03/08/2017 08:51:52 - clientname (IP)> 550 Could not open file for writing.
(000383)03/08/2017 08:51:52 - clientname2 (IP)> PWD
(000383)03/08/2017 08:51:52 - clientname2 (IP)> 257 "/" is current directory.
(000383)03/08/2017 08:51:52 - clientname2 (IP)> SIZE E_VOL-b001-i611-cd.spi.tmp
(000383)03/08/2017 08:51:52 - clientname2 (IP)> 213 1491769783
(000384)03/08/2017 08:51:52 - clientname (IP)> disconnected.
(000383)03/08/2017 08:51:52 - clientname2 (IP)> PASV
(000383)03/08/2017 08:51:52 - clientname2 (IP)> 227 Entering Passive Mode (xxx,xx,xxx,20,236,252)
(000383)03/08/2017 08:51:52 - clientname2 (IP)> REST 1491769783
(000383)03/08/2017 08:51:52 - clientname2 (IP)> 350 Rest supported. Restarting at 1491769783
(000383)03/08/2017 08:51:52 - clientname2 (IP)> STOR E_VOL-b001-i611-cd.spi.tmp
(000383)03/08/2017 08:51:52 - clientname2 (IP)> 150 Opening data channel for file upload to server of "/E_VOL-b001-i611-cd.spi.tmp", restarting at offset 1491769783
(000383)03/08/2017 08:51:52 - clientname2 (IP)> 550 Could not open file for writing.
(000383)03/08/2017 08:51:52 - clientname2 (IP)> disconnected.
Retrieving account settings, please wait...
Done retrieving account settings
===================================================================================

Client end-

Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Logged in
Status: Starting upload of B:\xxxxx\C_VOL-b001-i3595-cd.spi
Command: CWD /
Response: 250 CWD successful. "/" is current directory.
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (xxx,xxx,255,xxx,246,55).
Command: STOR C_VOL-b001-i3595-cd.spi
Response: 150 Opening data channel for file upload to server of "/C_VOL-b001-i3595-cd.spi"
Error: Could not write to transfer socket: ECONNABORTED - Connection aborted
Error: File transfer failed after transferring 1,061,683,200 bytes in 934 seconds



The two sessions below are the same sender, it's reporting as a live connection when it's not -

https://gyazo.com/26e800edae4db669f551c0ea61e3ab7e





Logs from the actual normal FTP client -

ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 Caught exception An I/O exception occurred.
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 Caught exception
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 System.IO.IOException: An I/O exception occurred.
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 at qlMaa1LMwc9VyFw1BsQ.DpWcXULDGudPaKWy3rA.Write(Byte[] , Int32 , Int32 )
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 at System.IO.BufferedStream.Write(Byte[] array, Int32 offset, Int32 count)
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 at EnterpriseDT.Net.Ftp.FTPClient.uYDlV2ORuc(Stream , String , Boolean , Boolean )
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 CAUSED BY - System.Net.Sockets.SocketException: An I/O exception occurred.
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 at IOdUZsDUCGMGKHBHuYH.I9SMGmDEUgvopfAgRxA.Send(Byte[] , Int32 , Int32 , SocketFlags )
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 at adlmcKeWfPU2Fn0HRnF.ANVXI7eUIdhAJ1UAaue.Send(Byte[] , Int32 , Int32 , SocketFlags )
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 at qlMaa1LMwc9VyFw1BsQ.DpWcXULDGudPaKWy3rA.Write(Byte[] , Int32 , Int32 )
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 SystemException in Put(string,string,bool)
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 System.IO.IOException: An I/O exception occurred.
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 at EnterpriseDT.Net.Ftp.FTPClient.uYDlV2ORuc(Stream , String , Boolean , Boolean )
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 at EnterpriseDT.Net.Ftp.FTPClient.tQ5lsaEsdg(String , String , Boolean )
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 at EnterpriseDT.Net.Ftp.FTPClient.Put(String localPath, String remoteFile, Boolean append)
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 CAUSED BY - System.Net.Sockets.SocketException: An I/O exception occurred.
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 at IOdUZsDUCGMGKHBHuYH.I9SMGmDEUgvopfAgRxA.Send(Byte[] , Int32 , Int32 , SocketFlags )
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 at adlmcKeWfPU2Fn0HRnF.ANVXI7eUIdhAJ1UAaue.Send(Byte[] , Int32 , Int32 , SocketFlags )
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 at qlMaa1LMwc9VyFw1BsQ.DpWcXULDGudPaKWy3rA.Write(Byte[] , Int32 , Int32 )
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 Exception in ValidateTransferOnError())
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 EnterpriseDT.Net.Ftp.FTPException: Could not open file for writing. (code=550)
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 at EnterpriseDT.Net.Ftp.FTPControlSocket.ValidateReply(FTPReply reply, String[] expectedReplyCodes)
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 at EnterpriseDT.Net.Ftp.FTPClient.ValidateTransfer()
ERROR [FTPClient] 3 Aug 2017 11:39:29.404 : FTPConnection.1 at EnterpriseDT.Net.Ftp.FTPClient.ValidateTransferOnError()
ERROR [ExFTPConnection] 3 Aug 2017 11:39:29.420 : FTPConnection.1 Error event while executing SyncUploadFile - notifying Error event-handlers
ERROR [ExFTPConnection] 3 Aug 2017 11:39:29.420 : FTPConnection.1 System.IO.IOException: An I/O exception occurred.
ERROR [ExFTPConnection] 3 Aug 2017 11:39:29.420 : FTPConnection.1 at EnterpriseDT.Net.Ftp.FTPClient.uYDlV2ORuc(Stream , String , Boolean , Boolean )
ERROR [ExFTPConnection] 3 Aug 2017 11:39:29.420 : FTPConnection.1 at EnterpriseDT.Net.Ftp.FTPClient.tQ5lsaEsdg(String , String , Boolean )
ERROR [ExFTPConnection] 3 Aug 2017 11:39:29.420 : FTPConnection.1 at EnterpriseDT.Net.Ftp.FTPClient.Put(String localPath, String remoteFile, Boolean append)
ERROR [ExFTPConnection] 3 Aug 2017 11:39:29.420 : FTPConnection.1 at EnterpriseDT.Net.Ftp.FTPConnection.UploadFile(String localPath, String remoteFile, WriteMode writeMode)
ERROR [ExFTPConnection] 3 Aug 2017 11:39:29.420 : FTPConnection.1 at EnterpriseDT.Net.Ftp.ExFTPConnection.SyncUploadFile(String localPath, String remoteFile, WriteMode writeMode)
ERROR [ExFTPConnection] 3 Aug 2017 11:39:29.420 : FTPConnection.1 CAUSED BY - System.Net.Sockets.SocketException: An I/O exception occurred.
ERROR [ExFTPConnection] 3 Aug 2017 11:39:29.420 : FTPConnection.1 at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
ERROR [ExFTPConnection] 3 Aug 2017 11:39:29.420 : FTPConnection.1 at IOdUZsDUCGMGKHBHuYH.I9SMGmDEUgvopfAgRxA.Send(Byte[] , Int32 , Int32 , SocketFlags )
ERROR [ExFTPConnection] 3 Aug 2017 11:39:29.420 : FTPConnection.1 at adlmcKeWfPU2Fn0HRnF.ANVXI7eUIdhAJ1UAaue.Send(Byte[] , Int32 , Int32 , SocketFlags )
ERROR [ExFTPConnection] 3 Aug 2017 11:39:29.420 : FTPConnection.1 at qlMaa1LMwc9VyFw1BsQ.DpWcXULDGudPaKWy3rA.Write(Byte[] , Int32 , Int32 )
ERROR [ExFTPConnection] 3 Aug 2017 11:39:29.420 : FTPConnection.1 Event-handlers notified successfully

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

Re: transfer socket: ECONNABORTED / 550 File not found

#4 Post by botg » 2017-08-03 19:50

Could the files in question be opened in another program?

iNTALECT
500 Command not understood
Posts: 4
Joined: 2017-08-02 09:50
First name: Charlie
Last name: P

Re: transfer socket: ECONNABORTED / 550 File not found

#5 Post by iNTALECT » 2017-08-04 14:44

Hi,

On the sending end only Imagemanager uses the files to actually send them and on the server end the only thing that runs is filezilla server other than that nothing touches the file.


Thanks.

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

Re: transfer socket: ECONNABORTED / 550 File not found

#6 Post by botg » 2017-08-04 20:27

Are you using any virus scanners? They have the habit of opening files.

iNTALECT
500 Command not understood
Posts: 4
Joined: 2017-08-02 09:50
First name: Charlie
Last name: P

Re: transfer socket: ECONNABORTED / 550 File not found

#7 Post by iNTALECT » 2017-08-07 15:13

No anti or virus or anti malware (anything similar to malwarebytes) installed on the receiving server. There is on the sending end. Which end would this apply to or do you mean both?

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

Re: transfer socket: ECONNABORTED / 550 File not found

#8 Post by botg » 2017-08-07 16:31

It could be a permissions problem. Make sure the Windows user account the FileZilla Server service runs under has permissions to write to the target directory.

filemike373
500 Command not understood
Posts: 1
Joined: 2020-04-05 19:11

Re: transfer socket: ECONNABORTED / 550 File not found

#9 Post by filemike373 » 2020-04-05 19:14

Hi @iNTALECT

Have you found out what the issue was as I got exactly the same all of the sudden?

Thanks,
Michal

Post Reply