Open
Description
Hi
When the JWT token expires the connection is dropped by Google. The connection is not established. Steps to replicate - reduce the JWT EXP time to 10 mins. The Token will expire and communication with IOT core will stop.
Is there a connection watchdog to restart the connection of poll fails to get a response?
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
fabltd commentedon Mar 13, 2020
adamrosebrock commentedon Dec 30, 2020
If you mean "the JWT token is only valid between IAT and EXP", this is an expected behaviour and a built-in security feature. See Google's documentation at https://cloud.google.com/iot/docs/concepts/device-security.
The connection is closed when the JWT expires (after accounting for the allowed clock drift).