Hi Rie Kito, keep testing the application and notice some behaviors, I describe them below hoping they help determine what happens
1.-When I test the AlarmEventViewer program locally, it works, when invoking it remotely I get this error
---------------------------
Exception
---------------------------
loading Event ()
An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail.
Server stack trace:
at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply (Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request (Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request (Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call (String action, Boolean oneway, ProxyOperationRuntime operation, Object [] ins, Object [] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService (IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke (IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage (IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (MessageData & msgData, Int32 type)
at IAlarmCommand.GetEventLines (Int32 from, Int32 maxCount, EventFilter filter)
at VideoOS.Platform.Proxy.AlarmClient.AlarmClientCredentials.GetEventLines (Int32 from, Int32 maxCount, EventFilter filter)
at AlarmEventViewer.MainForm.loadClientEvent () in C: \ Program Files \ Milestone \ MIPSDK \ ComponentSamples \ AlarmEventViewer \ MainForm.cs: line 210
---------------------------
okay
---------------------------
2.- I was also testing the AnalyticsEventViaLibrary example remotely and the example works, since it retrieves the information from the camera that I have connected to the Milestone environment, when pressing the “Send Analytics event” button, the event is not visible in “Xprotect smart client 2021 +”, I was analyzing the packets over the network and I realized that when I pressed the button, the server threw an error code 500, I attached a picture file, when tested locally it works correctly
Are the sample programs made to work locally? Could they work on the network?
regards