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.

InsecurePlatformWarning: A true SSLContext object is not available

See original GitHub issue

Tried to setup a project, with latest version from pip.

(bandmix)holms@holms:/var/www/bandmix/project$ djangocms -p . bandmix
Database configuration (in URL format) [default sqlite://localhost/project.db]:
django CMS version (choices: 2.4, 3.0, stable, develop) [default stable]:
Django version (choices: 1.4, 1.5, 1.6, 1.7, stable) [default stable]:
Activate Django I18N / L10N setting (choices: yes, no) [default yes]: no
Install and configure reversion support (choices: yes, no) [default yes]: yes
Languages to enable. Option can be provided multiple times, or as a comma separated list. Only language codes supported by Django can be used here:
Languages to enable. Option can be provided multiple times, or as a comma separated list. Only language codes supported by Django can be used here: lt
Optional default time zone [default Etc/UTC]: Europe/Vilnius
Activate Django timezone support (choices: yes, no) [default yes]:
Activate CMS permission management (choices: yes, no) [default yes]:
Use Twitter Bootstrap Theme (choices: yes, no) [default no]: yes
Use custom template set [default no]: yes
Given directory does not exists, retry
Use custom template set [default no]: no
Load a starting page with examples after installation. Choose "no" if you use a custom template set. (choices: yes, no) [default no]: yes
Creating the project
Please wait while I install dependencies
/var/www/bandmix/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Dependencies installed
Creating the projectFailure occurred. Do you want to cleanup by removing /var/www/bandmix/project? [Y/N]

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
sonlinuxcommented, May 21, 2016

The security feature installation below worked for me.

pip install pyopenssl ndg-httpsclient pyasn1

0reactions
yakkycommented, Jun 1, 2015

@hfv1606 sorry, my comment was not entirely clear. With the above PR I removed requests from dependencies, as it’s only used in a dead part of the code due to be removed and added examples to the libraries section of the documentation. pip freeze reported a wrong version number as djangocms-text-ckeditor was installed from master branch. 2.5.0 has now been released so this is fixed too. Expect a new installer version to be released soon

Read more comments on GitHub >

github_iconTop Results From Across the Web

InsecurePlatformWarning: A true SSLContext object is not ...
python - InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately - Stack ...
Read more >
InsecurePlatformWarning: A true SSLContext object ... - GitHub
Hello, when trying to use livestreamer on OSX with the built-in python I get the following error: livestreamer twitch.tv/sing_sing
Read more >
A true SSLContext object is not available. This prevents urllib3 ...
InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately · /usr/local/lib/python2.
Read more >
A true SSLContext object is not available. This prevents urllib3 ...
PYTHON : InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately [ Gift ...
Read more >
SSL InsecurePlatform error when using Requests package
SSL InsecurePlatform error when using Requests package - When making https requests ... InsecurePlatformWarning: A true SSLContext object is not available.
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