FROM jupyter/datascience-notebook:latestENV http_proxy http://x.x.x.x:8080ENV https_proxy http://x.x.x.x:8080
ENV no_proxy
# install some additional packages here
...
ENV http_proxy ""
I think the proxy setting is affecting the connection between the single-user server and the Hub itself, because that connection is getting proxied and the proxy cannot see the Hub. I think you will need to tell the single-user server’s API requests to the Hub to ignore your http_proxy environment variable. The code that makes the request is here. This SO question seems to have a solution for telling requests to ignore environment variables such as the proxy setting. I’m not certain if this is the right fix, since it might introduce other bugs, but it would fix this case at least.
-Min
--Cheers,
Richard.
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/0b2f5081-11d6-4088-a7fd-b4680573b38c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ENV no_proxy jupyterhub
Cheers,
Richard.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.