Azure / azure-iot-explorer

Cross-platform UI for interacting with devices attached to Azure IoT Hub. This tool is meant for learning and testing, not for production environment.
MIT License
223 stars 72 forks source link

[BUG] DirectMethods/PnP Commands produce Internal server error #549

Closed rido-min closed 1 year ago

rido-min commented 1 year ago

Since 0.15.0 all commands fail with

Failed to invoke the IoT Plug and Play command 'getRuntimeStats' 
on device 'hub-device-65c5f7498f-bfk6f': 

Error: 
{
  "errorCode":500001,
  "trackingId":"09aedd7fbf2c4b7f8ae4183c5f2d6d03-G:0-TimeStamp:09/15/2022 13:35:06",
  "message":"InternalServerError",
  "timestampUtc":"2022-09-15T13:35:06.9897024Z"
}

I verified I can invoke the same command on the same device from the portal, so seems an issue with IoTExplorer.

Elsie4ever commented 1 year ago

Hi @rido-min, I'm currently on 0.15.0 and tried to run commands in DirectMethods/PnP, both seems work to me and don't have the issue you mentioned repro image Please let us know if you still have the issue, then we will reopen and investigate, thanks