I have an integration that sends analytics events to a Milestone VMS connected in another machine, in the same network.
The function that crash is of Milestone API:
var objects = EnvironmentManager.Instance.SendMessage(new VideoOS.Platform.Messaging.Message(MessageId.Server.NewEventCommand)
{
Data = ae
});
The error I receive is the following:
System.ServiceModel.ServerTooBusyException: ‘The HTTP service located at http://*****:22331/Central/AlarmService is unavailable. This could be because the service is too busy or because no endpoint was found listening at the specified address. Please ensure that the address is correct and try accessing the service again later.’
WebException: The remote server returned an error: (503) Server Unavailable.
Note that this port 22331 is established internally in Milestone SDK.
I can do login over the VMS, and I can see the cameras that contains, so I suppose that the connection with the VMS is correct.
I use exactly the same code in Milestone 2019 R1 and R2, and in both cases it works perfectly. It seems that there is something wrong in R3 version.
I check all the analytics event configuration in XProtect Management software, and i’m able to test the analytic event through Milestone UI without problems, even in R3 version.
Can anyone help me with that?
Thanks in advance.
Dani.