lost connection - Command failed - unable to stat path
#1
I'm running a Cuboxi2 with Geexbox (geexbox-devel-20140629-rdbe72e7.cuboxi.tar.xz) XBMC 13.0 with TVheadend (v 0.0.0?) as headend and backend. Recording programs worked fine for a while and then the following messages appeared occasionally on boot:
TVHeadend HTS client
Connection Lost

TVHeadend HTS client
Command failed - unable to stat path

When they appeared, the recording resulted in an empty (0Kb) file. This happened with increasing frequency until, now, the messages appear at every boot and no recordings are successful. Since LiveTV is working fine, I presume that the problem is with the PVR backend.
I have not been able to automatically map services to channels, but have done so manually. Also, I have not been able to set up the EPG, but these are both minor deficiencies.
The system debug xbmc.log is at: http://xbmclogs.com/show.php?id=239458
Any suggestions where to start really appreciated.

- XBMC noob Bob
Reply
#2
OK, one problem resolved. The "Command failed - unable to stat path" error was generated from problems accessing the path to save the recorded file. When that was fixed, the message no longer appeared and recorded files seem to be properly saved.

The information statement "TVHeadend HTS client -Connection lost" looks like it shows up in the following log section:
14:01:57 T:1730970720 ERROR: AddOnLog: Tvheadend HTSP Client: OpenSocket - failed to connect to the backend (Connection refused)
14:01:57 T:1730970720 ERROR: ADDON: Dll Tvheadend HTSP Client - Client returned bad status (1) from Create and is not usable
14:01:57 T:1730970720 INFO: Called Add-on status handler for '1' of clientName:Tvheadend HTSP Client, clientID:pvr.hts (same Thread=no)
14:01:57 T:1730970720 WARNING: UpdateAndInitialiseClients - failed to create add-on Tvheadend HTSP Client, status = 1

Shortly after that, it looks like connection is made:
14:01:58 T:1730970720 DEBUG: RegisterClient - registering add-on 'Tvheadend HTSP Client'
14:01:58 T:1730970720 DEBUG: PVR - Create - creating PVR add-on instance 'Tvheadend HTSP Client'
14:01:58 T:1730970720 DEBUG: ADDON: Dll Initializing - Tvheadend HTSP Client
14:01:58 T:1730970720 DEBUG: AddOnLog: Tvheadend HTSP Client: ADDON_Create - Creating Tvheadend PVR-Client
14:01:58 T:1730970720 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Tvheadend HTSP Client' requests setting 'host'
14:01:58 T:1730970720 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Tvheadend HTSP Client' requests setting 'user'
14:01:58 T:1730970720 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Tvheadend HTSP Client' requests setting 'pass'
14:01:58 T:1730970720 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Tvheadend HTSP Client' requests setting 'htsp_port'
14:01:59 T:1730970720 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Tvheadend HTSP Client' requests setting 'http_port'
14:01:59 T:1730970720 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Tvheadend HTSP Client' requests setting 'connect_timeout'
14:01:59 T:1730970720 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Tvheadend HTSP Client' requests setting 'response_timeout'
14:01:59 T:1730970720 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Tvheadend HTSP Client' requests setting 'transcode'
14:01:59 T:1730970720 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Tvheadend HTSP Client' requests setting 'audio_codec_name'
14:01:59 T:1730970720 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Tvheadend HTSP Client' requests setting 'video_codec_name'
14:01:59 T:1730970720 DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Tvheadend HTSP Client' requests setting 'resolution'
14:01:59 T:1730970720 DEBUG: AddOnLog: Tvheadend HTSP Client: OpenSocket - connecting to '127.0.0.1', port '9982'
14:01:59 T:1516237920 NOTICE: Server details string : () ()
14:02:01 T:1730970720 NOTICE: Previous line repeats 1 times.
14:02:01 T:1730970720 DEBUG: AddOnLog: Tvheadend HTSP Client: OpenSocket - connected to '127.0.0.1', port '9982'
14:02:01 T:1730970720 NOTICE: AddOnLog: Tvheadend HTSP Client: CHTSPConnection - SendGreeting - connection opened to 'HTS Tvheadend 0.0.0~unknown', protocol v11
14:02:01 T:1730970720 DEBUG: AddOnLog: Tvheadend HTSP Client: CHTSPConnection - Auth - no username set. not authenticating
14:02:01 T:1739359328 DEBUG: PVRManager - Load - active clients found. continue to start

I don't know whether this is the same connection or not. In any case, this function seems to be working, so all is well now.
I'll blunder on until the next problem.
-br
Reply

Logout Mark Read Team Forum Stats Members Help
lost connection - Command failed - unable to stat path0