Forums » Kodi (XBMC) as frontend »
Loss of connection to TvH server
Added by M. Bergmann over 6 years ago
By the end of April I installed 4.3-1251~gf4ebe33 which worked fine for several weeks.
Suddenly, at the end of May Kodi could not connect to TvH any longer: It got connected, a second later the connection got interrupted.
This behaviour --connected, not connected-- continued all the time.
From one day to the next two clients running Windows 8.1 pro and Kodi Krypton 17.6 seemed to be corrupted.
VLC Player on the clients ran without problems, as well as TVHClient on an android device.
I installed Kodi Lea 18 alpha - same problems
I disabled the over-the-air-EIT DVB Grabber - problems still exist
I restored a backup of Kodi, created in January - problem still exist
I restored a backup, created End of April, of the whole NAS running TvH - problem still exist
This problem lasted for several days, it was not possible to watch Live-TV at all.
Then, yesterday and today, everything is running smoothly as before.... As if nothing had ever happened!
What the hell happened ?
The problem occured between end of May and approx. 07th of June, receiving mainly Central Europe TV stations (Germany).
Anyone else in this region observed this problem?
21:44:45.132 T:10864 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - Command getEvents failed: No response received
21:44:45.132 T:10864 ERROR: PVR - PVR::CPVRClient::GetEPGForChannel - addon 'Tvheadend:192.168.1.14:9982' returned an error: server error
21:44:45.132 T:10864 ERROR: PVR - PVR::CPVRClients::GetEPGForChannel - cannot get EPG for channel 'TV5Monde Europe' from client '1924689120': server error
21:44:45.132 T:10864 ERROR: EPG - EPG::CEpg::Update - failed to update table 'TV5Monde Europe'
21:44:45.132 T:10864 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to write (Invalid argument)
21:44:45.132 T:10864 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to transmit
21:44:45.132 T:7500 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - unable to connect to 192.168.1.14:9982
21:44:45.132 T:10864 ERROR: PVR - PVR::CPVRClient::GetEPGForChannel - addon 'Tvheadend:192.168.1.14:9982' returned an error: server error
21:44:45.132 T:10864 ERROR: PVR - PVR::CPVRClients::GetEPGForChannel - cannot get EPG for channel 'phoenix HD' from client '1924689120': server error
21:44:45.132 T:10864 ERROR: EPG - EPG::CEpg::Update - failed to update table 'phoenix HD'
21:44:45.132 T:10864 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to write (Unknown error)
21:44:45.132 T:10864 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to transmit
Replies (2)
RE: Loss of connection to TvH server - Added by kosacik 1 over 6 years ago
i got here via google "GetEPGForChannel - addon returned an error: server error", i am running few clients at the same time (TVH 4.3-997), all of them RPI3 with libreelec 8.2.2, or higher, and after few hours, some streams are interrupted. When i checked log on kodi clients, found these rows.
In my case, errors You described only lead to stop stream:
14:52:57.464 T:1665135520 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - Command getEvents failed: No response received
14:52:57.464 T:1665135520 ERROR: PVR - GetEPGForChannel - addon 'server:192.168.88.253:9982' returned an error: server error
14:52:57.464 T:1665135520 ERROR: PVR - GetEPGForChannel - cannot get EPG for channel 'Shanson TV' from client '2146250725': server error
14:52:57.464 T:1665135520 ERROR: EPG - Update - failed to update table 'Shanson TV'
14:52:57.464 T:1630532512 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to read packet (Invalid argument)
14:52:57.465 T:1665135520 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to write (Invalid argument)
14:52:57.465 T:1665135520 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to transmit
14:52:57.465 T:1665135520 ERROR: PVR - GetEPGForChannel - addon 'server:192.168.88.253:9982' returned an error: server error
14:52:57.465 T:1665135520 ERROR: PVR - GetEPGForChannel - cannot get EPG for channel 'TO!TV' from client '2146250725': server error
14:52:57.465 T:1665135520 ERROR: EPG - Update - failed to update table 'TO!TV'
14:52:57.465 T:1335882656 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to write (Invalid argument)
14:52:57.465 T:1335882656 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to transmit
14:52:57.465 T:1335882656 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to send hello
14:52:57.466 T:1665135520 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to write (Invalid argument)
14:52:57.466 T:1665135520 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to transmit
.......................
14:52:57.543 T:1665135520 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to write (Invalid argument)
14:52:57.543 T:1665135520 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to transmit
14:52:57.543 T:1665135520 ERROR: PVR - GetEPGForChannel - addon 'server:192.168.88.253:9982' returned an error: server error
14:52:57.543 T:1665135520 ERROR: PVR - GetEPGForChannel - cannot get EPG for channel 'NUTA TV' from client '2146250725': server error
14:52:57.543 T:1665135520 ERROR: EPG - Update - failed to update table 'NUTA TV'
14:52:57.544 T:1665135520 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to write (Invalid argument)
14:52:57.544 T:1665135520 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to transmit
14:52:57.544 T:1665135520 ERROR: PVR - GetEPGForChannel - addon 'server:192.168.88.253:9982' returned an error: server error
14:52:57.544 T:1665135520 ERROR: PVR - GetEPGForChannel - cannot get EPG for channel 'O-TV' from client '2146250725': server error
14:52:57.544 T:1665135520 ERROR: EPG - Update - failed to update table 'O-TV'
14:53:00.495 T:1402991520 NOTICE: CVideoPlayerAudio::Process - stream stalled
14:53:02.547 T:1617404832 ERROR: PVR - GetTimers - addon 'server:192.168.88.253:9982' returned an error: the command failed
14:53:02.547 T:1617404832 ERROR: PVR - GetTimers - cannot get timers from client '2146250725': the command failed
14:53:02.559 T:1302328224 NOTICE: PVRManager - Stop - stopping PVR playback
14:53:02.648 T:1944723456 NOTICE: CVideoPlayer::CloseFile()
14:53:02.648 T:1944723456 NOTICE: VideoPlayer: waiting for threads to exit
14:53:02.790 T:1534915488 NOTICE: CVideoPlayer::OnExit()
14:53:02.790 T:1534915488 NOTICE: Closing stream player 1
14:53:02.790 T:1534915488 NOTICE: Waiting for audio thread to exit
14:53:02.794 T:1402991520 NOTICE: thread end: CVideoPlayerAudio::OnExit()
14:53:02.794 T:1534915488 NOTICE: Closing audio device
14:53:02.795 T:1534915488 NOTICE: Deleting audio codec
14:53:02.795 T:1534915488 NOTICE: Closing stream player 2
14:53:02.795 T:1534915488 NOTICE: waiting for video thread to exit
14:53:02.795 T:1411380128 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
14:53:02.796 T:1411380128 NOTICE: thread end: video_thread
14:53:02.796 T:1534915488 NOTICE: deleting video codec
14:53:02.799 T:1534915488 NOTICE: Closing stream player 3
14:53:02.799 T:1534915488 NOTICE: Closing stream player 4
14:53:02.799 T:1534915488 NOTICE: waiting for teletext data thread to exit
14:53:02.800 T:1394602912 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true (-1)
14:53:02.800 T:1394602912 NOTICE: thread end: data_thread
14:53:02.850 T:1944723456 NOTICE: VideoPlayer: finished waiting
14:53:02.896 T:1302328224 NOTICE: PVRManager - stopping
14:53:03.258 T:1944723456 NOTICE: CVideoPlayer::CloseFile()
14:53:03.259 T:1944723456 NOTICE: VideoPlayer: waiting for threads to exit
14:53:03.259 T:1944723456 NOTICE: VideoPlayer: finished waiting
14:53:03.259 T:1944723456 NOTICE: CVideoPlayer::CloseFile()
14:53:03.259 T:1944723456 NOTICE: VideoPlayer: waiting for threads to exit
14:53:03.259 T:1944723456 NOTICE: VideoPlayer: finished waiting
14:53:03.772 T:1335882656 NOTICE: Start - EPG thread started
Like i said, two clients stopped working, another three keep on going, so i think it is client based issue. Any help apreciated
Running tv´s on kodi, seems to be for me a neverending fight
RE: Loss of connection to TvH server - Added by M. Bergmann about 6 years ago
I believe I have found the reason for the connection problems:
I deactivated channel by channel and finally identified one channel leading to the failure (in my case: TV5Monde Europe). For this channel I am using a commercial available xml file as epg source (here: epgdata.com). tv_grab_validate doesn't find any error in this xml file, but nevertheless for some unknown reason Kodi gets problems processing it.
So in case the channel is activated, Kodi starts, connects itself to the TvH-Server and tries to get the whole epg data from the TvH-Server. TV5Monde Europe is the first channel Kodi tries to get the data from, it fails and Kodi gets disconnected from the server. It reconnects to the server and everything starts all over again.....
This explains why the problem just occured within Kodi, but not VLC or TVHClient on Android: These programs don't download the whole epg data from the TvH-Server.
Now I am using another epg source for TV5 Europe (here: webgrabplus) and everything works fine again.