Homebridge-config-ui-x: Setting sessiontimeout to not time out

Created on 29 Mar 2020  Â·  5Comments  Â·  Source: oznu/homebridge-config-ui-x

Describe Your Problem:
I want to set the sessiontimeout to be either crazy long or preferably NOT time out.


Do I set it to 0 (which I have tried but still times out) or is there a "no" or do I need to add a bunch of 0's to the end of the 8 hour value?

Logs:

Show the Homebridge / Homebridge Config UI X logs here.
{
            "name": "Config",
            "port": 8000,
            "auth": "form",
            "theme": "dark-mode",
            "tempUnits": "c",
            "lang": "auto",
            "sessionTimeout": 2880000,
            "platform": "config"
        }

**Homebridge Config:**

```json
Show your homebridge config.json here

Screenshots:

Environment:

  • Node.js Version: latest
  • NPM Version: latest
  • Homebridge Version: 0.4.53
  • Homebridge Config UI X Version: 4.13.2
  • Operating System: Raspbian
  • Process Supervisor: Dhb-service

question

All 5 comments

You can set it to 9007199254740990 which is the longest timeout possible.

That was amazingly fast -> done the change thanks.

You probably want to change that to something like 900719925 actually. The really large number seems to break logins.

900719925 is still 28 years.

Thanks

On Sun, 29 Mar 2020 at 17:19, oznu notifications@github.com wrote:

You probably want to change that to something like 900719925 actually.
The really large number seems to break logins.

900719925 is still 28 years.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oznu/homebridge-config-ui-x/issues/596#issuecomment-605608021,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD4S2KIEBA3OUS5H4BY5XBTRJ4HDRANCNFSM4LV372TQ
.

I was still able to log in on my Pi/Raspbian setup but I have adjusted to this recommendation

Was this page helpful?
0 / 5 - 0 ratings

Related issues

johannrichard picture johannrichard  Â·  4Comments

Olepir picture Olepir  Â·  5Comments

MBarti picture MBarti  Â·  4Comments

charona picture charona  Â·  3Comments

Partizan7676 picture Partizan7676  Â·  4Comments