Can't login to Web UI - "Login failed. Please try again"

fpdragon

Member
Feb 24, 2022
85
5
13
40
Hello,

I know, there are other threads and I tried their solutions but no help.
So I create a thread on my own in the hope of having some other potential solutions.

I have the following config.
Two nodes configured in a cluster.
LAN network without internet access. (time was set manually)
PVE version 8.0.3

Was working for months stable.
Now, when I try to login on web ui to one of the nodes first I see
Code:
"Please wait..."
and then
Code:
"Login failed. Please try again"

First I thought that somebody else made too many failed login attempts so I waited 24 hours but this has not helped.

But: I am still able to login on both nodes over SSH.

I thought of resetting the certificates on the first node with:
Code:
pvecm updatecerts -f
no help

I tried to remove the following files:
  • /etc/pve/pve-root-ca.pem
  • /etc/pve/priv/pve-root-ca.key
  • /etc/pve/nodes/<node>/pve-ssl.pem
  • /etc/pve/nodes/<node>/pve-ssl.key
  • /etc/pve/authkey.pub
  • /etc/pve/priv/authkey.key
  • /etc/pve/priv/authorized_keys
but even the first file can't be removed.
I was able to navigate to
/etc/pve/nodes/node1/ but there, a simple "ls" command is getting stuck and the ssh shell freezes.

Both nodes seem to be in sync regards time.

All VMs of both machines (~30 VMs) are up and running fine.
The problem is that they are in use and shall not be rebooted if possible.

I am aware that the whole cluster config stuff is very senible to unstable networking and especially latency. The used network may not the best.

So the questions:
Does anybody may know why I can't login to the Web UI?
Maybe it is related to a unstable cluster config?
Is there a way to reboot the cluster without a HW or a VM reboot?
Maybe it is related to broken certificates?
How can I cleanup the certificate troubles without having locked files to be removed?
I would be fine to drop the whole cluster config for a more stable execution on two island nodes. However, is a VM/Node reboot needed to remove the cluster?
I do know the instructions for removing the cluster config but I am not sure if this means to require a reboot. This would complicate things.

Thanks!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!