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.

Make bootstrap.py work better with intercepting proxies

See original GitHub issue

Issue #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:closed
  • Created 5 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
fm75commented, Nov 27, 2018

Add to troubleshooting - what happens if you misconfigure HTTPS.

  • If key/certs are misconfigured Traefik won’t start on reload
  • Its failure to restart is not obvious
  • HTTP access continues to work
  • add journalctl command that can be used to investigate, perhaps with example output.
0reactions
yuvipandacommented, May 18, 2019

Apologies for the (very) late response. I think we can move this into two separate actionable issues:

  1. Document that Let’s Encrypt won’t work in a private network
  2. Have bootstrap.py print better error messages when it can’t reach the public internet.

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

Read more comments on GitHub >

github_iconTop 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 >

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