[mythtv-users] find_orphans.py - Failed To Connect Error

Mark Perkins perkins1724 at hotmail.com
Mon Sep 15 07:10:48 UTC 2014



> On 15 Sep 2014, at 4:06 pm, "Lindsay Mathieson" <lindsay.mathieson at gmail.com> wrote:
> 
> When ever I run find_orphans.py on my combined FE/BE I get the following when trying to delete files:
> 
> 2014-09-15 16:32:53.691175 C [14737] Python Backend Connection Couldn't connect to backend [::1]:6543
> Traceback (most recent call last):
>   File "find_orphans.py", line 230, in <module>
>     main()
>   File "find_orphans.py", line 214, in main
>     opt[1](opt[2])
>   File "find_orphans.py", line 153, in delete_files
>     f.delete()
>   File "find_orphans.py", line 29, in delete
>     be = MythBE(self.host, db=DB)
>   File "/usr/lib/python2.7/dist-packages/MythTV/mythproto.py", line 119, in __init__
>     self._conn.command = self._newcmdconn()
>   File "/usr/lib/python2.7/dist-packages/MythTV/mythproto.py", line 142, in _newcmdconn
>     self.blockshutdown)
>   File "/usr/lib/python2.7/dist-packages/MythTV/connections.py", line 207, in __init__
>     raise MythBEError(MythError.PROTO_CONNECTION, self.host, self.port)
> MythTV.exceptions.MythBEError: Failed to connect to backend at ::1:6543
> 
> 
> However I can telnet to the local 6543 port.
> 
> -- 
> Lindsay
> _______________________________________________

I've had similar errors before. I think it is because IPv6 is enabled but not set up. I found the simplest way to rectify (but probably not the correct way) was to disable IPv6 on my backend.

I don't quite recall exactly what I did but it was something like this: http://askubuntu.com/questions/346126/how-to-disable-ipv6-on-ubuntu

It was simpler than trying to get all the things on my network handling IPv6 (with the age of some of the stuff on my network I don't think I could get IPv6 working, pretty sure my DHCP server can't dish out IPv6 addresses).


More information about the mythtv-users mailing list