Hi,
So this happens a second time. The first time it happened was a few months ago where I took the chance to reinstall PVE, so I never found out why.
This time, again, after stopping the host for some hardware swap and maintenance, the OTP login fails.
The host is now connected to the internet so I checked and confirmed that the NTP service is active. Comparing the time between it and my phone, the difference is just a few seconds, much less than 30 secs.
To give more details, I actually once logon to the PVE GUI while the host was offline during the maintenance (through directly connecting a LAN cable to a desktop). Over there, I first checked the PVE's time, it was 2 hours lagging the actual time. So I switched my phone back two hours, and I could actually login with the OTP code. So before I have reconnected the host to the internet, it seems the OTP was still functioning.
Interestingly, now that the host seeing the actual time again, but the OTP fails. (I have reset my phone's time to normal, and had it rebooted as well). Even if I try the above trick guessing it is somehow two hours lagging, it doesn't work either.
Any help will be appreciated.
So this happens a second time. The first time it happened was a few months ago where I took the chance to reinstall PVE, so I never found out why.
This time, again, after stopping the host for some hardware swap and maintenance, the OTP login fails.
The host is now connected to the internet so I checked and confirmed that the NTP service is active. Comparing the time between it and my phone, the difference is just a few seconds, much less than 30 secs.
To give more details, I actually once logon to the PVE GUI while the host was offline during the maintenance (through directly connecting a LAN cable to a desktop). Over there, I first checked the PVE's time, it was 2 hours lagging the actual time. So I switched my phone back two hours, and I could actually login with the OTP code. So before I have reconnected the host to the internet, it seems the OTP was still functioning.
Interestingly, now that the host seeing the actual time again, but the OTP fails. (I have reset my phone's time to normal, and had it rebooted as well). Even if I try the above trick guessing it is somehow two hours lagging, it doesn't work either.
Any help will be appreciated.