[SOLVED] The Web UI forces me to re-login 'constantly', why?

pan!c

New Member
Oct 5, 2019
7
0
1
I'm on a fresh Proxmox install and I get logged out from the GUI every few minutes. Can I configure the session timeout somewhere?

1577560127934.png
Time/date is OK on my system.

Code:
root@pve:~# timedatectl
               Local time: Sat 2019-12-28 23:38:40 CET
           Universal time: Sat 2019-12-28 22:38:40 UTC
                 RTC time: Sat 2019-12-28 22:38:40
                Time zone: Europe/Zurich (CET, +0100)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no
 
Last edited:
No. It would affect other sites and services if I had such plug-ins. But it seems that it magically went away. Very strange.
 
I see you have a solution. Just letting you know I've noticed behavour differences between Chrome and Firefox. I prefer Chrome to administer PVE.
 
Normally a ticket is generated, this is valid for 2 hours. The webinterface renews (extends) the ticket every 15 minutes - so if you keep the webinterface open, and have no plugin/browser stuff - e.g., which blocks the requests if the tab is in the background - you should stay logged in indefinitely.
If you close the browser the renewal extension cannot happen and you may get logged out after some time, though.
 
Normally a ticket is generated, this is valid for 2 hours. The webinterface renews (extends) the ticket every 15 minutes - so if you keep the webinterface open, and have no plugin/browser stuff - e.g., which blocks the requests if the tab is in the background - you should stay logged in indefinitely.
If you close the browser the renewal extension cannot happen and you may get logged out after some time, though.
Generally the PC with the GUI open goes to sleep several times during the day, easily over 15mins. Would it be possible to change this 2 hours setting somewhere? I don't consider a much longer ticket validity as a security issue.
 
You'd need it to sleep more than circa 1 hour and 45 minutes (worst case) as else the ticket is still valid and renewing should kick in again...

Would it be possible to change this 2 hours setting somewhere?

No, this is not straight forward to change.
 

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!