arduino / arduino/ArduinoCloudProviderExamples

Google Cloud IOT Core Fails re negotiate JWT

Open
#12 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C
Stars
82
Forks
25
PR merge metrics
No merged PRs in 30d

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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the connection failure with the JWT expiration reduced to 10 minutes, then inspect the example's connection and token-renewal handling. Done means communication with Google Cloud IoT Core resumes after the JWT expires, including recovery when polling or reconnecting fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, google-cloud
Domain
cloud, embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.