Opened 14 years ago
Closed 14 years ago
#11256 closed Bug Report - General (Fixed)
After upgrading from 8b09fd3 to d5e6bc4 Slave BE is unable to connect to MB remotely
| Reported by: | Owned by: | danielk | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | MythTV - General | Version: | Master Head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
The error the remote BE shows is:
2012-11-26 16:14:30.008886 N Connection to master server timed out. QMetaMethod::invoke: Unable to handle unregistered datatype 'QHostAddress' 2012-11-26 16:14:31.009543 N Connecting to master server: 192.168.13.100:6543 2012-11-26 16:14:31.009686 N Connection to master server timed out. QMetaMethod::invoke: Unable to handle unregistered datatype 'QHostAddress' 2012-11-26 16:14:32.010349 N Connecting to master server: 192.168.13.100:6543 2012-11-26 16:14:32.010417 N Connection to master server timed out. QMetaMethod::invoke: Unable to handle unregistered datatype 'QHostAddress' 2012-11-26 16:14:33.010830 N Connecting to master server: 192.168.13.100:6543 2012-11-26 16:14:33.010971 N Connection to master server timed out. QMetaMethod::invoke: Unable to handle unregistered datatype 'QHostAddress' 2012-11-26 16:14:34.011257 N Connecting to master server: 192.168.13.100:6543 2012-11-26 16:14:34.011424 N Connection to master server timed out. QMetaMethod::invoke: Unable to handle unregistered datatype 'QHostAddress' 2012-11-26 16:14:35.012051 N Connecting to master server: 192.168.13.100:6543 2012-11-26 16:14:35.012195 N Connection to master server timed out.
and it repeats ...
MythTV Version : v0.26-pre-1458-gd5e6bc4-dirty MythTV Branch : master Network Protocol : 76 Library API : 0.27.20121125-2 QT Version : 4.7.4 Options compiled in: linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_frontend using_ceton using_hdpvr using_ivtv using_libcrypto using_libfftw3 using_libxml2 using_libudf using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_mheg using_libxml2 using_libudf
Change History (12)
comment:1 by , 14 years ago
| Owner: | set to |
|---|---|
| Status: | new → accepted |
comment:2 by , 14 years ago
comment:3 by , 14 years ago
Where exactly should I insert the lines? Both backends? and where in the files? Can you provide me with a patch?
TIA Yianni
comment:4 by , 14 years ago
Sorry for posting again, but I don't know how to follow your advice. Could you please be more specific? What files should I edit? Just mythsocket.h?
A patch or a line number would be really helpful.
Thanks again,
Yianni.
comment:6 by , 14 years ago
Thanks for the patch. I applied it, but after compilation I get:
2012-11-27 06:59:53.331664 C mythbackend version: master [v0.26-pre-1469-g4f98a09-dirty] www.mythtv.org
2012-11-27 06:59:53.331701 C Qt version: compile: 4.7.4, runtime: 4.7.4
2012-11-27 06:59:53.331705 N Enabled verbose msgs: general
2012-11-27 06:59:53.331718 N Setting Log Level to LOG_INFO
2012-11-27 06:59:53.332366 I Added logging to the console
2012-11-27 06:59:53.504669 I Setup ÎιακοÏή handler
2012-11-27 06:59:53.504705 I Setup ΤεÏμαÏίÏÏηκε handler
2012-11-27 06:59:53.504719 I Setup ΣÏάλμα καÏάÏμηÏÎ·Ï (segmentation fault) handler
2012-11-27 06:59:53.504733 I Setup ÎκÏÏÏθηκε handler
2012-11-27 06:59:53.504748 I Setup ΣÏάλμα ÏÏον δίαÏλο(bus) handler
2012-11-27 06:59:53.504761 I Setup ÎξαίÏεÏη κινηÏÎ®Ï ÏÏοδιαÏÏÎ¿Î»Î®Ï handler
2012-11-27 06:59:53.504772 I Setup ÎκαÏάλληλη ενÏολή handler
2012-11-27 06:59:53.504788 I Setup Σήμα ÏÏαγμαÏικοÏ-ÏÏÏÎ½Î¿Ï 0 handler
2012-11-27 06:59:53.504878 N Using runtime prefix = /usr
2012-11-27 06:59:53.504898 N Using configuration directory = /home/yianni/.mythtv
2012-11-27 06:59:53.505011 I Assumed character encoding: el_GR.UTF-8
2012-11-27 06:59:53.533529 N Empty LocalHostName.
2012-11-27 06:59:53.533543 I Using localhost value of al2kpro
2012-11-27 06:59:53.533587 I Testing network connectivity to '192.168.13.100'
2012-11-27 06:59:53.533966 I Starting process manager
2012-11-27 06:59:53.536668 I Starting IO manager (read)
2012-11-27 06:59:53.536788 I Starting IO manager (write)
2012-11-27 06:59:53.536864 I Starting process signal handler
2012-11-27 06:59:53.663102 N Setting QT default locale to el_GR
2012-11-27 06:59:53.663124 I Current locale el_GR
2012-11-27 06:59:53.663232 E No locale defaults file for el_GR, skipping
2012-11-27 06:59:53.714555 I Added logging to mythlogserver at TCP:35327
QMetaMethod::invoke: Unable to handle unregistered datatype 'bool*'
QMetaMethod::invoke: Unable to handle unregistered datatype 'bool*'
2012-11-27 06:59:53.737976 E setHttpProxy() - 192.168.13.1:3128 - cannot connect!
Please check HTTP_PROXY environment variable!
2012-11-27 06:59:53.745304 I Current MythTV Schema Version (DBSchemaVer): 1308
2012-11-27 06:59:53.746983 I Loading el translation for module mythfrontend
2012-11-27 06:59:53.751694 N MythBackend: Running as a slave backend.
2012-11-27 06:59:53.767477 I V4LChannel(/dev/video0): SetInputAndFormat(1, PAL-BG) (v4l v2) input_switch: 0 mode_switch: 0
2012-11-27 06:59:53.770197 I V4LChannel(/dev/video0): SetInputAndFormat(1, PAL-BG) (v4l v2) input_switch: 0 mode_switch: 0
2012-11-27 06:59:53.799404 I V4LChannel(/dev/video1): SetInputAndFormat(2, PAL-BG) (v4l v2) input_switch: 0 mode_switch: 1
2012-11-27 06:59:53.805059 I V4LChannel(/dev/video1): SetInputAndFormat(2, PAL-BG) (v4l v2) input_switch: 0 mode_switch: 1
2012-11-27 06:59:53.835130 W ChannelBase(2): A channel changer is set, but the freqid field is empty.
We will return success to ease setup pains, but no script is will actually run.
2012-11-27 06:59:55.516030 W DVBChan(14:/dev/dvb/adapter0/frontend0): Selected fec_inner parameter unsupported by this driver.
2012-11-27 06:59:57.031358 I Listening on TCP 127.0.0.1:6544
2012-11-27 06:59:57.031492 I Listening on TCP 192.168.13.65:6544
2012-11-27 06:59:57.031690 I Listening on TCP [0:0:0:0:0:0:0:1]:6544
2012-11-27 06:59:57.031888 I Listening on TCP [fe80:0:0:0:280:48ff:fe29:255a%eth0]:6544
2012-11-27 06:59:57.362784 I Main::Registering HttpStatus Extension
2012-11-27 06:59:57.367676 I Listening on TCP 127.0.0.1:6543
2012-11-27 06:59:57.367801 I Listening on TCP 192.168.13.65:6543
2012-11-27 06:59:57.368012 I Listening on TCP [0:0:0:0:0:0:0:1]:6543
2012-11-27 06:59:57.368152 I Listening on TCP [fe80:0:0:0:280:48ff:fe29:255a%eth0]:6543
QMetaMethod::invoke: Unable to handle unregistered datatype 'bool*'
2012-11-27 06:59:58.368718 N Connecting to master server: 192.168.13.100:6543
2012-11-27 06:59:58.368903 N Connection to master server timed out.
QMetaMethod::invoke: Unable to handle unregistered datatype 'bool*'
2012-11-27 06:59:59.369776 N Connecting to master server: 192.168.13.100:6543
2012-11-27 06:59:59.369963 N Connection to master server timed out.
QMetaMethod::invoke: Unable to handle unregistered datatype 'bool*'
2012-11-27 07:00:00.370479 N Connecting to master server: 192.168.13.100:6543
2012-11-27 07:00:00.370546 N Connection to master server timed out.
QMetaMethod::invoke: Unable to handle unregistered datatype 'bool*'
2012-11-27 07:00:01.370867 N Connecting to master server: 192.168.13.100:6543
2012-11-27 07:00:01.370940 N Connection to master server timed out.
QMetaMethod::invoke: Unable to handle unregistered datatype 'bool*'
2012-11-27 07:00:02.371194 N Connecting to master server: 192.168.13.100:6543
2012-11-27 07:00:02.371274 N Connection to master server timed out.
QMetaMethod::invoke: Unable to handle unregistered datatype 'bool*'
2012-11-27 07:00:03.371628 N Connecting to master server: 192.168.13.100:6543
2012-11-27 07:00:03.371704 N Connection to master server timed out.
QMetaMethod::invoke: Unable to handle unregistered datatype 'bool*'
2012-11-27 07:00:04.372140 N Connecting to master server: 192.168.13.100:6543
2012-11-27 07:00:04.372289 N Connection to master server timed out.
QMetaMethod::invoke: Unable to handle unregistered datatype 'bool*'
2012-11-27 07:00:05.373133 N Connecting to master server: 192.168.13.100:6543
2012-11-27 07:00:05.373286 N Connection to master server timed out.
QMetaMethod::invoke: Unable to handle unregistered datatype 'bool*'
2012-11-27 07:00:06.373949 N Connecting to master server: 192.168.13.100:6543
2012-11-27 07:00:06.374102 N Connection to master server timed out.
MythTV Version : v0.26-pre-1469-g4f98a09-dirty MythTV Branch : master Network Protocol : 76 Library API : 0.27.20121125-2 QT Version : 4.7.4 Options compiled in:
linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_frontend using_ceton using_hdpvr using_ivtv using_libcrypto using_libfftw3 using_libxml2 using_libudf using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_mheg using_libxml2 using_libudf
comment:9 by , 14 years ago
Yianni, you will need to cherry-pick [1ffb24ee16]. You are running Qt 4.7.4 which isn't supported in the master branch anymore. However, I believe the above commit will allow you to run with that version. Please report back whether it works for you.
comment:10 by , 14 years ago
Thank you for the commit. I applied it on both the MB (which is on opensuse 12.2, i.e qt 4.8.3) and on the affected SB, (opensuse 12.1 and qt 4.7.4). The result was disappointing:
2012-11-27 22:45:02.479039 I Listening on TCP 127.0.0.1:6543 2012-11-27 22:45:02.479157 I Listening on TCP 192.168.13.65:6543 2012-11-27 22:45:02.862304 C Received Σήμα ÏÏÎ±Î³Î¼Î±Ï -ÏÏÏÎ½Î¿Ï 0: Code -6, PID 16990, UID 0, Value 0xffff88007b2abf40 Î¹ÎºÎ¿Ï 2012-11-27 22:45:03.479469 N Connecting to master server: 192.168.13.100:6543 2012-11-27 22:45:03.479841 E MythSocket(901940:-1): Failed to connect to (192.168.13.100:6543) Operation on socket is not supported 2012-11-27 22:45:03.479878 N Connection to master server timed out. 2012-11-27 22:45:04.480292 N Connecting to master server: 192.168.13.100:6543 2012-11-27 22:45:04.480981 E MythSocket(901830:-1): Failed to connect to (192.168.13.100:6543) Operation on socket is not supported 2012-11-27 22:45:04.481043 N Connection to master server timed out. 2012-11-27 22:45:05.481379 N Connecting to master server: 192.168.13.100:6543 2012-11-27 22:45:05.481723 E MythSocket(8ff820:-1): Failed to connect to (192.168.13.100:6543) Operation on socket is not supported 2012-11-27 22:45:05.481758 N Connection to master server timed out. 2012-11-27 22:45:06.482162 N Connecting to master server: 192.168.13.100:6543 2012-11-27 22:45:06.482856 E MythSocket(900660:-1): Failed to connect to (192.168.13.100:6543) Operation on socket is not supported 2012-11-27 22:45:06.482919 N Connection to master server timed out. 2012-11-27 22:45:07.483509 N Connecting to master server: 192.168.13.100:6543 2012-11-27 22:45:07.484200 E MythSocket(8f0310:-1): Failed to connect to (192.168.13.100:6543) Operation on socket is not supported 2012-11-27 22:45:07.484303 N Connection to master server timed out. 2012-11-27 22:45:08.484449 N Connecting to master server: 192.168.13.100:6543 2012-11-27 22:45:08.484775 E MythSocket(901dd0:-1): Failed to connect to (192.168.13.100:6543) Operation on socket is not supported 2012-11-27 22:45:08.484809 N Connection to master server timed out. 2012-11-27 22:45:09.485205 N Connecting to master server: 192.168.13.100:6543 2012-11-27 22:45:09.485939 E MythSocket(900470:-1): Failed to connect to (192.168.13.100:6543) Operation on socket is not supported 2012-11-27 22:45:09.486018 N Connection to master server timed out. 2012-11-27 22:45:10.486626 N Connecting to master server: 192.168.13.100:6543 2012-11-27 22:45:10.487522 E MythSocket(9004f0:-1): Failed to connect to (192.168.13.100:6543) Operation on socket is not supported 2012-11-27 22:45:10.487593 N Connection to master server timed out. 2012-11-27 22:45:11.487884 N Connecting to master server: 192.168.13.100:6543 2012-11-27 22:45:11.488594 E MythSocket(8f0390:-1): Failed to connect to (192.168.13.100:6543) Operation on socket is not supported 2012-11-27 22:45:11.488659 N Connection to master server timed out. ^C2012-11-27 22:45:11.759543 C Received ÎιακοÏή: Code 128, PID 0, UID 0, Value 0x00000000 2012-11-27 22:45:11.759631 N MythBackend exiting
This is from just running "mythbackend" and exiting with ctrl+c.
However, I noticed Stuart Morgan's commit and I am in the process of downloading packets for an upgrade to 12.2 on the SB (it was the last on 12.1, but it's in the living room...). So, hopefully by tomorrow (it's rather late here) I'll try again in a new environment.
Tia,
Yianni.
comment:11 by , 14 years ago
I'm up and running after upgrading opensuse to 12.2. The two backends speak again to each other.
Daniel, thanks for your help. Stuart, thanks for the push!
MythTV Version : v0.26-pre-1478-gf2c2714-dirty MythTV Branch : master Network Protocol : 76 Library API : 0.27.20121127-1 QT Version : 4.8.1 Options compiled in: linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_frontend using_ceton using_hdpvr using_ivtv using_libcrypto using_libfftw3 using_libxml2 using_libudf using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_mheg using_libxml2 using_libudf
comment:12 by , 14 years ago
| Resolution: | → Fixed |
|---|---|
| Status: | accepted → closed |
Thanks for reporting back! (With stuart's Qt 4.8 checking in [9d670e8f4a] as the real fix :)

Hmm, can you try adding this in mythsocket.h?
And this in the MythSocket constructor?
I believe QHostAddress should be registered by Qt without us having to do it explicitly so there is probably something else going on here, but this is worth a try I think.