Lambda under Python 3.6 Runtime using IoT causes UnsupportedTLSVersionWarning
See original GitHub issueWhen publishing to IoT using the Python 3.6 runtime with Lambda he following warning is logged:
/var/task/botocore/handlers.py:697: UnsupportedTLSVersionWarning: Currently installed openssl version: OpenSSL 1.0.0-fips 29 Mar 2010 does not support TLS 1.2, which is required for use of iot-data. Please use python installed with openssl version 1.0.1 or higher.
client = boto3.client('iot-data', 'us-east-1')
client.publish(topic=topic, qos=0, payload=data)
Can this be ignored?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Troubleshoot Python (Boto 3) Lambda function runtime errors
A Python (Boto 3) Lambda function that isn't using the latest version of Boto 3 can return any of the following errors:.
Read more >terraform-aws-modules/lambda/aws
Terraform module, which creates almost all supported AWS Lambda ... This module can only store packages it builds locally and in S3 bucket....
Read more >Lambda Runtime Environment Version | Trend Micro
A Lambda runtime (execution) environment is a container build based on the ... 03 In the left navigation panel, under AWS Lambda, choose...
Read more >Pandas in AWS lambda gives numpy error - Stack Overflow
Would love to know how it can be done in a python 3.6 runtime environment though if anyone figures it out! – 0xPeter.eth....
Read more >Lambda layers for Python runtime - Nordcloud
AWS Lambda is one of the most popular serverless compute services in the public cloud, released in November 2014. It runs your code...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is there any update on this issue or another place where there’s a solution posted as I happen to have the same problem.
This appears to be fixed in lambda’s Python 3.7 release. If you are using serverless, you can update the version in the config file, otherwise there should be a version dropdown in the AWS lambda panel
SSL Version: OpenSSL 1.0.2k-fips 26 Jan 2017