The problem with permanent timeshift is the fact that its implementation is crap, it is not done as a normal recording, which could very well be the root cause of the problem.
If you have authentication on the server box, you need to configure that on the client, there is an "additional OpenWebIf options" or so on the configuration screen. If you enable that, it folds out to reveal additional input fields, like username, password and TCP port.
would be nice if you could set up access control like in a normal web server, to specify which address ranges are allowed to access.
Yes, that would be nice, but unfortunately there is no web server running on the box, it is just a python twisted thread with a socket listener. Which is also the reason we don't want the box on the internet, it isn't secure at all.
It will also be difficult to implement in a seperate process, as need needs all sorts of access to internal Enigma data structures. So it would require a complete rewrite.
thanks, found the option for the authentification.
hm. just some thoughts.. rewrite... If I had to implement something like openpli I would split the processes as much as possible. A main thread with an api socket, any programs as sockets, and any recording a seperate thread, etc... just thoughts.
Yes indeed. I would suggest that anyone having recording issues, for the moment disable timeshifting (either automatic or manual). If the error is gone then, we know where to search.
Also, the huge amounts of interrupted reads seem to be a sign that the stopping, later on, will not succeed. Can you confirm that? That during a normal, succesful recording, you do not get the huge amount of interrupted reads? That would also be an interesting pointer.
I disabled the timeshift on the secondary box. But the Vu+ had the issue twice again. Box in standby, so there shouldn't run timeshift.
May it have to do with slow i/o maybe / timeing issue?
never had the issue on the xtrend box. now it is connected via a vpn to the Vu+, as I am not at home, but somewhere else, and the connection speed doesn't seem be very good - download 35Mbit/s and 10Mbit/s upload. And the box running openvpn creates a noticable load. Since this setup I had this issue often when timeshift was being stopped.
on the Vu+, hm. don't know if minidlna (which uses inotify afaik - (according to lsof dbus daemon, udevd, avahi daemon and streamproxy also use inotify)) and nfs exports affect i/o speed.
what is the sign of those interrupted reads?
Edited by paneologist, 4 September 2023 - 17:13.