AWS IoT - No Lifecycle events - Fleet Indexing shows all devices disconnected

0

I have enabled fleet indexing with "thing connectivity", however when I run a search on things using "search-index" all things come back as not connected.

I can see on the AWS IoT Monitor Dashboard, using the "Metric type rate(%)" Pie Chart, that there are definitely "Connect" and "Ping" metrics.

I have turned on debug logging in IoT and can search for logs in cloudwatch, but there are no lifecycle events showing.

Any suggestions for how to debug this further?

已提问 2 年前335 查看次数
2 回答
0
已接受的回答

Ok so yea - this seems to be answered by the other post linked in the comment below.

"If your client is using a different client ID from Thing Name when connecting to AWS IoT, the connectivity status of your "thing" will not be indexed by Fleet Indexing"

It seems though that there is some delay between connects and the thing connectivity state updating as per https://repost.aws/questions/QU5zUQchQ3SWyLWQPeDH7umQ/aws-io-t-core-takes-too-long-to-update-the-connectivity-information-of-a-device

已回答 2 年前
0
  • ok, I just tried this and still getting 0 connect life cycle events, and fleet indexing says it's disconnected

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则