Make bootstrap.py work better with intercepting proxies
See original GitHub issueIssue #11 Addresses the need to document getting the environment to be used by sudo -E
. I managed to install TLJH
successfully this morning on an ubuntu 18.04
instance running in an OpenStack private cloud. Things that I encountered that required it.
- http(s)_proxy settings to get through our firewalls
- SSL error from requests installing
Miniconda3
- SSL error from
npm
I believe that these can all be addressed by updating Installing on your own server
Before the sudo apt-get install python3 git curl
export http_proxy=<your_proxy>
export https_proxy=<your_proxy>
export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates
sudo npm config set strict-ssl false
and then insert " -E " in the pipe to python3:
curl https://raw.githubusercontent.com/jupyterhub/the-littlest-jupyterhub/master/bootstrap/bootstrap.py | sudo -E python3 - --admin <admin-user-name>
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Proxying and Intercepting CLI Tools - ropnop blog
In this post, I want to show various techniques for configuring different CLI tools written in different languages to proxy their HTTP(S) ...
Read more >Build an HTTPS-intercepting JavaScript proxy in 30 seconds flat
It can act as an HTTP(S) server or proxy, to intercept and mock traffic, transform responses, ... Let's make that traffic do something...
Read more >Chapter 4. Performing Additional Configuration on Satellite ...
You can do this using the bootstrap script or manually. Configuring Hosts with the bootstrap Script. On the host, run the bootstrap script...
Read more >Advanced Python Web Scraping: Best Practices & Workarounds
There are a few things that we can do to prevent our scraper from getting detected: Using proxy servers and IP rotation. To...
Read more >How do I selectively intercept SSL traffic? - TechDocs
... Web and Network Security · ProxySG - 7.3 · About the Blue Coat SSL Proxy · SSL Proxy Best Practices · How...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Add to troubleshooting - what happens if you misconfigure HTTPS.
Apologies for the (very) late response. I think we can move this into two separate actionable issues:
I’ve opened a new issue (#330) for (1) and updated (#16) to account for 2. I’m going to close this now, but feel free to re-open / open new issues.
Again, I apologize for letting this be unanswered for so long, @fm75