Closed
Description
Expected Behavior
The lambda runs and logs to DD
Actual Behavior
"Unable to import module 'datadog_lambda.handler': cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (/var/task/urllib3/util/ssl_.py)",
Likely related to urllib3/urllib3#2168
Steps to Reproduce the Problem
- Create a SAM template that uses the latest version of the DD Python Extension
- Create a Lambda that uses python 3.9
- sam build -u, sam deploy
- Attempt to execute the lambda
Specifications
- Datadog Lambda Layer version: 43
- Python version: 74
Stacktrace
[ERROR] Runtime.ImportModuleError: Unable to import module 'datadog_lambda.handler': cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (/var/task/urllib3/util/ssl_.py)
Traceback (most recent call last):
Metadata
Metadata
Assignees
Labels
No labels