Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Cloud IOT Core Fails re negotiate JWT #12

Open
fabltd opened this issue Mar 11, 2020 · 2 comments
Open

Google Cloud IOT Core Fails re negotiate JWT #12

fabltd opened this issue Mar 11, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@fabltd
Copy link

fabltd commented Mar 11, 2020

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?

@fabltd

This comment was marked as spam.

@adamrosebrock
Copy link

adamrosebrock commented 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).

@per1234 per1234 added the bug Something isn't working label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants