Kodi Community Forum

Full Version: Can't connect to Tvheadend on Raspberry Pi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys!

I'm facing some problems with pvr.hts...when I start KODI, it shows me the following error message: "Tvheadend HTSP Client - Server does not respond properly."

My log file (with Tvheadend loggings included; too big for online pastebins): https://www.file-upload.net/download-134...i.log.html
Interesting lines: 780 following and 10400 following


Kodi.log 1/3: https://pastebin.com/R0aFM534
Kodi.log 2/3: https://pastebin.com/hDNPfLyU
Kodi.log 3/3: https://pastebin.com/XFqFjs3r

Interesting lines: Kodi.log 1/3, line 780 and Kodi.log 3/3 line 3403.

So at the beginning, Tvheadend works fine - according to the log file, it connects without any issues and I also have access to the web interface. But a few seconds later (when I receive the error message in KODI), i can't connect to it anymore and according to the log file, KODI also can't connect anymore to it...

I have absolutely no clue why this happens, since it must be working in general (and it also worked for the first time, after I've installed it). Server runs on the Raspberry Pi itself, as you can see (127.0.0.1).

Have a good day!
illumi
Well first of all few people are going to download an unknown file from some dodgy looking download site; you might get more responses using a well-known pastebin site.

But anyway the first thing I would check if I were you is Configuration | Users | Access Entries in the Tvheadend web interface and see what is there.  For example, you may have one or more rules to allow access from your local network, such as 192.168.0.0/24, but oddly enough that won't allow access from the same machine.  You need to add ,127.0.0.1/32 to that, so in such a case the Allowed Networks value would be:

192.168.0.0/24,127.0.0.1/32

Of course the first value must match your own local network.  Just a guess, but that's the first place I'd look.
Hi,

thanks for your quick response. So I've splitted the log into three files, since most pastebin site have limitations (as well as the KODI.tv pastebin):

Kodi.log 1/3: https://pastebin.com/R0aFM534
Kodi.log 2/3: https://pastebin.com/hDNPfLyU
Kodi.log 3/3: https://pastebin.com/XFqFjs3r

Interesting lines: Kodi.log 1/3, line 780 and Kodi.log 3/3 line 3403.

I will try your approach later and reply again, but it's still weird since access is possible for the first moments without any issues. Just after a few seconds, the connection is getting lost.
So, I tried it...but when I want to open the register, I'm stuck at "Loading, please wait..."...and my browser gets into an infinite loop :/ (ofc not a browser problem)