edgexfoundry / device-usb-camera

Owner: Device WG
Apache License 2.0
12 stars 28 forks source link

Start streaming API failing in secure mode #236

Closed vyshali-chitikeshi closed 1 year ago

vyshali-chitikeshi commented 1 year ago

🐞 Bug Report

Affected Services [REQUIRED]

The issue is located in: Device usb service ### Is this a regression? No ### Description and Minimal Reproduction [**REQUIRED**] USB Start streaming API tried to start streaming and then stops immediately in secure mode. Issue observed on Logitech C270 camera. Issue is not reproducible in non-secure mode. Repro steps: 1. Deploy the edgex stack and usb service in secure mode with latest code from main branch 2. Verify basic rest-api like getting camera info and camera streaming status works correctly on connected USB camera. 3. Execute start streaming rest-api with valid input &output settings (see attached screenshot) 4. Execute stream status api to verify streaming status. Expected behavior: Start streaming starts video streaming and continue streaming until user stops or disconnects camera. Streaming status api shows 'is streaming' set to true. Actuak behavior: Streaming starts for moment and stops immediately. Observed green light coming and going after executing start streaming api. Streaming status api shows 'is streaming' set to false. ## πŸ”₯ Exception or Error



Find attached logs start_streaming_failing_usb_secure_mode.txt Screenshot from 2023-05-05 13-18-42

🌍 Your Environment

Deployment Environment:

EdgeX Version [REQUIRED]: 3.0/latest main

Anything else relevant?

ajcasagrande commented 1 year ago

This is due to https://github.com/edgexfoundry/edgex-compose/issues/377

ajcasagrande commented 1 year ago

Fixed via https://github.com/edgexfoundry/edgex-compose/pull/378

vyshali-chitikeshi commented 1 year ago

Validation looks good in secure mode.