question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Lambda under Python 3.6 Runtime using IoT causes UnsupportedTLSVersionWarning

See original GitHub issue

When 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:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
sthuber90commented, Jun 14, 2018

Is there any update on this issue or another place where there’s a solution posted as I happen to have the same problem.

0reactions
jakeroberscommented, Jan 3, 2019

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found