mattmakai / slack-starterbot

Python-powered simple starter Slack bot.
https://www.fullstackpython.com/blog/build-first-slack-bot-python.html
MIT License
197 stars 146 forks source link

python2 ssl certificate error #3

Closed fofiedelly closed 7 years ago

fofiedelly commented 7 years ago

Hi guys thanks for this bot code. I go trough the tutorial on build-first-slack-bot. I started the code on my Ubuntu 14.04 and run in this error. I try to install the urllib but the error is still there.

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,

fofiedelly commented 7 years ago

solved! I only need to install the security package extras pip install requests[security] stackOverflow Thread