[mythtv-users] Connecting to backend

Kevin Kuphal kuphal at dls.net
Mon Oct 23 19:41:49 UTC 2006


Nathan Smith wrote:
> On Oct 23, 2006, at 9:18 AM, Kevin Kuphal wrote:
>
>   
>> Nathan Smith wrote:
>>     
>>> Hello all,
>>>
>>> I'm trying to watch TV on my backend from my frontend (both running
>>> 0.19-fixes) and I'm getting the following error:
>>>
>>> 2006-10-23 11:44:49.906 Connecting to backend server:
>>> 192.168.1.11:6543 (try 1 of 5)
>>> 2006-10-23 11:44:49.919 Using protocol version 26
>>> 2006-10-23 11:44:49.987 TV: Attempting to change from None to
>>> WatchingLiveTV
>>> 2006-10-23 11:44:49.988 RemoteEncoder::openControlSocket():
>>> Connection timed out.
>>> 2006-10-23 11:44:50.003 GetEntryAt(-1) failed.
>>> 2006-10-23 11:44:50.009 EntryToProgram(0 at Wed Dec 31 16:00:00 1969)
>>> failed to get pginfo
>>> 2006-10-23 11:44:50.009 TV Error: LiveTV not successfully started
>>> 2006-10-23 11:44:50.009 TV Error: LiveTV not successfully started
>>> 2006-10-23 11:44:50.021 TV: Deleting TV Chain in destructor
>>>
>>> Anyone know what would cause this? Seems like it isn't making a
>>> connection to the server by the line
>>>
>>> 2006-10-23 11:44:49.988 RemoteEncoder::openControlSocket():
>>> Connection timed out.
>>>
>>> but the first line indicates that it makes a connection.
>>>
>>> Any ideas? Thanks
>>>
>>>
>>>       
>> Check the backend setup in mythtv-setup and be sure you are using  
>> the IP
>> address of the machine and that you are using that same IP address on
>> each remote system to communicate with that machine.
>>
>> Kevin
>>     
>
> Both IPs in the 'settings' mysql database point to the backend server:
>
> | BackendServerIP                 |  
> 192.168.1.11                                                             
>         | mediadude |
> | BackendServerPort             |  
> 6543                                                                     
>                | mediadude |
> | BackendStatusPort              |  
> 6544                                                                     
>                | mediadude |
> | MasterServerIP                     |  
> 192.168.1.11                                                             
>         | mediadude |
> | MasterServerPort                 |  
> 6543                                                                     
>                | mediadude |
>
> I don't get a complaint from the frontend that it cannot connect to  
> the backend, but when I try to view liveTV, the screen flips back to  
> the menu screen automatically.
>
> To make sure, there are no other information sources that the  
> frontend uses to find the backend other than ~/.mythtv/mysql.txt,  
> correct? If there are other sources, maybe I haven't edited them  
> correctly....
>   
Try running with extra verbosity.  Maybe "mythfrontend -v all" or 
"mythfrontend -v database" to see what is going on.

Kevin


More information about the mythtv-users mailing list