-
Notifications
You must be signed in to change notification settings - Fork 612
DynamoDB EPROTO Error #3476
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
Comments
We have also been seeing the same issue very sporadically. Tentatively it looks like upgrading to |
I started seeing this issue this past week and just updated to 3.99.0 (Node v14.19.3) but still see the error. EDITED to add: Over the past 24 hours this happened 17 times from just under 4,000 lambda invocations. Error:
Client creation code:
Note: This is from a Lambda to DDB via a VPC endpoint |
Hey there, also receiving this error, although I am using the Error is:
|
I also experience this exact error sporadically in our lambdas running node 14. It somewhat seems to relate to dynamodb, as it only occur in the lambdas that use a dynamodb connection. I tried to upgrade @aws-sdk/* to the latest version 3.121.0 without any luck. Any help would be greatly appreciated! |
This happens just with require('aws-sdk/clients/dynamodb'), even if you don't do anything... |
Hi there, Im sorry for the long wait on the thread. This is something I have not seen come up in a while, and my guess is that it got resolved in newer versions. Thanks, |
This issue has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the issue from automatically closing. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Describe the bug
Sporadically receiving the following error when trying to connect to DynamoDB from various different Lambda functions. This error does not consistently occur in any one particular Lambda function. We see this error occur in different Lambdas in our environment, but when it does occur it always in a Lambda attempting to connect to DynamoDB.
Your environment
SDK version number
Is the issue in the browser/Node.js/ReactNative?
Node.js
Details of the browser/Node.js/ReactNative version
Lambda Node.js 14.x Runtime
Steps to reproduce
Cannot consistently reproduce, error occurs roughly once a week in our serverless environment. We have multiple Lambdas that access DynamoDB, and not all of them fail at the same time, but we have seen this error occur in all Lambdas that do access DynamoDB.
We use the following code to create the DynamoDB client. We then import the documentClient into the handler for each Lambda that needs access to DynamoDB.
Observed behavior
Receive the following error when trying to access DynamoDB with documentClient.send() with a GetItemCommand, QueryCommand, UpdateItemCommand, or PutItemCommand.
Expected behavior
DocumentClient consistently able to access DynamoDB without throwing networking errors.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I've viewed the following issues that have been previously opened that seem to be related to this issue, although most seem to be around 2016 in much earlier versions of the SDK and Node.js. Most recommendations are to force the secure protocol to TLSv1, but I don't imagine that would be the solution any longer as TLSv1.2 would be the recommended version.
aws/aws-sdk-js#862
nodejs/node#3692
The text was updated successfully, but these errors were encountered: