microsoft / vscode-azure-iot-toolkit

Azure IoT Hub extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit
Other
73 stars 58 forks source link

Cannot monitor device messages #534

Open huco95 opened 3 years ago

huco95 commented 3 years ago

I am trying to monitor the device messages but I get this errors:

[IoTHubMonitor] At least one receiver for the endpoint is created with epoch of '69', and so non-epoch receiver is not allowed. Either reconnect with a higher epoch, or make sure all epoch receivers are closed or disconnected.

[C2DMessageMonitor] UnauthorizedError: mqtt.js returned Failure on first connection (Not authorized): self signed certificate in certificate chain error.

How can I fix this?

kclubbresideo commented 2 years ago

i am also getting this error with the similar error: UnauthorizedError: mqtt.js returned Failure on first connection (Not authorized): self signed certificate in certificate chain errror This is going to be a show stopper for our team to used this extension.