https://github.com/lldap/lldap logo
LLDAP works but web panel errors with "Could not L...
# troubleshooting
a
I've used this LLDAP in a portainer stack for a few months, works great. The actual LLDAP is working, but when I try use the web panel to edit uses I get "Could not Log in". Haven't used the web panel in a month of so, unsure what happened. If I put in the wrong password it says "Invalid username or password", and when I use the right password it says this in the log:
Copy code
INFO     i [info]: OPAQUE login attempt for "jacob"
INFO     i [info]: OPAQUE login successful for "jacob"
https://cdn.discordapp.com/attachments/1384712140308480130/1384712148441108681/image.png?ex=68536d2e&is=68521bae&hm=1dff1b71a3ed382b52c9db6573ae25b13f5d30ffe336b6dcbdea68dd4e660cce& https://cdn.discordapp.com/attachments/1384712140308480130/1384712148684509388/image.png?ex=68536d2e&is=68521bae&hm=6a81c17a740834b051ea6e0be4c29ca9836aaeef289dffd7d95a6b67aa039771&
I changed the logging to debug, this is when I try log in:
j
Is it possible you've upgraded, and your browser need a cache refresh of the UI? Seems strange 🙂
a
Checked different PCs, including some that haven't used the web panel. Still the same error, I had a look at the code but didn't notice anything that could indicate what causes the "Could not Log in"
j
have you checked the js console and network activity in the browsers developer tools?
j
Hehe. Yeah, that doesn't look good. Have you enabled verbose logging?
a
I saw in another thread about logging, so I had this added. The log in the original thread is all I see in the portainer log https://cdn.discordapp.com/attachments/1384712140308480130/1385164496917499987/image.png?ex=68551277&is=6853c0f7&hm=5014ac9dc9a45a807f83827d1e415183d0ee9106e461a1a6aa76268c7fd919fe&
What I could try is swap around some cables, get rid of the router to verify that it isn't some weird port blocking issue
j
that's not it, I think, you'll need to set lldaps own verbose
a
Ohhh, do you know the name of that one
j
probably best to look up on the github docs, I'm not sure about the env name, but in the settings file is just called verbose
a
With
verbose=true
, my logging has expanded a bit:
j
hm, looks about the same to me, wrong text pasted?
otoh debug level is probably correct, nothing more after that?
Yep, clearing space got me in. Apologies for the troubles, I'm still learning how linux/portainer provisions chunks of space. Hopefully if someone in the future has a similar issue they can enable these in the logs and look for disk space issues. https://cdn.discordapp.com/attachments/1384712140308480130/1385168534107197440/image.png?ex=68551639&is=6853c4b9&hm=a29ec29cce2bb63544d99192a8b560e78a059de70945aecdb7e43af8d480e367& https://cdn.discordapp.com/attachments/1384712140308480130/1385168534447067276/image.png?ex=68551639&is=6853c4b9&hm=9e3702b546713655b0bcd65cc05d5ce3c31d0c60aea0deaad16f56525de05e5f&
j
no worries, but yeah, that would explain it 🙂