Skip to content
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

Old python version, requests SSL warnings #41

Closed
johnarnold opened this issue Jun 28, 2017 · 3 comments
Closed

Old python version, requests SSL warnings #41

johnarnold opened this issue Jun 28, 2017 · 3 comments

Comments

@johnarnold
Copy link

In StackStorm container, I get warnings from urllib3 when running a module manually. I suspect this will show up in many other places too.

2017-06-28 15:55:36,218 ERROR [-] /opt/stackstorm/st2/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
SNIMissingWarning

2017-06-28 15:55:36,218 ERROR [-] /opt/stackstorm/st2/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning

I've tried forcing requests[secure] and urllib3[secure] but we really need a newer python version to fix the SNI issue.

root@56b83c8b706d:/# python --version
Python 2.7.6

root@56b83c8b706d:/# python --version
Python 2.7.6

I suggest going to 16.04 for the base image, it's the new LTS...

@LindsayHill
Copy link
Contributor

There are other reasons for not going to 16.04 yet - see #29

@johnarnold
Copy link
Author

@LindsayHill fair enough w.r.t. 16.04 / systemd, but that's not a great reason to run old python.

@LindsayHill
Copy link
Contributor

@johnarnold I don't think there's any easy immediate answers. Should we package a newer version of Python with st2?

@arm4b arm4b closed this as completed in 6cc70fd Jul 17, 2020
transhapHigsn pushed a commit to DiligenceVault/st2-docker that referenced this issue Jun 8, 2021
You can find the old deprecated version in `DEPRECATED/all-in-one` branch archive: https://github.com/StackStorm/st2-docker/tree/DEPRECATED/all-in-one

Closes StackStorm#22, closes StackStorm#23, closes StackStorm#26, closes StackStorm#29, closes StackStorm#34, closes StackStorm#41, closes StackStorm#43, closes StackStorm#92, closes StackStorm#112, closes StackStorm#117, closes StackStorm#125, closes StackStorm#133, closes StackStorm#141, closes StackStorm#145, closes StackStorm#151, closes StackStorm#163, closes StackStorm#187,
closes StackStorm#188, closes StackStorm#189, closes StackStorm#190
Closes StackStorm#162, closes StackStorm#138, closes StackStorm#108, closes StackStorm#102, closes StackStorm#65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants