LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-23-2014, 05:38 PM   #1
pjbgravely
Member
 
Registered: Mar 2004
Location: USA
Distribution: Aptosid, Ubuntu server, DSL
Posts: 53

Rep: Reputation: 16
Angry mythtv frontend can't connect to backend in live tv only


I have a mythtv backend set up on Ubuntu server, and 2 frontends on Mythbuntu and Debian sid. All are seperate boxes. Both frontends work with the backend, except for watching live tv. It also happens with recordings that haven't finished yet. I get an error like this "Either the server is down or the master server settings in mythtv-settings does not contain the proper IP address ". The address is correct or else recordings and settings wouldn't work. I have one of the frontend logs.

Code:
Either the server is down or the master server settings
			in mythtv-settings does not contain the proper IP address
Feb 23 17:24:12 primrose  mythfrontend[12579]: E CoreContext remoteencoder.cpp:54 (Setup) RemoteEncoder::Setup(): Failed to connect to backend
Feb 23 17:24:12 primrose  mythfrontend[12579]: N CoreContext audioplayer.cpp:164 (ReinitAudio) AudioPlayer: Enabling Audio
Feb 23 17:24:12 primrose  mythfrontend[12579]: I CoreContext avformatdecoder.cpp:1898 (ScanStreams) AFD: codec AC3 has 6 channels
Feb 23 17:24:12 primrose  mythfrontend[12579]: I CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0x66dd6a0, id(AC3) type(Audio)
Feb 23 17:24:12 primrose  mythfrontend[12579]: I CoreContext avformatdecoder.cpp:1898 (ScanStreams) AFD: codec AC3 has 2 channels
Feb 23 17:24:12 primrose  mythfrontend[12579]: I CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0x522de60, id(AC3) type(Audio)
Feb 23 17:24:12 primrose  mythfrontend[12579]: I CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec 0x66dcc40, id(MPEG2VIDEO) type(Video)
Feb 23 17:24:12 primrose  mythfrontend[12579]: I CoreContext audio/audiooutputbase.cpp:792 (Reconfigure) AOBase: Opening audio device 'PulseAudio:default' ch 2(6) sr 48000 sf 32 bit floating point reenc 0
Feb 23 17:24:13 primrose  mythfrontend[12579]: I CoreContext mythcorecontext.cpp:418 (ConnectCommandSocket) MythCoreContext: Connecting to backend server: FE80::211:43FF:FE26:FC66:6543 (try 1 of 1)
Feb 23 17:24:13 primrose  mythfrontend[12579]: E MythSocketThread(-1) mythsocket.cpp:661 (ConnectToHostReal) MythSocket(6629470:-1): Failed to connect to (FE80::211:43FF:FE26:FC66:6543) Connection refused
Feb 23 17:24:13 primrose  mythfrontend[12579]: E CoreContext mythcorecontext.cpp:488 (ConnectCommandSocket) Connection to master server timed out.
			Either the server is down or the master server settings
			in mythtv-settings does not contain the proper IP address
Feb 23 17:24:13 primrose  mythfrontend[12579]: E CoreContext remoteencoder.cpp:54 (Setup) RemoteEncoder::Setup(): Failed to connect to backend
Feb 23 17:24:13 primrose  mythfrontend[12579]: E CoreContext remoteencoder.cpp:86 (SendReceiveStringList) RemoteEncoder::SendReceiveStringList(): Failed to reconnect with backend.
Feb 23 17:24:13 primrose  mythfrontend[12579]: I CoreContext mythcorecontext.cpp:418 (ConnectCommandSocket) MythCoreContext: Connecting to backend server: FE80::211:43FF:FE26:FC66:6543 (try 1 of 1)
Feb 23 17:24:13 primrose  mythfrontend[12579]: E MythSocketThread(-1) mythsocket.cpp:661 (ConnectToHostReal) MythSocket(52b1da0:-1): Failed to connect to (FE80::211:43FF:FE26:FC66:6543) Connection refused
Feb 23 17:24:13 primrose  mythfrontend[12579]: E CoreContext mythcorecontext.cpp:488 (ConnectCommandSocket) Connection to master server timed out.
			Either the server is down or the master server settings
			in mythtv-settings does not contain the proper IP address
Feb 23 17:24:13 primrose  mythfrontend[12579]: E CoreContext remoteencoder.cpp:54 (Setup) RemoteEncoder::Setup(): Failed to connect to backend
Feb 23 17:24:13 primrose  mythfrontend[12579]: E CoreContext remoteencoder.cpp:86 (SendReceiveStringList) RemoteEncoder::SendReceiveStringList(): Failed to reconnect with backend.
Feb 23 17:24:13 primrose  mythfrontend[12579]: I CoreContext signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt handler
Feb 23 17:24:13 primrose  mythfrontend[12579]: I CoreContext signalhandling.cpp:194 (SetHandlerPrivate) Setup Terminated handler
Feb 23 17:24:13 primrose  mythfrontend[12579]: I CoreContext videoout_xv.cpp:615 (InitXVideo) VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Texture'
Feb 23 17:24:13 primrose  mythfrontend[12579]: I CoreContext osd.cpp:232 (OverrideUIScale) OSD: Base theme size: 1280x720
Feb 23 17:24:13 primrose  mythfrontend[12579]: I CoreContext osd.cpp:234 (OverrideUIScale) OSD: Scaling factors: 1x1
Feb 23 17:24:13 primrose  mythfrontend[12579]: I CoreContext osd.cpp:232 (OverrideUIScale) OSD: Base theme size: 1280x720
Feb 23 17:24:13 primrose  mythfrontend[12579]: I CoreContext osd.cpp:234 (OverrideUIScale) OSD: Scaling factors: 1x1
Feb 23 17:24:13 primrose  mythfrontend[12579]: I CoreContext mythplayer.cpp:1780 (InitAVSync) Player(7): Video timing method: USleep with busy wait
Feb 23 17:24:13 primrose  mythfrontend[12579]: I CoreContext tv_play.cpp:5595 (StartPlayer) TV: Created player.
Feb 23 17:24:13 primrose  mythfrontend[12579]: I CoreContext tv_play.cpp:2459 (HandleStateChange) TV: Changing from None to WatchingRecording
Feb 23 17:24:13 primrose  mythfrontend[12579]: I CoreContext mythcorecontext.cpp:418 (ConnectCommandSocket) MythCoreContext: Connecting to backend server: FE80::211:43FF:FE26:FC66:6543 (try 1 of 1)
Feb 23 17:24:13 primrose  mythfrontend[12579]: E MythSocketThread(-1) mythsocket.cpp:661 (ConnectToHostReal) MythSocket(4770070:-1): Failed to connect to (FE80::211:43FF:FE26:FC66:6543) Connection refused
Feb 23 17:24:13 primrose  mythfrontend[12579]: E CoreContext mythcorecontext.cpp:488 (ConnectCommandSocket) Connection to master server timed out.
			Either the server is down or the master server settings
			in mythtv-settings does not contain the proper IP address
Feb 23 17:24:13 primrose  mythfrontend[12579]: E CoreContext remoteencoder.cpp:54 (Setup) RemoteEncoder::Setup(): Failed to connect to backend
Feb 23 17:24:13 primrose  mythfrontend[12579]: E CoreContext remoteencoder.cpp:86 (SendReceiveStringList) RemoteEncoder::SendReceiveStringList(): Failed to reconnect with backend.
Feb 23 17:24:13 primrose  mythfrontend[12579]: I CoreContext tv_play.cpp:2550 (HandleStateChange) TV: Main UI disabled.
Feb 23 17:24:13 primrose  mythfrontend[12579]: I CoreContext tv_play.cpp:411 (StartTV) TV: Entering main playback loop.
Feb 23 17:24:13 primrose  mythfrontend[12579]: I PreviewGeneratorQueue mythdbcon.cpp:409 (PurgeIdleConnections) New DB connection, total: 3
Feb 23 17:24:13 primrose  mythfrontend[12579]: I CoreContext screensaver-x11.cpp:149 (DisableDPMS) ScreenSaverX11Private: DPMS Deactivated 1
Feb 23 17:24:13 primrose  mythfrontend[12579]: E CoreContext mythplayer.cpp:2932 (EventLoop) Player(7): Unknown recorder error, exiting decoder
Feb 23 17:24:13 primrose  mythfrontend[12579]: E thread_unknown audio/audiooutputpulse.cpp:666 (BufferFlowCallback) PulseAudio: stream buffer under flow
Feb 23 17:24:14 primrose  mythfrontend[12579]: I CoreContext tv_play.cpp:2201 (HandleStateChange) TV: Attempting to change from WatchingRecording to None
Feb 23 17:24:14 primrose  mythfrontend[12579]: I CoreContext signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt handler
Feb 23 17:24:14 primrose  mythfrontend[12579]: I CoreContext signalhandling.cpp:194 (SetHandlerPrivate) Setup Terminated handler
Feb 23 17:24:14 primrose  mythfrontend[12579]: I CoreContext tv_play.cpp:2459 (HandleStateChange) TV: Changing from WatchingRecording to None
Feb 23 17:24:14 primrose  mythfrontend[12579]: I CoreContext mythcorecontext.cpp:418 (ConnectCommandSocket) MythCoreContext: Connecting to backend server: FE80::211:43FF:FE26:FC66:6543 (try 1 of 1)
Feb 23 17:24:14 primrose  mythfrontend[12579]: E MythSocketThread(-1) mythsocket.cpp:661 (ConnectToHostReal) MythSocket(47702f0:-1): Failed to connect to (FE80::211:43FF:FE26:FC66:6543) Connection refused
Feb 23 17:24:14 primrose  mythfrontend[12579]: E CoreContext mythcorecontext.cpp:488 (ConnectCommandSocket) Connection to master server timed out.
			Either the server is down or the master server settings
			in mythtv-settings does not contain the proper IP address
Feb 23 17:24:14 primrose  mythfrontend[12579]: E CoreContext remoteencoder.cpp:54 (Setup) RemoteEncoder::Setup(): Failed to connect to backend
Feb 23 17:24:14 primrose  mythfrontend[12579]: E CoreContext remoteencoder.cpp:86 (SendReceiveStringList) RemoteEncoder::SendReceiveStringList(): Failed to reconnect with backend.
Feb 23 17:24:14 primrose  mythfrontend[12579]: I CoreContext tv_play.cpp:413 (StartTV) TV: Exiting main playback loop.
Feb 23 17:24:14 primrose  mythfrontend[12579]: I CoreContext tv_play.cpp:2201 (HandleStateChange) TV: Attempting to change from None to WatchingRecording
Feb 23 17:24:14 primrose  mythfrontend[12579]: I CoreContext mythcorecontext.cpp:418 (ConnectCommandSocket) MythCoreContext: Connecting to backend server: FE80::211:43FF:FE26:FC66:6543 (try 1 of 1)
Feb 23 17:24:14 primrose  mythfrontend[12579]: E MythSocketThread(-1) mythsocket.cpp:661 (ConnectToHostReal) MythSocket(895f570:-1): Failed to connect to (FE80::211:43FF:FE26:FC66:6543) Connection refused
Feb 23 17:24:14 primrose  mythfrontend[12579]: E CoreContext mythcorecontext.cpp:488 (ConnectCommandSocket) Connection to master server timed out.
			Either the server is down or the master server settings
			in mythtv-settings does not contain the proper IP address
Feb 23 17:24:14 primrose  mythfrontend[12579]: E CoreContext remoteencoder.cpp:54 (Setup) RemoteEncoder::Setup(): Failed to connect to backend
Feb 23 17:24:14 primrose  mythfrontend[12579]: E CoreContext playercontext.cpp:380 (CreatePlayer) playCtx: Attempting to setup a player, but it already exists.
Feb 23 17:24:14 primrose  mythfrontend[12579]: I CoreContext mythcorecontext.cpp:418 (ConnectCommandSocket) MythCoreContext: Connecting to backend server: FE80::211:43FF:FE26:FC66:6543 (try 1 of 1)
Feb 23 17:24:14 primrose  mythfrontend[12579]: E MythSocketThread(-1) mythsocket.cpp:661 (ConnectToHostReal) MythSocket(6c50700:-1): Failed to connect to (FE80::211:43FF:FE26:FC66:6543) Connection refused
Feb 23 17:24:14 primrose  mythfrontend[12579]: E CoreContext mythcorecontext.cpp:488 (ConnectCommandSocket) Connection to master server timed out.
			Either the server is down or the master server settings
			in mythtv-settings does not contain the proper IP address
