aws-solutions-library-samples / guidance-for-secure-blockchain-validation-using-aws-nitro-enclaves

This Guidance shows how to deploy a secure, scalable, and cost-efficient blockchain key management solution for blockchain validation workloads like Ethereum 2.0 proof-of-stake networks.
https://aws.amazon.com/solutions/guidance/secure-blockchain-validation-using-aws-nitro-enclaves/
MIT No Attribution
14 stars 5 forks source link

Cannot import name 'DEFAULT_CIPHERS' #2

Closed smokingfive closed 1 year ago

smokingfive commented 1 year ago

I'm seeing the following issue when executing the status command:

Runtime.ImportModuleError: Unable to import module 'lambda_function': cannot import name 'DEFAULTCIPHERS' from 'urllib3.util.ssl' (/opt/python/urllib3/util/ssl_.py)

However, when executing the set_tls_key, we receive the following response:

{
    "StatusCode": 200,
    "FunctionError": "Unhandled",
    "ExecutedVersion": "$LATEST"
}

Also, I do not see any records in the DDB table devNitroValidator-TLSKeyTableXXXX.

Do you have any advice on how to resolve this issue?

BTW - Currently using Python 3.9