edgexfoundry / device-onvif-camera

Owner: Device WG
Apache License 2.0
29 stars 37 forks source link

Hikvision-DS-2DE2A404IW-DE3- Get device service capabilities API gives an error #212

Closed vyshali-chitikeshi closed 1 year ago

vyshali-chitikeshi commented 1 year ago

🐞 Bug Report

Affected Services [REQUIRED]

The issue is located in: Onvif service ### Is this a regression? No Yes, the previous version in which this bug was not present was: .... ### Description and Minimal Reproduction [**REQUIRED**] Device service capabilities API gives an error ## πŸ”₯ Exception or Error



{ "apiVersion": "v2", "message":"request failed, status code: 500, err: {\"apiVersion\":\"v2\",\"message\":\"error reading DeviceResourece DeviceCapabilities for HIKVISION-DS-2DE2A404IW-DE3-099f4000-4d50-11b4-82c8-c06ded544d95 -> failed to execute read command -> failed to create 'GetServiceCapabilities' response for the web service 'Device' -> cannot unmarshal into device.EAPMethodTypes\",\"statusCode\":500}", "statusCode": 500 } Screenshot from 2023-01-13 00-53-33

🌍 Your Environment

Deployment Environment:

EdgeX Version [REQUIRED]:

Anything else relevant?

vyshali-chitikeshi commented 1 year ago

Screenshot from 2023-01-13 00-53-33

ajcasagrande commented 1 year ago

Looks like an issue with the internal onvif library

lenny-goodell commented 1 year ago

@ajcasagrande , bumped it to a Medium. Can you please submit bug against the IOTech package and link it here?

vyshali-chitikeshi commented 1 year ago

It works correctly with latest V3 code, find attached. Closing this defect Screenshot from 2023-06-06 23-14-00