-
Notifications
You must be signed in to change notification settings - Fork 600
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
Error: ERR_OSSL_EVP_UNSUPPORTED when sending a message to SQS in Node.js 18 Lambda with custom OpenSSL layer #6268
Comments
Hi @SantosC95 - thanks for reaching out and apology for the wait. Can you please provide a minimal reproducible code without any sensitive information? I couldn't find any similar reports to this and wasn't able to reproduce it on my end. Any additional details that you can provide would be helpful for us. Here're issues I think is related: |
Hi @aBurmeseDev Sorry for the late response, Here you have a code snippet we already shared with the AWS tech support team:
Environment variables:
Please, use the attached .zip as a lambda layer. Thanks for your help. |
Hi @aBurmeseDev, We found the issue was due to the md5 checksum that the SQS SDK uses, since md5 is not a FIPS-supported algorithm. Related issues: Seems like an In addition, for readers in the near future, the |
@Sepehr-Qrvey - thanks for sharing!
This's correct, and is documented in our UPGRADING.md.
// Example: skip md5 checksum in SQS.
import { SQS } from "@aws-sdk/client-sqs";
new SQS({
md5: false, // Note: only available in v3.547.0 and higher.
}); |
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. |
Checkboxes for prior research
Describe the bug
Summary
I am encountering an
ERR_OSSL_EVP_UNSUPPORTED
error when sending a message to SQS in a Node.js 18 Lambda function. Despite the error, the message is still successfully pushed into the queue. The Lambda function is running in a FIPS-compliant GovCloud environment and has a custom OpenSSL layer (3.0.8).Error Details
We believe the line of code where the error occurs is here.
Environment Details
SDK version number
@aws-sdk/middleware-sdk
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
Node.js 18.x
Reproduction Steps
Observed Behavior
Expected Behavior
No error should be thrown when sending a message to SQS.
Possible Solution
No response
Additional Information/Context
Please let me know if any additional information is needed.
The text was updated successfully, but these errors were encountered: