“User logged in:” but not actually logged in – JupyterHub

Typing jupyterhub in a terminal on a fresh jupyterhub install through anaconda on a red hat 8.7 server – I get a login screen on :8000 port, all is well.

When I type the username and password (I know it’s correct, because I am not getting any warnings about incorrect password), this is the output in the terminal:

[I 2023-03-27 10:34:18.158 JupyterHub base:819] User logged in: <MyUsername>
[I 2023-03-27 10:34:18.159 JupyterHub log:186] 302 POST /hub/login?next=%2Fhub%2F -> /hub/ (<MyUsername>@::ffff: 223.26ms
[I 2023-03-27 10:34:18.170 JupyterHub log:186] 302 GET /hub/ -> /hub/login?next=%2Fhub%2F (@::ffff: 0.64ms
[I 2023-03-27 10:34:18.202 JupyterHub log:186] 200 GET /hub/login?next=%2Fhub%2F (@::ffff: 25.03ms

It still does not have any SSL certificates, nothing is yet configured with proxy, the jupyterhub_config.py file is unchanged.

I would like to first be able to run a basic version – but it does not let me in.

What could be a reason?

  • User account exists on this server, I can go into it
  • Logs/live logs do not show any error messages
  • Firewall/proxy – if I can access the GUI already, login screen works, I assume that firewall part is configured properly.
  • Tried running Jupyterhub in debug mode – no error messages, says that the user is logged in(but still not going through the login screen)

Thank you!

Can you tell us exactly how you’ve setup JupyterHub? For example did you install it as root or an unprivileged user, and how have you configured it?

Yes I have installed it as root. First of all installed anaconda3 to /opt/app/anaconda3 directory then later, after doing source .bashrc and having base environment activated, I did conda install jupyterhub.

After the installation I ran jupyterhub and that is all, I expected it to work.

It does work, it opens in :8000 port, but I can not go through the login screen for some reasons.

Read more here: Source link