I am running Jupyter Hub on a SLURM cluster such that the proxy & hub are on one machine, but the jupyterhub-singleuser instances are running on other machines.
I was having a problem getting the remote instances to connect because I had configured the c.JupyterHub.hub_ip as 'main-server-hostname' rather than its exact ip address x.x.x.x. I'd prefer just to set the hostname, since I am running in a dynamic IP setup.
Also, I noticed that if I do set the exact IP address, and then just use a browser to go to
http://main-server-hostname:8081/hub/api it works! So it clearly can be served, so I'm wondering why we can't set the hub_ip as hostname.
Thanks.