Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication timeout for AWS credentials provider #12421

Closed
jszwedko opened this issue Apr 26, 2022 · 0 comments · Fixed by #12422
Closed

Authentication timeout for AWS credentials provider #12421

jszwedko opened this issue Apr 26, 2022 · 0 comments · Fixed by #12422
Assignees
Labels
meta: regression This issue represents a regression provider: aws Anything `aws` service provider related type: bug A code related bug.

Comments

@jszwedko
Copy link
Member

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Problem

A user ran into:

Failed to load credentials from the credentials provider: Credentials provider timed out after 5 seconds error_code="failed_fetching_sqs_events" error_type="request_failed" stage="receiving"

When upgrading to Vector v0.21.1 (and thus the new AWS SDKs).

Upon some investigation, I think the timeout used by the new SDKs is lower than what rusoto was using. The new AWS SDK seems to default to 5 seconds while rusoto defaulted to 30 seconds.

Configuration

No response

Version

vector 0.21.1

Debug Output

No response

Example Data

No response

Additional Context

No response

References

@jszwedko jszwedko added type: bug A code related bug. meta: regression This issue represents a regression provider: aws Anything `aws` service provider related labels Apr 26, 2022
@jszwedko jszwedko added this to the Vector v0.21.2 milestone Apr 26, 2022
@jszwedko jszwedko self-assigned this Apr 26, 2022
jszwedko added a commit that referenced this issue Apr 26, 2022
…ials

Technically an enhancement, but it allows working around a regression in
behavior (the default changing from 30s to 5s as part of the SDK
upgrade) so marking as a fix.

Closes: #12421

Signed-off-by: Jesse Szwedko <jesse@szwedko.me>
jszwedko added a commit that referenced this issue Apr 27, 2022
…ials (#12422)

* fix(aws provider): Allow configuring the load timeout for AWS credentials

Technically an enhancement, but it allows working around a regression in
behavior (the default changing from 30s to 5s as part of the SDK
upgrade) so marking as a fix.

Closes: #12421

Signed-off-by: Jesse Szwedko <jesse@szwedko.me>

* Fix the rest of the usages

Signed-off-by: Jesse Szwedko <jesse@szwedko.me>

* Fix test

Signed-off-by: Jesse Szwedko <jesse@szwedko.me>
jszwedko added a commit that referenced this issue May 4, 2022
…ials (#12422)

* fix(aws provider): Allow configuring the load timeout for AWS credentials

Technically an enhancement, but it allows working around a regression in
behavior (the default changing from 30s to 5s as part of the SDK
upgrade) so marking as a fix.

Closes: #12421

Signed-off-by: Jesse Szwedko <jesse@szwedko.me>

* Fix the rest of the usages

Signed-off-by: Jesse Szwedko <jesse@szwedko.me>

* Fix test

Signed-off-by: Jesse Szwedko <jesse@szwedko.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta: regression This issue represents a regression provider: aws Anything `aws` service provider related type: bug A code related bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant