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
* fix: Treat TimeoutError as a NetworkError
Problem:
When we attempt to refresh an SSO session, we sometimes saw
a TimeoutError in our telemetry as the reason for refresh failure.
Solution:
We treat the TimeoutError as a network error.
See isSocketTimeoutError() docstring for more details.
Signed-off-by: Nikolas Komonen <[email protected]>
* refactor: sso client retry
- After some disccusion with the identity team it may not be necessary
to retry on InvalidGrant. See comment for more info
- Removed the previous comment regarding other possible exceptions. After
going through them, their docstrings point to malformed request arguments,
so retrying probably will not help.
- Reduced requestTimeout so we do not block on very slow responses.
Signed-off-by: Nikolas Komonen <[email protected]>
---------
Signed-off-by: Nikolas Komonen <[email protected]>
0 commit comments