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 年前檢視次數 334 次
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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南