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?

asked 2 years ago318 views
2 Answers
0
Accepted Answer

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

answered 2 years ago
0
  • ok, I just tried this and still getting 0 connect life cycle events, and fleet indexing says it's disconnected

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions