Tvheadend runs but cannot be accessed. How to debug?
Added by Akos Sz almost 10 years ago
Hi,
Some days ago a new Tvheadend addon version was introduced for Openelec 5.0. The old tvheadend version was 3.9.2182 and the new is 3.9.2413.
It works fine after upgrade but after a while (1-2 hours) severe problems appear. I cannot change channel, HTSP client cannot access Tvheadend.
The strange thing that the problem is still present after restarting the whole PC.
The problem has been confirmed by other user as well. The system is running well when I downgrade to 3.9.2182
My DVB card is a Tevii s471.
Openelec(Kodi) logs contains that tvheadend drops the connection after trying to subscribe to a channel.
13:17:42 T:139891698554624 DEBUG: PVRManager - OpenLiveStream - opening live stream on channel 'Discovery HD Showcase'
13:17:42 T:139891698554624 DEBUG: opening live stream for channel 'Discovery HD Showcase'
13:17:42 T:139891698554624 INFO: AddOnLog: Tvheadend HTSP Client: SendSubscribe - subscribe to channel '1349997740', subscription 1
13:17:43 T:139891698554624 ERROR: AddOnLog: Tvheadend HTSP Client: ReadResult - 'subscribe to channel' failed - request timed out after 1 seconds
13:17:43 T:139891698554624 ERROR: AddOnLog: Tvheadend HTSP Client: SendSubscribe - failed to subscribe to channel 1349997740, consider the connection dropped
13:17:43 T:139891698554624 DEBUG: AddOnLog: Tvheadend HTSP Client: reconnect triggered
13:17:43 T:139891698554624 ERROR: CDVDPlayer::OpenInputStream - error opening [pvr://channels/tv/Minden csatorna/12.pvr]
13:17:43 T:139891698554624 NOTICE: CDVDPlayer::OnExit()
13:17:43 T:139891698554624 DEBUG: CDVDInputStreamPVRManager::Close - stream closed
13:17:43 T:139891698554624 DEBUG: OnPlayBackStopped: play state was 1, starting 1
13:17:43 T:139891698554624 DEBUG: Thread DVDPlayer 139891698554624 terminating
13:17:43 T:139891681769216 ERROR: AddOnLog: Tvheadend HTSP Client: connection dropped, trying to restore
13:17:43 T:139891681769216 ERROR: AddOnLog: Tvheadend HTSP Client: ReadMessage - not connected
13:17:43 T:139894163797888 DEBUG: OnPlayBackStopped: play state was 3, starting 0
13:17:43 T:139894163797888 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
13:17:43 T:139894163797888 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
13:17:43 T:139893158164224 NOTICE: PVRManager - StartPlayback - started playback on channel 'Discovery HD Showcase'
13:17:43 T:139891698554624 DEBUG: POParser: loaded 15 strings from file /usr/share/kodi/addons/pvr.hts/resources/language/Hungarian/strings.po
13:17:43 T:139891698554624 DEBUG: POParser: loaded 0 strings from file /usr/share/kodi/addons/pvr.hts/resources/language/English/strings.po
13:17:43 T:139891698554624 DEBUG: CAddonCallbacksAddon - QueueNotification - Tvheadend HTSP Client - Error Message : ''HTS Tvheadend': Kapcsolat bontva'
13:17:43 T:139891698554624 DEBUG: AddOnLog: Tvheadend HTSP Client: OpenSocket - connecting to '127.0.0.1', port '9982'
13:17:43 T:139891698554624 DEBUG: AddOnLog: Tvheadend HTSP Client: OpenSocket - connected to '127.0.0.1', port '9982'
13:17:45 T:139891698554624 ERROR: AddOnLog: Tvheadend HTSP Client: CHTSPConnection - SendGreeting - failed get a reply after the greeting
13:17:45 T:139891698554624 ERROR: AddOnLog: Tvheadend HTSP Client: Connect - failed to read greeting from the backend
13:17:45 T:139891698554624 DEBUG: AddOnLog: Tvheadend HTSP Client: OpenSocket - connecting to '127.0.0.1', port '9982'
13:17:45 T:139891698554624 DEBUG: AddOnLog: Tvheadend HTSP Client: OpenSocket - connected to '127.0.0.1', port '9982'
13:17:47 T:139894163797888 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
13:17:47 T:139891698554624 ERROR: AddOnLog: Tvheadend HTSP Client: CHTSPConnection - SendGreeting - failed get a reply after the greeting
13:17:47 T:139891698554624 ERROR: AddOnLog: Tvheadend HTSP Client: Connect - failed to read greeting from the backend
No connection anymore...
To open a ticket I would need some debug logs, however the GUI of tvheadend is not accessible hence I cannot configure debugging. On the linux console I can see that tvheadend process is running. Can I configure debug from command line?
I suspect that the problem could be in connection with https://tvheadend.org/issues/2625
Replies (3)
RE: Tvheadend runs but cannot be accessed. How to debug? - Added by Andrei B almost 10 years ago
+1, having similar problems.
dvb-s2 on Tvheadend unusable for me in Openelec 5.0.2 due such problems - tried both clients: pvr.hts and pvr.tvh.
EDIT: seems like enabling 'Full DiseqC' makes things considerable better
RE: Tvheadend runs but cannot be accessed. How to debug? - Added by Akos Sz almost 10 years ago
This was the solution in my case: Enable 'Full DiseqC' in the tuner / satellite configuration settings.
RE: Tvheadend runs but cannot be accessed. How to debug? - Added by Andrei B almost 10 years ago
Yea, already finded it out by myself, thanks
It costed me a lot of pain though