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.41k stars 346 forks source link

auth: TimeoutError OIDC client fix attempt #5213

Closed nkomonen-amazon closed 1 week ago

nkomonen-amazon commented 1 week ago

Problem

During API calls with the OIDC client the request would time out and we would get TimeoutError.

Solution:

See if adding an explicit request timeout amount will avoid this. We'll need to observe telemetry to see if this specific type of error goes down.

License

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

justinmk3 commented 1 week ago

This could be a SDK bug: https://github.com/denoland/deno/issues/18932 Which may be fixed if we upgrade aws sdk?