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?

posta 2 anni fa335 visualizzazioni
2 Risposte
0
Risposta accettata

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

con risposta 2 anni fa
0
  • ok, I just tried this and still getting 0 connect life cycle events, and fleet indexing says it's disconnected

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande