Error SFTP cannot archive file to SFTP server

Status
Not open for further replies.

surawoot

Titanium Partner
Advanced Certified
Joined
Sep 13, 2022
Messages
10
Reaction score
2
Hello,

I will share with you a problem that I encountered while using on-premise (Window server) for recording archiving. The error message that I received was:

Code:
Recording archiving failed due to the following reason: Renci.SshNet.Common.SshException: Bad message at Renci.SshNet.Sftp.SftpSession.RequestOpen(String path, Flags flags, Boolean nullOnError) at Renci.SshNet.Sftp.SftpFileStream..ctor(ISftpSession session, String path, FileMode mode, FileAccess access, Int32 bufferSize) at _3cxFilesystemImplementations.SFTP.SftpFolder.CreateFile(String name) at TcxRecordings.RecordingData.Archive(Boolean justUpload) at _3cxSystemService.AutoArchiving.DoArchiving(CancellationToken cancellationToken)

This error indicates that there was a problem with the SFTP connection between the local server and the remote server. It seems that the SFTP session could not open the file on the remote server for some reason. This prevented the recording archiving from completing successfully but 3CX server cannot remove recording file on this server. .

I tried to troubleshoot this issue by checking the following things:

- The network connectivity between the local server and the remote server
- The SFTP credentials and settings on both servers
- The permissions and ownership of the files and folders on both servers
- The firewall rules and antivirus software on both servers

However, none of these steps resolved the issue. I was still getting the same error message every time I tried to archive the recordings.

I searched online for similar problems and possible solutions, but I could not find any helpful information. please help.
 
Is it possible that you create a support ticket to further investigate this issue?
 
  • Like
Reactions: TheodorosG_3CX
We have received the ticket. We will proceed from there. Thank you.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,973
Messages
590,074
Members
164,893
Latest member
jbergeon