Session timeout = Domoticz Offlie

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
AlessioLorusso
Posts: 9
Joined: Thursday 26 March 2020 20:19
Target OS: Linux
Domoticz version: 2022.1
Location: Italy
Contact:

Session timeout = Domoticz Offlie

Post by AlessioLorusso »

Hello
I run my domoticz instance thru a nginx proxy, thru https tunnel, because the server is not accessible from internet.

Basically:

domoticz server ---[ssh tunnel]----> nginx proxy server <--------[https]-----mobile client (chrome on android)


It worka well until I enable password protection, for call caming from "localhost": actually, due to the tunnel, all the calls are caming from "localhost".
Basically to replicate the bug is simple:
- do the web form login (with or without "remember me" option)
- use domoticz a little
- do logot
- redo the web form login
- "DOMOTICZ OFFLINE" page

Of course domoticz is working well.

To remove the issue the only way is to clear the cookie (DMZSID to be precise): so the login works as aspected, until the next logout.
I could never do logout, but after a couple of days, the "session" somehow expires and ...- "DOMOTICZ OFFLINE" page came up again!

So my questions, is there any config I can change to make the session be more long than a couple of days?

The issue happens also on a Windows PC Chrome or Edge.


Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest