question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TLJH login failures

See original GitHub issue

I managed to get logged in to my TLJH server via the web browser. Played around with it and installed some packages via the terminal. However once I logged out it will not let me log back in again. JupyterHub is insisting I am entering the wrong username and password when the same username and password work via SSH.

Syslog states

Jul 9 19:32:47 jupyterhub python3[859]: [W 2018-07-09 19:32:47.993 JupyterHub base:503] Failed login for juan

Attempted solutions

  • Checked /opt/tljh/config.yaml for problems, appears intact with contents
users:
  admin:
    - juan
  • Restarting server software didn’t help.
  • Restarting the VM entirely didn’t help.
  • Changing user password from the command line and trying the new password didn’t help.
  • Changed web browsers, it didn’t help.

So I have the login page, but it is not recognizing the account. This suggests a serious potential problem with how JupyterHub is authenticating, since it appears to have broken.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
snailkncommented, Nov 13, 2019

I have the same problem, but can’t find the file /opt/tljh/hub/state/passwords.*, is there any other solution to reset the password of a admin user when login failed?

0reactions
KarelMacekcommented, Aug 12, 2021

I was wondering why this is closed. The problem persists, at least in my case.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - TLJH login failures - - Bountysource
TLJH login failures ... I managed to get logged in to my TLJH server via the web browser. Played around with it and...
Read more >
Looking at Logs — The Littlest JupyterHub v0.1 documentation
The JupyterHub installer writes log messages to /opt/tljh/installer.log . This is very useful if the installation fails for any reason. JupyterHub Logs#.
Read more >
jupyterhub/jupyterhub - Gitter
But I took FreeIPA out of the equation on my TLJH and still got login failures. Do you spot a mistake in my...
Read more >
JupyterHub (TLJH) server spawn failure - Stack Overflow
We are trying to create a golden AMI for launching EC2 instances for our data devs. TLJH is already installed on the image, ......
Read more >
Spawners — JupyterHub 3.1.0 documentation
Maximum number of consecutive failures to allow before shutting down JupyterHub. This helps JupyterHub recover from a certain class of problem preventing ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found