XProtect: Problem when trying to add a HikVision camera

Hi! We have a problem with adding a HikVision camera. When we add the hardware the camera get detected but it fails at the last step, the detection of the hardware succeeds but when when clicking next we get status “failed” and this error message:

It was not possible to connect to or receive information from the hardware ‘**.**.**.*’.

Verify that the following is correct: address, port, user name, password and hardware driver.

Alternatively use auto-detection to find the hardware.

The address, port, username and password is correct .

We have extracted some logs and found an error in the HikVisionGeneric driver log:

0000008 2024-10-09T13:36:29.149759+02:00 INFO 0x00003218@0x000031d8 DefineSettingsFunc()@HikVisionGeneric.cpp:622	Discard settings creation for channel: 1
 
0000009 2024-10-09T13:36:29.151771+02:00 ERROR 0x00003218@0x000031d8 NmGenericSettings::CmGenericSettingXmlInterface::GetSetting()@GenericSettingXmlInterface.cpp:300	GetSetting(,MulticastAudioPort0(1)) error: NmGenericSettings::CmGenericSettings::SettingByName (line C:\actions-runner\_work\XPCO\XPCO\DP\Drivers\Master\DeviceTools\GenericSettings\src\GenericSettings.cpp, 1013): Can not find setting by name: MulticastAudioPort0
 
0000010 2024-10-09T13:36:29.153775+02:00 INFO 0x00003218@0x000031d8 GetXml()@DeviceFunctions-OSD.cpp:1282	EXIT GetXml(**.**.**.*':80)
 
0000011 2024-10-09T13:36:29.155770+02:00 INFO 0x00003218@0x000031d8 QueryDeviceId()@DeviceFunctions-OSD.cpp:452	ENTER QueryDeviceId()
 
0000012 2024-10-09T13:36:29.155770+02:00 INFO 0x00003218@0x000031d8 QueryDeviceId()@DeviceFunctions-OSD.cpp:452	EXIT QueryDeviceId()

I’m not sure this is relevant for our problem but we would like some help with going forward with this trouble shooting.

We are running XProtect 2024 R1

Kind regards Hans Olausson

Solved this, found the solution in this “post”

https://supportcommunity.milestonesys.com/s/question/0D53X0000C2cNiUSQU/hiwe-recently-bought-new-hikvision-cameras-hikvision-ds2de2a404iwde3-wich-are-supported-by-the-software-i-checked-this-i-configured-the-cameras-but-i-am-not-able-to-add-them-to-the-milestone-xprotect-manager-for-recording?language=en_US

We needed to activate ONVIF on the camera and use that driver when adding the camera.

/Hans

Thank you for sharing how you solved it.