kodi addon never connect to tvheadend server

Added by Thierry GOLDER 2 months ago

I,
I have installed tvheadend, kodi and kodi-pvr-hts-dbg package on a fresh stretch raspbian distribution. I managed to configure tvheadend as I succeed in recording tv films. I created two users, one admin and one normal user. Tvheadend is launched with root rights in order to update the system time. My raspberry is not connected to internet.
My problem is that the kodi-pvr-hts-dbg addon never connect to tvheadend server.
I updated non admin user rights in tvheadend with all htsp capabilities, entered login/passwd in kodi addon. I am still stucked.
Please find below the kodi.log file.

Could you please help me ?
regards

Thierry

kodi.log (106 KB)


Replies (14)

RE: kodi addon never connect to tvheadend server - Added by saen acro 2 months ago

What permissions have user with you use to connect?

RE: kodi addon never connect to tvheadend server - Added by Thierry GOLDER 2 months ago

Hi,
thanks for your help.

here is the user configuration :

Change parameters : everything is selected
web interface : selected
admin : not selected
transmitted stream : basic, advanced and htsp
video recorder : basic, htsp
autorized network : 0.0.0.0, ::/0, 127.0.0.1/32
streaming profiles : htsp, matroska, pass
record configuration profiles : default
minimum chanel number : 0
maximaum chanel number : 0
exculde chanel tags:not selected
chanel label : nothing
user interface level : default
persistent user interface level : default
connection limit type : everything (stream + records)
Limit connections : 0
Anonymous HTSP acces : not selected

regards
Thierry

RE: kodi addon never connect to tvheadend server - Added by saen acro 2 months ago

Let's test something simple.
Go to Configuration > General > Basic
and there on HTTP server Setting
change Authentication type value to "Both plan and digest"

RE: kodi addon never connect to tvheadend server - Added by Thierry GOLDER 2 months ago

Nothng more
Do you Know à way to see more traces as dbg?

RE: kodi addon never connect to tvheadend server - Added by saen acro 2 months ago


this work without problm

Use debug option of logging.
Configuration > Debugging
https://tvheadend.org/projects/tvheadend/wiki/Traces

RE: kodi addon never connect to tvheadend server - Added by Thierry GOLDER 2 months ago

A little bit forward.
First, I changed the authetification type.
Second, in the addon configuration, I switch from 0.0.0.0 to 127.0.0.1.
Now, I have the message saying that kodi is unable to reach the server.
Please find below the new kodi.log.
In the /etc/default/tvheadend file, I changed the log value from 0 to 1 (log to syslog).
I joined also the tvheadend extract from syslog.

According to your screen copy, the limit connection is 10. Mine is 0. So I changed to 10 but nothing more...

syslog (11 KB)

kodi.log (93.5 KB)

RE: kodi addon never connect to tvheadend server - Added by Thierry GOLDER 2 months ago

One more point, the menu debugging do noté appear

RE: kodi addon never connect to tvheadend server - Added by saen acro 2 months ago

Switch to expert mode.

What port's are set in Kodi

RE: kodi addon never connect to tvheadend server - Added by Thierry GOLDER 2 months ago

9981 for http and 9982 for htsp

RE: kodi addon never connect to tvheadend server - Added by saen acro 2 months ago

Do not use ip filter
0.0.0.0, ::0
will allow full access

reset pvr setup in Kodi

RE: kodi addon never connect to tvheadend server - Added by Thierry GOLDER 2 months ago

What do you méan by do not use IP filter: i let the Girls empty?
Can you explain how tout reset pvr setup un Kodi ?

RE: kodi addon never connect to tvheadend server - Added by Thierry GOLDER 2 months ago

Instead of Girls read field

RE: kodi addon never connect to tvheadend server - Added by Thierry GOLDER 2 months ago

Yes! it works!
I think that the configuration which work is :
- in the addon use 127.0.0.1 instead of 0.0.0.0
- insert in the addon login and password
- in tvheadend, configure user count with htsp capabilities
- in tvheadend, do not use ip filter (allowed network : 0.0.0.0/0)

Thank you very much for your help!

RE: kodi addon never connect to tvheadend server - Added by Thierry GOLDER 2 months ago

One last thing,
The run button of Kodi addon never enlight.

(1-14/14)