aws / aws-toolkit-vscode

Amazon Q, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources
https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.amazon-q-vscode
Apache License 2.0
1.47k stars 408 forks source link

Timeout error #5289

Closed nkomonen-amazon closed 2 months ago

nkomonen-amazon commented 2 months ago

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 nkomonen@amazon.com

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

nkomonen-amazon commented 2 months ago

@justinmk3 should be ready to merge now