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.

Commit 062ee99 breaks pip install SSL SSL: CERTIFICATE_VERIFY_FAILED

See original GitHub issue

Since commit 062ee99 (12 hours ago) our docker builds have been failing and i narrowed it down to this commit. I reverted the commit, published a new image: https://hub.docker.com/r/trycom/uwsgi-nginx-docker/tags/ and used that instead and everything worked as normal.

To reproduce, simply create a Dockerfile

FROM tiangolo/uwsgi-nginx:python3.6
RUN pip install requests=2.11.1
RUN pip install googlemaps

and you’ll get the error when attempting to pip install googlemaps. Yesterday this used to work, so having published a reverted image you can do the following to see expected results:

FROM trycom/uwsgi-nginx-docker:39f6fdb
RUN pip install requests=2.11.1
RUN pip install googlemaps

Also, as a separate comment, you should tag your docker images with the commit so we dont have to publish our own reverted versions

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
jkatzhrscommented, May 31, 2018

We solved this by adding apt-get update && apt-get install -y apt-transport-https ca-certificates to our docker file. You should never remove ca-certificates from a distro but it seems like it was done by mistake on https://github.com/tiangolo/uwsgi-nginx-docker/commit/062ee99240908b57b759f240b248006e4c822e43#diff-0aaae9c4760d1637b13a4453d8d327f3R82

0reactions
tiangolocommented, Jun 22, 2018

As there were no more comments I’ll assume the issue is solved and close it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pip install fails with "connection error: [SSL
pip install is failing no matter the package. For example, > pip install scrapy also results in the SSL error. Vanilla install of...
Read more >
PIP connection Error : SSL CERTIFICATE VERIFY FAILED
The most common issue in installing python package in a company's network is failure of verification of SSL Certificate. Sometimes company blocks some...
Read more >
How to resolve SSL Certificate Error while installing PIP?
When I'm trying to install PIP using the downloaded package from bootstrap.pypa.io, I'm getting SSL Certificate error.
Read more >
Python HelloWorld Script =SSL Certificate Errors
I have some Python to run through a Runbook task For the moment print 'HelloWorld" returns the error: '[SSL: CERTIFICATE_VERIFY_FAILED] ...
Read more >
Configure SSL for the GitLab Linux package
key file is password protected, NGINX doesn't ask for the password when you reconfigure GitLab. In that case, Omnibus GitLab fails silently with...
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