Yes, that was it. Once I switched to the correct ip/port config, I 
restarted and got:

Proxy appears to be running at http://*:8000/, but I can't access it (HTTP 403: 
Forbidden)
Did CONFIGPROXY_AUTH_TOKEN change

But one google search later and I found out I had to kill the node process 
with:

sudo pkill node

One restart after that and all is running. Thanks for your help. 


On Monday, October 16, 2017 at 10:39:49 AM UTC-4, Lance Smith wrote:
>
>
>  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/373b927d-4463-423a-b506-69ea7171d936%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to