I created an application that read the events (cameras, input, … ) from all RecordingServer configured in Milestone.
I am using the following function to read all event from a RecordingServer :
GetStatus(string token, Guid statusSessionId, int millisecondsTimeout)
where: millisecondsTimeout is set to 5000,
Get Status function returns the array of events read and so far it ran correctly in all field installations .
I installed my application in a new field with 15 Recording Servers for about 5000 total cameras. I see that i can create and start with success the session with each RecordingServer and i can read correctly the devices configurated (cameras list) but I have an exception when execute the GetStatus(…) function to read the events.
Exception received is:
[System.Web.Services.Protocols.SoapException: Error processing message
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at VideoOS.Platform.SDK.Proxy.Status.RecorderStatusService.GetStatus(String token, Guid statusSessionId, Int32 millisecondsTimeout)
This exception for each RecordingServer configured. Though the session is stopped and recreated I always have the exception after GetStatus() function.
The user used to connect has Basic authentication and it has role as administrator in milestone, I tried also with windows authentication but I see the same exceptions.
I tried to increase the millisecondsTimeout until 60000 but no success.
Can you help me?