loosing connection ??
Added by D DB almost 9 years ago
Hi Im new with Linux and TVheadend, just started yesterday.
everything works
- installed tvheadend on ubuntu
- installed the drivers for my DVB-C Tuner
- successfull searched for channels
- successfull mapped services
- configured to work with Kodi
as I already mentioned, everything works fine, but somethimes (so every hour??) tvheadend looses connection.
it stops working. Kodi has no connection and i cant open the configuration page with localhost:9981
temporary solution to this problem:
sudo dpkg-reconfigure tvheadend
after that everything works fine again for about 1 hour
why is that??
Replies (2)
RE: loosing connection ?? - Added by K Shea almost 9 years ago
It sounds to me like TVHeadEnd is crashing for some reason but I can't tell you why. Also what version of TVHeadEnd are you running? If it's an older version (3.x branch) you may want to consider upgrading. Also if you look at the TVHeadEnd log it may give you some indication of what happening.
I assume when you say you are going to localhost:9981 that TVHeadEnd is running on the same machine that you are using, right? And that you haven't created or modified any rules in the Access Entries tab that would block TVHeadEnd from being accessed from the same system? If you create a rule that allows access from the local network but don't explicitly include a rule to allow 127.0.0.1/32 (which is localhost) you may actually block access from the machine that TVHeadEnd runs on but not from other machines on your local network. I have to use a rule of the form 192.168.10.0/24,127.0.0.1/32 to allow access from both my local network and from the system that TVHeadEnd runs on.
RE: loosing connection ?? - Added by D DB almost 9 years ago
i think i found a solution on another forum. dont know for how long it works.
i made a startup.sh file
--------------------
#!/bin/bash
transmission-gtk --minimized &
sleep 5s; sudo service tvheadend restart
exit 0