iotedgedev icon indicating copy to clipboard operation
iotedgedev copied to clipboard

iotedgedev monitor hangs with no telemetry output

Open smcd253 opened this issue 4 years ago • 2 comments

  • iotedgedev Version: 2.2.0
  • Python Version: 3.6.0
  • Pip Version: 20.2.4
  • Development machine OS Version: Windows 10
  • IoT Edge device OS Version: Ubuntu 18.04
  • azure-cli version: 2.18.0

Steps to Reproduce:

  1. Run iotedgedev in pypi form from virtual environment
mkdir temp
cd temp
<path_to_venv>/Scripts/activate
pip install iotedgedev
iotedgedev init
# follow iothub setup script
  1. Build, deploy and monitor
iotedgedev build
iotedgedev deploy
iotedgedev start
iotedgedev monitor

Output from iotedgedev monitor hangs with the following output:

================================
======== MONITOR EVENTS ========
================================

It may take 1-2 minutes before you start to see messages below.

Starting event monitor, filtering on device: iotedgedev-edgedevice, use ctrl-c to stop...

Think this may be an az cli issue as az cli iot hub event-monitor also does not produce output.

smcd253 avatar Feb 08 '21 19:02 smcd253

Thank you for reporting the issue with the repro steps. We will try to reproduce the issue and get back to you with questions if any

konichi3 avatar Feb 08 '21 21:02 konichi3

@smcd253 a new version (0.14.13) of the iotedgehubdev simulator has been released with a fix for the createOptions path array binding. Please try it out and let us know if your original issue still persists. To try iotedgedev with the latest simulator version, you will need to pip install --upgrade iotedgehubdev after iotedgedev is installed.

marianan avatar Mar 18 '22 05:03 marianan