Mediasense API Download Url Error For Some Recordings
We are using a Mediasense server, version 18.104.22.16800-56 (7 vCPU configuration) for both video and voice calls in production environment. Using Mediasense API, programatically we login to Mediaesense server per minute and query the recordings in last 10 minutes using "getSessions" method . Then we compare the sessionID's found for last 10 minutes with the sessionID's in our DB, if the seesionID is found in our DB (which means we didn't try downloading this recording before), we write the call data to DB and we download those recordings making http requests using download urls of the recordings which are obtained from "getSessions" method earlier.
I realized only for some recordings, we get two types of exceptions that can be found as below. When those happen, those recordings aren't downloaded from Mediasense. This happens for 2-5 recordings out of approx.7000 recordings a day and those problematic calls don't have any common features like same time range, call type (video or audio) or duration. No configuration change is made for Mediasense server recently.
Considering only concurrent recordings on the problem time (counting video call recordings as multiplied by 10 of voice call recordings), we don't seem passing the limits.
Can you please help identifying the root cause of those exceptions?
Exception1: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Receive(Byte buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.ConnectStream.Read(Byte buffer, Int32 offset, Int32 size) at System.Net.WebClient.DownloadBitsState.RetrieveBytes(Int32& bytesRetrieved) at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream, CompletionDelegate completionDelegate, AsyncOperation asyncOp) at System.Net.WebClient.DownloadFile(Uri address, String fileName)An exception occurred during a WebClient request.SystemVoid DownloadFile(System.Uri, System.String)
Exception2: The remote server returned an error: (401) Unauthorized.SystemVoid DownloadFile(System.Uri, System.String)
Welcome!To my Webex Developer resource overview
Like it?Please scroll to the end and click the 'Helpful' button!
Contribute?Something I should add? Let me know in the comments!
QUICK ACCESS TO THIS PAGE: cs.co/webexdevinfo  ...
The browser-based Finesse Agent Desktop 12.5, that ships with the Cisco Unified CCE / CCX contact center solutions, has made massive strides in the performance of its underlying infrastructure, which improves its throughput and reliability ...
Fun and Easy Virtual Hackathon
60 Teams Win Prizes
ALL Participants Receive Certificate Signed by Execs
Important Note: This contest is governed by the Terms and Conditions in the document attached at the end of this page. Please re...
Hi Experts, I Need one help on Cisco social miner , hope you will help us on below requirements . Many Thanks!!!!Actually, we have third party application trying to integrate in UCCE through task routing API concept .Just we need to get the agen...