I think I have a simple configuration error, but I can't figure it out. I 
have a Jupyterhub installation that uses SSL via a certificate that was 
given to my by our systems administrator. I have a VM that runs jupyterhub 
remotely and I've configured it by following the instructions 
from the install guide. The only changes to jupyterhub_config.py are below.

I have a DNS name, jupyterhub.<mydomain>.org assigned to 10.2.1.52 The hub 
starts without any errors to the console. When I try to go to the URL, it 
just hangs and eventually errors out.

If I try to go directly to the Hub API at http://10.2.1.52:443/hub/, I’ll 
get the login page but I will get caught in a redirect loop and kicked out

 

*Error message:*

 

Detected possible direct connection to Hub's private ip: 
http://10.2.1.52:443/hub/user/smithla, bypassing proxy.

                        This will result in a redirect loop.

As far as I can tell, ports 443, 8000 and 8001 are open

root@jupyterhub:/home/smithla/jupyterconfig# netstat -tulnp | grep 443
tcp        0      0 10.2.1.52:443           0.0.0.0:*               
LISTEN      4169/python3

root@jupyterhub:/home/smithla/jupyterconfig# netstat -tulnp | grep 8000
tcp6       0      0 :::8000                 :::*                    
LISTEN      4173/node

root@jupyterhub:/home/smithla/jupyterconfig# netstat -tulnp | grep 8001
tcp        0      0 127.0.0.1:8001          0.0.0.0:*               
LISTEN      4173/node


Thanks, 
  Lance Smith


*jupyterhub_config.py file*

## The ip for this process
c.JupyterHub.hub_ip = '10.2.1.52'

## The port for this process
c.JupyterHub.hub_port = 443




-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/d3a8d654-a95b-43c3-80e6-95c3e91496fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to