You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have received a new email from volvo with an OTP token, when I checked the logs of volvo2mqtt I found that was an error during refresh credentials.
In my case the server returned 504 error, which does not mean that credentials are invalid, just does not was able to fullfill request.
I have stopped and restarted the container without doing the OTP and the credentials on token_file are still valid and were refreshed when container is restarted.
To Reproduce:
Unable to manually reproduce
Expected behavior:
In some cases the refresh should be retried later without requesting a new login
I dont know what errors should be considered, but for now I think that 5xx can be considered as temporary error like the RequestException is considered.
I have added the 5xx check to my existing PR : #267
Describe the bug
I have received a new email from volvo with an OTP token, when I checked the logs of volvo2mqtt I found that was an error during refresh credentials.
In my case the server returned 504 error, which does not mean that credentials are invalid, just does not was able to fullfill request.
I have stopped and restarted the container without doing the OTP and the credentials on token_file are still valid and were refreshed when container is restarted.
To Reproduce:
Unable to manually reproduce
Expected behavior:
In some cases the refresh should be retried later without requesting a new login
I dont know what errors should be considered, but for now I think that 5xx can be considered as temporary error like the RequestException is considered.
I have added the 5xx check to my existing PR : #267
Version info:
docker v1.10.5
Logs:
The text was updated successfully, but these errors were encountered: