Unable to archive recordings

Status
Not open for further replies.

Techxcellent

Customer
Joined
Feb 11, 2021
Messages
2
Reaction score
0
Hi,

We have configured the remote archive of our call recordings using FTP, the system do not archive them anymore since end of October, and do not remove them locally.
We are running out of space because this.

In the log event the 2 errors below are listed:

Recording archiving failed due to the following reason: System.IO.IOException: Unable to write data to the transport connection: Broken pipe. ---> System.Net.Sockets.SocketException (32): Broken pipe at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 count) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 count) at FluentFTP.FtpSocketStream.Write(Byte[] buffer, Int32 offset, Int32 count) at FluentFTP.FtpDataStream.Write(Byte[] buffer, Int32 offset, Int32 count) at _3cxFilesystemImplementations.FTP.FtpWrapperStream.Write(Byte[] buffer, Int32 offset, Int32 count) at System.IO.Stream.<>c.<BeginWriteInternal>b__48_0(Object <p0>) at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at System.IO.Stream.<CopyToAsync>g__Core|29_0(Stream source, Stream destination, Int32 bufferSize, CancellationToken cancellationToken) at System.IO.Strategies.BufferedFileStreamStrategy.CopyToAsyncCore(Stream destination, Int32 bufferSize, CancellationToken cancellationToken) at _3cxFilesystemImplementations.FTP.FtpFile.CopyFromAsync(Stream stream, CancellationToken cancellationToken) at TcxRecordings.RecordingData.Archive(Boolean justUpload) at ManagementConsoleJS.Services.RecordingsOperationsService.<>c__DisplayClass10_0.<<Archive>b__0>d.MoveNext()

Recording archiving failed due to the following reason: System.Exception: Cannot upload data to FTP. required size = 49198. realsize = 0 at _3cxFilesystemImplementations.FTP.FtpWrapperStream.Close() at _3cxFilesystemImplementations.FTP.FtpFile.Dispose() at TcxRecordings.RecordingData.Archive(Boolean justUpload) at ManagementConsoleJS.Services.RecordingsOperationsService.<>c__DisplayClass10_0.<<Archive>b__0>d.MoveNext()

Is anyone able to help?

Many Thanks,
C
 
Broken pipe usually means the FTP server closed the connection (or something interrupted the transmission, like internet connectivity). I would start looking at this.
 
  • Like
Reactions: Charles_3CX
Hi Charles,

Thank you for your input.
We did check the FTP server and connection.
It turns out that we can connect using Filezilla and upload files.

Behind the FTP server we have 2 WANs we can use.
As a test, I just set up the firewall to use the secondary connection.
Changed the settings in 3CX to upload to the new IP.
Unfortunately got the error below:
Recording archiving failed due to the following reason: System.Exception: Cannot upload data to FTP. required size = 131072. realsize = 0 at _3cxFilesystemImplementations.FTP.FtpWrapperStream.Close() at _3cxFilesystemImplementations.FTP.FtpFile.Dispose() at TcxRecordings.RecordingData.Archive(Boolean justUpload) at ManagementConsoleJS.Services.RecordingsOperationsService.<>c__DisplayClass10_0.<<Archive>b__0>d.MoveNext()

Same type of error I also added when using the other connection.
Will you have any idea?

C
 
It seems that there is a limitation on file uploading or something related with the permissions on your FTP.
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet