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

Concurrent SES and DynamoDB use in Lambda causes Fatal error: Tls Context failed to create. #197

Closed
sichanyoo opened this issue Aug 31, 2023 · 4 comments
Assignees
Labels
blocked Work is blocked on this issue for this codebase. Other labels or comments may indicate why. bug This issue is a bug. needs-review p2 This is a standard priority issue

Comments

@sichanyoo
Copy link
Contributor

Describe the bug

Bug issue #1077 in Swift SDK project mentions an exception that is thrown from TLSContext constructor in aws-crt-swift/Source/AwsCommonRuntimeKit/io/TLSContext.swift. The bug is caught in smithy-swift/Sources/ClientRuntime/Networking/Http/CRT/SDKDefaultIO.swift. The error seems to be arising from CRT side, hence submission of this issue.

Expected Behavior

TLS Context should be successfully created.

Current Behavior

Fatal error is thrown when creating TLS context.

Reproduction Steps

Details in issue #1077

Possible Solution

No response

Additional Information/Context

The function is using runtime version: provided:al2.v20

aws-crt-swift version used

0.12.0

Compiler and Version used

Swift 5.7

Operating System and version

Built for arm64 using the swift:5.7-amazonlinux2 image

@sichanyoo sichanyoo added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Aug 31, 2023
@yasminetalby yasminetalby added needs-review and removed needs-triage This issue or PR still needs to be triaged. labels Sep 5, 2023
@yasminetalby yasminetalby self-assigned this Sep 6, 2023
@waahm7
Copy link
Contributor

waahm7 commented Sep 14, 2023

We need trace-level CRT logs to figure out exactly what is failing when creating the TLSContext. Currently, there is no way for customers to enable CRT trace logs and share the logs with us. We will need to implement support to enable CRT logs first.

@waahm7 waahm7 added the blocked Work is blocked on this issue for this codebase. Other labels or comments may indicate why. label Sep 14, 2023
@waahm7
Copy link
Contributor

waahm7 commented Sep 19, 2023

Blocked by awslabs/aws-sdk-swift#1131

@jmklix jmklix added the p2 This is a standard priority issue label Oct 16, 2023
@waahm7 waahm7 added this to the GA milestone Dec 6, 2023
@smivij smivij removed this from the GA milestone May 15, 2024
@sichanyoo
Copy link
Contributor Author

Closing as the ticket has gone stale with no response from the customer.

Copy link

github-actions bot commented Jun 3, 2024

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Work is blocked on this issue for this codebase. Other labels or comments may indicate why. bug This issue is a bug. needs-review p2 This is a standard priority issue
Projects
None yet
Development

No branches or pull requests

5 participants