Cannot load any information from Milestone Servers such as the list of camera from 3rd party solution.

***Incheon International Airport Phase 3 issue on 5th of June***

+Symptoms

June 5th around 6 AM, the software which developed by 3rd party with MIPSDK, cannot load any information from Milestone Servers such as the list of camera.

*Situations

- Used MIPSDK version is 2017 R1.

- While trying to find the cause, I found ‘ConfigurationApiService’ was stopped which is included in ‘VideoOS Management Server AppPool’ from Application Pool in IIS Manager.

- I found a article from developer forum which says access to http://localhost/managementserver/configurationapiservice.svc and when I tried to access it from Management server, the web page was loading forever and never load anything.

- Besides, the other services were able to access. (such as : DeviceService.svc, ManagementServerService.svc, ServerService.svc etc…)

- Service path : [C:\Program](file:C:/Program) Files\Milestone\XProtect Management Server\IIS\ManagementServer

- It was solved after restarting the ‘VideoOS Management Server AppPool’ in IIS Manager.

- June 3rd around 10:30 PM, an administrator entered bunch of queries in SQL DB to change the name of 2000 cameras.

- This job has finished around 1 AM on 4th of June.

- Here is the entered queries;

https://drive.google.com/file/d/1TrKXMJNEUHqfpfim4gxlb-HHIG8rWA_r/view?usp=sharing

- The Client’s authentication token period time was default (1 day)

- Even though, I tried MIPSDK’s ConfigApiClient sample, but same issue happened.

- Referred developer forum article;

https://developer.milestonesys.com/s/question/0D50O00003FLQUpSAP/2016-sdk-r3-project-configapiclient-login-error?t=1528195493166

- No IIS logs collected (IIS log path : [C:\inetpub\logs\LogFiles)](file:C:/inetpub/logs/LogFiles))

- If tried to login with 3rd party Software(developed by MIPSDK 2017 R1) until the problem was resolved from when the issue occurred, schannel 36888 windows log was occurred.

========================

1. We want to know the cause of stopping ‘ConfigurationApiService’ to prevent same issue occurring. or guide us how to find out the cause.

2. Apart from the above, give us the purpose of the services which are located in [C:\Program](file:C:/Program) Files\Milestone\XProtect Management Server\IIS\ManagementServer .

  1. ConfigurationApiService.svc

  2. DeviceService.svc

  3. FailoverServerService.svc

  4. ManagementServerService.svc

  5. MediaStorageService.svc

  6. RecordingServerService.svc

  7. SecurityService.svc

  8. ServerCommandService.svc

  9. ServerProxyService.svc

  10. ServerService.svc

  11. ServiceRegistrationService.svc

  12. StateService.svc

  13. ViewerClientService.svc

  14. WebViewerClientService.svc

This issue is in urgent situation now.

Would anyone answer to “1. We want to know the cause of stopping ‘ConfigurationApiService’ to prevent same issue occurring. or guide us how to find out the cause” first?

This stopping of the service is must likely because it has crashed. As the ConfigurationApi works on what the requests are, we will need a trace (WireShark) to see what calls are being done on the ConfigurationApi and with what parameters - to identify where such a crash has happened.

Altertively, please describe how we can reproduce the crash / stopping of the service.

Hello Anders,

I don’t know how to reproduce this issue. That’s why I’m asking to prevent it future.

I found ​ConfigurationApi was not working by accidental chance.

We cannot prevent the IIS craching, if something is wrong, but you can consider to configure IIS to restart in case of error, please take a look at Microsoft: https://msdn.microsoft.com/en-us/library/ee677285%28v=azure.10%29.aspx

(change Start Mode from OnDemand to AlwaysRunning)