gpt4 book ai didi

Azure Iothub-Explorer 纪元错误?

转载 作者:行者123 更新时间:2023-12-03 00:17:38 24 4
gpt4 key购买 nike

我正在尝试查看通过 iothub-explorer 从我的 esp8266 模块发送的消息,但出现以下错误。

我正在运行的命令

iothub-explorer monitor-events DeviceID --login "HostName=Something.azure-devices.net;SharedAccessKeyName=key;SharedAccessKey=asdfsdfsdfasdfsdf="

错误

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

最佳答案

您可以为 IoT Hub 资源管理器添加消费者组以接收 esp8266 发送的事件。在Azure Portal中你可以这样做:

enter image description here

在命令中使用 --consumer-group 选项指定上面创建的消费者组,如下所示:

iothub-explorer monitor-events myFirstDevice --consumer-group ReceiveEsp8266Events --login "HostName=xxxx"

引用号:iothub-explorer-monitor-events.js

关于Azure Iothub-Explorer 纪元错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50653473/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com