Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session Timeout #4

Open
flippz opened this issue May 25, 2022 · 10 comments
Open

Session Timeout #4

flippz opened this issue May 25, 2022 · 10 comments

Comments

@flippz
Copy link

flippz commented May 25, 2022

There seems to be a timeout after about 5min after wich i have to log in again. Can this be changed so thats at least an hour?

@dave-p
Copy link
Owner

dave-p commented May 26, 2022

I'm not sure what exactly is timing out for you. Is it access to all of TVHadmin or just the streaming functions?

@flippz
Copy link
Author

flippz commented May 26, 2022

If i idle on the Whats on now screen and have Refresh Whats On Now and Timeline screens: set to on.
Then the login box will appair after a few minutes.
I found out that if i have tvheadend logged in on another tab this issue is not happening, so its only if i go directly to tvhadmin and login from there and dont have tvheadend open

@dave-p
Copy link
Owner

dave-p commented May 26, 2022

I've tried with two browsers (Firefox and Chromium) and two PCs, but cannot replicate this behaviour. Could there be something in your systems or network which is causing it?
TVHadmin relies on your browser to handle authentication with TVH. It seems that the browser is forgetting the credentials after a few minutes.

@flippz
Copy link
Author

flippz commented May 26, 2022

The issue was made avare to my by somebody else loging into my tvhadmin so at lease on two different systems the falt is there. It could be my tvheadend server but i dont know what to look for to fix this then... Like i sayd if i keep a tab in chrome open with the tvheadend webpage open and im logged in to it then tvhadmin has no problems.
If i open tvhadmin directly without tvheadend open it asks for login every 5 mins or so...

@flippz
Copy link
Author

flippz commented May 26, 2022

Does it need to be in TVHadmin-JS directory?

@flippz
Copy link
Author

flippz commented May 26, 2022

Nope that did not make any difference

@flippz
Copy link
Author

flippz commented May 30, 2022

Any thoughts?

@dave-p
Copy link
Owner

dave-p commented May 30, 2022

I've tried various experiments but cannot replicate this behaviour. I wonder if there is something in your systems or network which is causing it, maybe a VPN or NAT proxy which times-out and makes TVH refuse previous authentication?
When you have the TVH client open on another tab or browser, TVH is sending disk space usage every 15 seconds, preventing any timeout.

@flippz
Copy link
Author

flippz commented May 30, 2022

Cant seem to find any settings that help.
I tryed from my phone and from another location and still after about 5 min it asks for login again.

@dave-p
Copy link
Owner

dave-p commented May 31, 2022

What version of TVHeadend are you using (git commit number)?
Was TVHadmin-JS installed as described in the README?
Which browser(s) are you using?
What do you see in the browser's developer console when the login prompt appears?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants