Hub token can expire and not get auto-renewed even though cloud is still valid.
hub.ping() will fail:
hub.ping()
WARNING:root:API error, 401: Unauthorized - http://10.0.10.147:8893/cc/1.8/hub/tz - Authentication failed.
False
.. but cloud.ping() succeed:
cloud.ping()
True
Easily fixed if you know what to do:
cloud.authenticate()
WARNING:root:API error, 401: Unauthorized - http://10.0.10.147:8893/cc/1.8/hub/tz - Authentication failed.
True
hub.ping()
True
So this needs to get detected in hub.ping() and handled gracefully by renewing the hub token.
Hub token can expire and not get auto-renewed even though cloud is still valid.
hub.ping() will fail:
.. but cloud.ping() succeed:
Easily fixed if you know what to do:
So this needs to get detected in hub.ping() and handled gracefully by renewing the hub token.