Closed SaitejaChavva closed 2 months ago
Hey, anyone please help me to fix the issue.. Kindly do the needful
@SaitejaChavva thanks for opening this issue, the issue seems to be not coming from the SDK. https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/node-registering-certs.html
Network connectivity errors can result from issues with your VPC's routing configuration, security group rules, AWS Identity and Access Management (IAM) role permissions, or network address translation (NAT), or from the availability of resources such as IP addresses or network interfaces. Depending on the issue, you might see a specific error or timeout if a request can't reach its destination.
The default lambda ships version 2.1083.0 of the SDK, can you make sure you are using a lambda layer to import latest version of the SDK. https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
@ajredniwja Thanks for the reply
But DynamoDB connection was working fine. Only I'm getting error while accessing Secrets Manager.
Yes I'm using lambda layer to import latest version of the SDK.
HI @SaitejaChavva - sorry for the long delay here.
This type of error typically occurs when the client is unable to verify the SSL/TLS certificate presented by the server. This can happen due to several reasons such as missing root certificates, network configuration issues, or issues with the SSL/TLS implementation.
In the context of AWS Lambda functions, this error can occur due to the lack of root certificates in the Lambda execution environment. By default, AWS Lambda uses the Amazon Trust Services root certificates which may not include the necessary certificates for some AWS services or endpoints.
Since this's unrelated to SDK and no action item for the team, I'm going to close this.
Describe the bug
I'm getting above issue, while accessing the AWS Secrets Manager. Below is my code
Expected Behavior
N/A
Current Behavior
N?A
Reproduction Steps
N/A
Possible Solution
No response
Additional Information/Context
No response
SDK version used
2.1201.0
Environment details (OS name and version, etc.)
windows