Open flippz opened 2 years ago
I'm not sure what exactly is timing out for you. Is it access to all of TVHadmin or just the streaming functions?
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
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.
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...
Does it need to be in TVHadmin-JS directory?
Nope that did not make any difference
Any thoughts?
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.
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.
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?
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?