FTP backup broken since update 10

IT 24-7

Bronze Partner
Joined
Mar 22, 2023
Messages
20
Reaction score
0
Hi,

since update 10 all of my tenants fail to create a successfull FTP backup.

The error is
***
Your 3CX backup failed due to the following reason(s):
Unable to read data from the transport connection: Connection reset by peer.
***

I've pinpoint the problem to the 3CX server not sending the "STOR" command.
We are using IIS FTP server.
Is anyone also experiencing issues?
Please advise.
 
Change log does say "Fixed FTP Crash" whatever that means.

you'd need to go into verbose mode and check the logs
 
Hi,

since update 10 all of my tenants fail to create a successfull FTP backup.

The error is
***
Your 3CX backup failed due to the following reason(s):
Unable to read data from the transport connection: Connection reset by peer.
***

I've pinpoint the problem to the 3CX server not sending the "STOR" command.
We are using IIS FTP server.
Is anyone also experiencing issues?
Please advise.
Hi @IT 24-7 for troubleshooting this, we would need the logs in verbose mode and a packet capture replicating the issue, then you could submit a support ticket with us to review the information.

Thanks!
 
Yes I've done that but actually it's bringing me nowhere ;-)
 
@IT 24-7 as we have seen and discussed in the ticket the issue does not come from the PBX side.
The PBX after it has connected to the FTP it sends " PASV " packet in order the FTP to enter in Passive mode.
An answer never comes back to the PBX for this packet.
So the packet is lost between the IIS server and the PBX.
Nevertheless the PBX still tries the connection and tries to Write to the FTP and sends a STOR command to the FTP in order to keep the efforts on this.
The responses that come back are with error code 550 and the connection is reset.
On your provided logs from the FTP it is mentioned that PASV port is 50011 but we can not see this on our side as the response never arrives to the PBX.
Also you do not see the STOR packet as you mentioned on the FTP logs.
Based on this I would recommend checking this further on the network level.






1795595894382.png



| Info| [FluentFTP.FtpClient] > OpenWrite("/ftpverstraete/3CXScheduledBackup.zip.tmp", Binary, 0, True)
| Info| [FluentFTP.FtpClient] > GetFileSize("/ftpverstraete/3CXScheduledBackup.zip.tmp")
| Info| [FluentFTP.FtpClient] Command: SIZE /ftpverstraete/3CXScheduledBackup.zip.tmp
|Debug| [FluentFTP.FtpClient] Waiting for response to: SIZE /ftpverstraete/3CXScheduledBackup.zip.tmp
| Info| [FluentFTP.FtpClient] Response: 550 The system cannot find the file specified. [27ms]


| Info| [FluentFTP.FtpClient] > OpenDataStream("STOR /ftpverstraete/3CXScheduledBackup.zip.tmp", 0)
| Info| [FluentFTP.FtpClient] > OpenPassiveDataStream(AutoPassive, "STOR /ftpverstraete/3CXScheduledBackup.zip.tmp", 0)


|Debug| [FluentFTP.FtpClient] Disposing(sync) FtpClient.FtpSocketStream(control)
|Debug| [FluentFTP.FtpClient] GetReply(...) failure: Unable to read data from the transport connection: Connection reset by peer.


| Info| [FluentFTP.AsyncFtpClient] Response: 257 "/ftpverstraete" is current directory. [21ms]
| Info| [FluentFTP.AsyncFtpClient] > DeleteFile("/ftpverstraete/3CXScheduledBackup.zip.tmp")
| Info| [FluentFTP.AsyncFtpClient] Command: DELE /ftpverstraete/3CXScheduledBackup.zip.tmp
|Debug| [FluentFTP.AsyncFtpClient] Waiting for response to: DELE /ftpverstraete/3CXScheduledBackup.zip.tmp
| Info| [FluentFTP.AsyncFtpClient] Response: 550 The system cannot find the file specified. [23ms]
 

Latest Posts

Forum statistics

Threads
112,589
Messages
593,452
Members
165,808
Latest member
brent.alexander