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 to
Kernel configuration.


On Mon, Oct 16, 2017 at 11:11 AM, Charles Forelle <[email protected]>
wrote:

> I think you want c.JupyterHub.ip and c.JupyterHub.port, not hub_ip and
> hub_port
>
> Does that help?
>
> On Mon, Oct 16, 2017 at 3:39 PM Lance Smith <[email protected]> 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/d3a8d654-a95b-43c3-80e6-95c3e91496fa%40googlegroups.com
>> <https://groups.google.com/d/msgid/jupyter/d3a8d654-a95b-43c3-80e6-95c3e91496fa%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Project Jupyter" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jupyter/M2l5e62bnUA/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAOFssWyiwy8BxpVLdmkSjTsUWm6HJodrOJUabyaj34veMG6PBg%40mail.
> gmail.com
> <https://groups.google.com/d/msgid/jupyter/CAOFssWyiwy8BxpVLdmkSjTsUWm6HJodrOJUabyaj34veMG6PBg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CA%2BW9o-6Ec73bFq-9kskii%3Db2s1DTcL8ujT5v60TxZw_mh%3DC7yQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to