Is the Login Page Supposed to Reload Itself if Left to Idle? Anyone Else See This?

Here’s the TrueNAS login page.

If I leave this page open, it reloads at an interval (every few minutes–I haven’t timed it exactly).

I’m curious if this is intentional–some sort of security feature that prevents an automated attack type by periodically resetting … something.

No other appliance or server with a web GUI that I have resets its login page like this, and it made me curious.

1 Like

Yup, mine does it, I think it is doing some sort of token management for the connection, but I am not sure what it is exactly. It doesn’t bother me, just a pain sometimes.

1 Like

Default logout timer is 5 minutes.
You can change it under system->advanced settings ->access

1 Like

Mine is set to 3600, yet, every minute or so the login page refreshes in the browser. Kind of annoying.

1 Like

Glad this has been mentioned as I’ve been meaning to bring it up. My main issue is that I’m often halfway through typing my password when it decides to refresh which can be very frustrating.

1 Like

Ya, this has nothing to do with that. Even if TN is sitting on a login screen doing nothing, it reloads all the time, it is kind of annoying.

2 Likes

Thanks for confirming that it’s not just me. I was previously using a USB NIC for my management interface and thought that might be it, but no. :slight_smile: I do agree that it sounds like a security feature, but I’m not quite sure what it would be protecting us against.

I’m trying to decide if it’s worth putting in a bug report on this.

It’s disconcerting. When I know the server is on and it’s suddenly unable to connect to the UI, is something wrong with it? Is it just resetting itself again? Unclear.

It also takes quite a while if you don’t reload the page. Sometimes just a few seonds. Sometimes close to half a minute.

Probably worth a bug report, at least if someone says it still does it on Fangtooth.

Yep, mine does it too. I haven’t timed it, but it does seem to be rather frequent, more frequent than my 10-minute UI timeout setting.

The login page reset finally got to me too and I stumbled onto this thread.

I did some quick poking around. For me, I noticed this starts with 24.10.2 (1/28/2025) and goes thru 25.04.1 (4/15/2025). And the reset is roughly every minute.

I did not see this on 24.10.1 (12/17/2024) with my setup.

I see mention of maybe opening a bug. Does anyone know if this was reported as a bug yet?

I figured it was part of a keep-alive routine just in case the server was powered down.

I am pretty sure it is, but it is pretty excessive.

Most annoying when halfway through typing your password and it refreshes and you have to start again.

1 Like

I wonder if this is related to the console refreshing itself. I’m seeing this:

As you can see, there are multiple prompts for the Web User interface followed by the commands.