Azure / iotedgedev

The Azure IoT Edge Dev Tool greatly simplifies your Azure IoT Edge development process. It has everything you need to get started and helps with your day-to-day Edge development.
https://aka.ms/iotedgedev
Other
160 stars 71 forks source link

iotedgedev monitor hangs with no telemetry output #455

Open smcd253 opened 3 years ago

smcd253 commented 3 years ago

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
  2. 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.

konichi3 commented 3 years ago

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

marianan commented 2 years ago

@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.