Feb 23 17:24:14 primrose  mythfrontend[12579]: E CoreContext remoteencoder.cpp:54 (Setup) RemoteEncoder::Setup(): Failed to connect to backend
Feb 23 17:24:14 primrose  mythfrontend[12579]: E CoreContext remoteencoder.cpp:86 (SendReceiveStringList) RemoteEncoder::SendReceiveStringList(): Failed to reconnect with backend.
Feb 23 17:24:14 primrose  mythfrontend[12579]: I CoreContext tv_play.cpp:2550 (HandleStateChange) TV: Main UI disabled.
Feb 23 17:24:14 primrose  mythfrontend[12579]: I CoreContext tv_play.cpp:411 (StartTV) TV: Entering main playback loop.
Feb 23 17:24:14 primrose  mythfrontend[12579]: I CoreContext screensaver-x11.cpp:161 (RestoreDPMS) ScreenSaverX11Private: DPMS Reactivated 1
Feb 23 17:24:14 primrose  mythfrontend[12579]: I CoreContext screensaver-x11.cpp:149 (DisableDPMS) ScreenSaverX11Private: DPMS Deactivated 1
Feb 23 17:24:14 primrose  mythfrontend[12579]: I CoreContext tv_play.cpp:413 (StartTV) TV: Exiting main playback loop.
Feb 23 17:24:14 primrose  mythfrontend[12579]: N CoreContext mythmainwindow.cpp:2643 (PauseIdleTimer) Resuming idle timer
Here is the backend log for the same event.
Code:
Feb 23 17:24:11 buttercup mythbackend: mythbackend[8126]: I ProcessRequest mainserver.cpp:1420 (HandleAnnounce) MainServer::ANN Playback
Feb 23 17:24:11 buttercup mythbackend: mythbackend[8126]: I ProcessRequest mainserver.cpp:1422 (HandleAnnounce) adding: primrose as a client (events: 0)
Feb 23 17:24:11 buttercup mythbackend: mythbackend[8126]: I ProcessRequest mainserver.cpp:1538 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer
Feb 23 17:24:11 buttercup mythbackend: mythbackend[8126]: I ProcessRequest mainserver.cpp:1540 (HandleAnnounce) adding: primrose as a remote file transfer
Feb 23 17:24:11 buttercup mythbackend: mythbackend[8126]: I CoreContext mythdbcon.cpp:409 (PurgeIdleConnections) New DB connection, total: 12
Feb 23 17:24:13 buttercup mythbackend: mythbackend[8126]: I ProcessRequest mainserver.cpp:1420 (HandleAnnounce) MainServer::ANN Playback
Feb 23 17:24:13 buttercup mythbackend: mythbackend[8126]: I ProcessRequest mainserver.cpp:1422 (HandleAnnounce) adding: primrose as a client (events: 0)
Feb 23 17:24:13 buttercup mythbackend: mythbackend[8126]: I ProcessRequest mainserver.cpp:1538 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer
Feb 23 17:24:13 buttercup mythbackend: mythbackend[8126]: I ProcessRequest mainserver.cpp:1540 (HandleAnnounce) adding: primrose as a remote file transfer
This is really frustrating me, any help would be greatly appreciated.

Paul

Last edited by pjbgravely; 02-23-2014 at 06:27 PM.
 
Old 02-23-2014, 06:05 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
You are using IPv6, is this your intention? I must say live TV is the buggiest part of MythTV. Most developers do not use live TV at all. You may want to use IPv4 instead.
 
Old 02-23-2014, 06:20 PM   #3
pjbgravely
Member
 
Registered: Mar 2004
Location: USA
Distribution: Aptosid, Ubuntu server, DSL
Posts: 53

Original Poster
Rep: Reputation: 16
Good catch. I never saw that. In mythsetup I discovered the IP v6 line in general setting had populated itself, Deleted and all I have to do is fix the sound LOL. Thanks again.

Last edited by pjbgravely; 02-23-2014 at 06:27 PM.
 
1 members found this post helpful.
Old 08-22-2017, 11:56 AM   #4
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
I know this is an old post and probably no-one's looking at it, but it worked again for me today, over 3 years later.
Thanks.
 
  


Reply

Tags
mythtv



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make backend resolution larger than frontend? Willrandship Linux - Desktop 4 11-17-2010 08:52 PM
Turn KnoppMyth backend/frontend into backend only nebbus Linux - General 0 09-09-2007 01:57 AM
Remote mythtv frontend can't connect to backend raytheyounger Linux - Software 2 05-27-2006 09:09 PM
MythTV Backend Jongi SUSE / openSUSE 3 04-23-2006 08:42 PM
Backend -Frontend Interaction unbeknown Linux - Software 1 07-29-2003 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration