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.

SSL errors behind proxy

See original GitHub issue

I’m running lots of machine image builds for OpenStack deployments, using the “diskimage-builder” tool. To accelerate the builds I am running a local squid3 cache with almost entirely stock Ubuntu config.

I’ve hit a weird pip issue - I can get it to install a module just fine, but if it needs to call out to install dependencies, I will see the error:

Download error on https://pypi.python.org/simple/pbr/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found!

This was specifically trying to “pip install os-apply-config” and was fetching the dependencies.

This is happening during an image build phase, so is running inside a chroot - I have not been able to reproduce the error outside of a chroot.

Both $http_proxy and $https_proxy have the same value, a URI pointing to the squid3 install on my LAN.

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
ikherecommented, Nov 18, 2013

How was this issue fixed?

0reactions
lock[bot]commented, Jun 2, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTTPS connections over proxy servers - Stack Overflow
Proxy starts HTTPS session to target; Proxy verifies integrity of SSL certificate; displays error if the cert is not valid. Proxy streams content,...
Read more >
Proxy at work makes https sites show as invalid cert authority ...
In effect it does a man-in-the-middle attack and re-creates all certificates, but signed by the CA of the proxy. To get rid of...
Read more >
How do I Fix Server Certificate Errors? - TechDocs
In this case, the SSL Proxy provides a way to ignore certificate errors for certain sites through policy. Recommendation. If internal HTTPS servers...
Read more >
HTTPS Proxy connections fail with certificate_unknown error
Problem. Attempts to connect to an HTTPS SSL site via the Rational Integration Tester (RIT) HTTP Proxy fail. The Proxy log reports "Received ......
Read more >
SSL Error behind Proxy · Issue #835 · FHIR/sushi - GitHub
I get some SSL errors when I sushi -i. Using a corporate proxy. error Unable to download _genonce.sh from ... SSL Error behind...
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