[SOLVED] Proxmox VE - Login failed. Please try again.

After installing my hosts a couple of times, and more to come, I found out by accident that if you have assigned a dns hostname and using that in the browser on a fresh host, you cannot login until you have assigned a certificate on the host.
So use the ip address instead.
How about mentioning that in the login error, instead of just "Login failed. Please try again"
 
Just ran into this issue after having shut down a host and recycling the parts. Something got messed up in my cluster-manager, because pvecm expected 1 did not allow me to log back into the host via web GUI. I think it was because I had configured a QDevice, although I could not remove the QDevice either because of the error:


Ultimately I had to do as @mokaz suggested, which was to destroy the cluster config for the still online node and re-create the cluster once I could get back into the web GUI:

After all that, I'm back in business, without any downtime on any VM/CT's.
thanks this worked for me
 
today i visited the page of my cluster, however i was getting "Login Failed Please Try Again"


I was like: oh sh**** ive been hacked or something, googled the string about and ended up in this topic.

This totally fixed my issue => https://forum.proxmox.com/threads/proxmox-ve-login-failed-please-try-again.55488/post-437733

I was able to SSH into the machines and fix the issues
However i had to delete all "old" PVE nodes in: /etc/pve/nodes/

Runnning 8.2.2

Thx to @mokaz again !

After posting i found an alternative fix, dunno if is works or not =>
https://www.servethehome.com/fix-proxmox-ve-login-failed-please-try-again-on-failing-cluster/

Not fixed => https://forum.proxmox.com/threads/login-failed-but-logs-in-anyway.146754/
 
Last edited:
This worked for me:

Bash:
service pvedaemon restart
service pveproxy restart
service pvestatd restart