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
When using HttpBearerAuth with any type of expiring / non-reusable tokens the default setup as documented on https://failsafe.dev/okhttp/ causes issues: It can happen that a circuit breaker or retry policy causes enough delay for the token to expire.
It seems that the only way to address this right now is to check for status 401 and then re-create the call and executor, which causes the retry policy to be reset.
The text was updated successfully, but these errors were encountered:
When using HttpBearerAuth with any type of expiring / non-reusable tokens the default setup as documented on https://failsafe.dev/okhttp/ causes issues: It can happen that a circuit breaker or retry policy causes enough delay for the token to expire.
It seems that the only way to address this right now is to check for status 401 and then re-create the call and executor, which causes the retry policy to be reset.
The text was updated successfully, but these errors were encountered: