Kodi Community Forum
Unable to connect - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: MythTV (https://forum.kodi.tv/forumdisplay.php?fid=170)
+---- Thread: Unable to connect (/showthread.php?tid=212946)



Unable to connect - Bedlore - 2014-12-30

No doubt it will be something I've configured wrong as its working well for others. But I can't connect since I updated my openelec to Kodi. Here is the output.

Client side:

1 T:140319634994944 ERROR: PVR - couldn't get the capabilities for add-on 'unknown'. Please contact the developer of this add-on: Christian Fetzer, Jean-Luc Barri..re
6 T:140319634994944 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)WSResponse: server error (500)
6 T:140319634994944 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)CheckVersion2_0: invalid response
6 T:140319634994944 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)InitWSAPI: MythTV API service is not supported or unavailable: 192.168.1.101:6544 (2.0)
6 T:140319634994944 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)WSResponse: server error (500)
6 T:140319634994944 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)CheckVersion2_0: invalid response
6 T:140319634994944 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)InitWSAPI: MythTV API service is not supported or unavailable: 192.168.1.101:6544 (2.0)
6 T:140319634994944 ERROR: AddOnLog: MythTV PVR Client: Failed to connect to MythTV backend on 192.168.1.101:6544
6 T:140319634994944 ERROR: AddOnLog: MythTV PVR Client:
6 T:140319634994944 ERROR: PVR - couldn't get the capabilities for add-on 'unknown'. Please contact the developer of this add-on: Christian Fetzer, Jean-Luc Barri..re

mythtv server side:

Dec 31 00:45:42 hyssop mythbackend: mythbackend[11660]: E HttpServer62 servicehost.cpp:143 (Invoke) MethodInfo::Invoke - An Exception Occurred: Not Authorized
Dec 31 00:45:42 hyssop mythbackend: mythbackend[11660]: E HttpServer62 servicehost.cpp:426 (ProcessRequest) Not Authorized
Dec 31 00:45:42 hyssop mythbackend: mythbackend[11660]: I ProcessRequest mainserver.cpp:1420 (HandleAnnounce) MainServer::ANN Monitor
Dec 31 00:45:42 hyssop mythbackend: mythbackend[11660]: I ProcessRequest mainserver.cpp:1422 (HandleAnnounce) adding: OpenELEC as a client (events: 0)
Dec 31 00:45:42 hyssop mythbackend: mythbackend[11660]: E HttpServer66 servicehost.cpp:143 (Invoke) MethodInfo::Invoke - An Exception Occurred: Not Authorized
Dec 31 00:45:42 hyssop mythbackend: mythbackend[11660]: E HttpServer66 servicehost.cpp:426 (ProcessRequest) Not Authorized

If anyone can help resolve this my family would be very grateful, and me too.

oh and on the mythbackend server config.xml is like this;

<DBHostName>192.168.1.101</DBHostName>
<DBUserName>mythtv</DBUserName>
<DBPassword>xxxxxxx</DBPassword>
<DBName>mythconverg</DBName>
<DBPort>3306</DBPort>


RE: Unable to connect - metaron - 2014-12-30

Probably you've got the same problem I had, missing '0000' for the API services.
(My myth installation is an old one (started in 0.24) before the API services pin existed)
Just run mythtv-setup, Menu->1. General->Security PIN (required) - set to 0000
Next->Next->...->Finish
Then restart XBMC (or disable and enable the addon) and you should be in business.

(See http://kodi.wiki/view/MythTV_PVR#MythTV_addon_designed_for_Kodi_.28pvr.mythtv.29)


RE: Unable to connect - AjantiDaggar - 2015-01-03

I have the same issue.

04:23:42 T:4564570112 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)WSResponse: server error (500)
04:23:42 T:4564570112 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)CheckVersion2_0: invalid response
04:23:42 T:4564570112 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)InitWSAPI: MythTV API service is not supported or unavailable: 10.0.1.250:6544 (2.0)
04:23:42 T:4564570112 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)WSResponse: server error (500)
04:23:42 T:4564570112 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)CheckVersion2_0: invalid response
04:23:42 T:4564570112 ERROR: AddOnLog: MythTV PVR Client: (CPPMyth)InitWSAPI: MythTV API service is not supported or unavailable: 10.0.1.250:6544 (2.0)
04:23:42 T:4564570112 ERROR: AddOnLog: MythTV PVR Client: Failed to connect to MythTV backend on 10.0.1.250:6544 with pin 0000
04:23:42 T:4564570112 ERROR: AddOnLog: MythTV PVR Client:
04:23:42 T:4564570112 ERROR: PVR - couldn't get the capabilities for add-on 'unknown'. Please contact the developer of this add-on: Christian Fetzer, Jean-Luc Barrière

I double checked the Pin is set to 0000 and I can connect to the Services API via a web browser. http://<IP address of backend>:6544

Kodi Helix 14.0. I built pvr.mythtv on a mac based on the following instructions:

http://kodi.wiki/view/MythTV_PVR/BuildFromSource#Build_MythTV_addon_on_OSX

Please help!

Thanks,

Joel


RE: Unable to connect - metaron - 2015-01-03

Is there anything informative in the mythbackend log (/var/log/mythtv/mythbackend.xxxxxxxxxxxxxxxx.xxxx.log on my server)?


RE: Unable to connect - AjantiDaggar - 2015-01-03

Hi, sorry for the false alarm. The myth backend log was still complaining about no pin set, so I restarted the myth backend and pvr.mythtv started working.