Mailing List Archive

Lots of MythSocket errors since upgrade to v29
Mythweb seems rather sluggish since upgrading to v29 and it appears I'm
getting MythSocket timeout errors approx every 30seconds.

Running Mythbuntu 16.04

MythTV Version : v29.0-59-g61d331c
MythTV Branch : fixes/29
Network Protocol : 91
Library API : 29.20170212-1
QT Version : 5.5.1

Interestingly All Frontends & Mythweb could not connect to the backend
after the upgrade until I enabled the option "Allow Connections from all
Subnets
<https://www.mythtv.org/wiki/Setup_General#Host_Address_Backend_Setup_.28v29.29>",
FE & CombinedFE/BE are both on the same subnet (172.16.107.0/24)....

Nov 22 22:28:59 mythtv mythbackend: mythbackend[3216]: E
MythSocketThread(-1) mythsocket.cpp:827 (ReadStringListReal)
MythSocket(14d9f70:248): ReadStringList: Error, timed out after 30000 ms.
Nov 22 22:28:59 mythtv mythbackend: mythbackend[3216]: W
MythSocketThread(-1) mainserver.cpp:7694 (connectionClosed) MainServer:
Unknown socket closing MythSocket(0x14d9f70)
Nov 22 22:28:59 mythtv mythbackend: mythbackend[3216]: E CoreContext
mythsocket.cpp:369 (SendReceiveStringList) MythSocket(14d9f70:-1): No
response.
Nov 22 22:28:59 mythtv mythbackend: mythbackend[3216]: E CoreContext
mainserver.cpp:8030 (reconnectTimeout) MainServer: Failed to open master
server socket, timeout
Nov 22 22:28:59 mythtv mythbackend: mythbackend[3216]: I
MythSocketThread(248) mainserver.cpp:7683 (connectionClosed) Control
sock(15c79b0) disconnected
Nov 22 22:29:00 mythtv mythbackend: mythbackend[3216]: N CoreContext
mainserver.cpp:7981 (reconnectTimeout) MainServer: Connecting to master
server: 172.16.107.77:6543
Nov 22 22:29:00 mythtv mythbackend: mythbackend[3216]: N CoreContext
mainserver.cpp:7992 (reconnectTimeout) MainServer: Connected successfully
Nov 22 22:29:30 mythtv mythbackend: mythbackend[3216]: E
MythSocketThread(-1) mythsocket.cpp:827 (ReadStringListReal)
MythSocket(14a3e40:249): ReadStringList: Error, timed out after 30000 ms.
Nov 22 22:29:30 mythtv mythbackend: mythbackend[3216]: W
MythSocketThread(-1) mainserver.cpp:7694 (connectionClosed) MainServer:
Unknown socket closing MythSocket(0x14a3e40)
Nov 22 22:29:30 mythtv mythbackend: mythbackend[3216]: E CoreContext
mythsocket.cpp:369 (SendReceiveStringList) MythSocket(14a3e40:-1): No
response.
Nov 22 22:29:30 mythtv mythbackend: mythbackend[3216]: E CoreContext
mainserver.cpp:8030 (reconnectTimeout) MainServer: Failed to open master
server socket, timeout
Nov 22 22:29:30 mythtv mythbackend: mythbackend[3216]: I
MythSocketThread(249) mainserver.cpp:7683 (connectionClosed) Control
sock(15c8370) disconnected
Nov 22 22:29:31 mythtv mythbackend: mythbackend[3216]: N CoreContext
mainserver.cpp:7981 (reconnectTimeout) MainServer: Connecting to master
server: 172.16.107.77:6543
Nov 22 22:29:31 mythtv mythbackend: mythbackend[3216]: N CoreContext
mainserver.cpp:7992 (reconnectTimeout) MainServer: Connected successfully
Nov 22 22:30:01 mythtv mythbackend: mythbackend[3216]: E
MythSocketThread(-1) mythsocket.cpp:827 (ReadStringListReal)
MythSocket(15c8170:255): ReadStringList: Error, timed out after 30000 ms.
Nov 22 22:30:01 mythtv mythbackend: mythbackend[3216]: W
MythSocketThread(-1) mainserver.cpp:7694 (connectionClosed) MainServer:
Unknown socket closing MythSocket(0x15c8170)
Nov 22 22:30:01 mythtv mythbackend: mythbackend[3216]: E CoreContext
mythsocket.cpp:369 (SendReceiveStringList) MythSocket(15c8170:-1): No
response.
Nov 22 22:30:01 mythtv mythbackend: mythbackend[3216]: E CoreContext
mainserver.cpp:8030 (reconnectTimeout) MainServer: Failed to open master
server socket, timeout
Nov 22 22:30:01 mythtv mythbackend: mythbackend[3216]: I
MythSocketThread(249) mainserver.cpp:7683 (connectionClosed) Control
sock(14a4c20) disconnected
Nov 22 22:30:02 mythtv mythbackend: mythbackend[3216]: N CoreContext
mainserver.cpp:7981 (reconnectTimeout) MainServer: Connecting to master
server: 172.16.107.77:6543
Nov 22 22:30:02 mythtv mythbackend: mythbackend[3216]: N CoreContext
mainserver.cpp:7992 (reconnectTimeout) MainServer: Connected successfully

Please Help,

Anthony
Re: Lots of MythSocket errors since upgrade to v29 [ In reply to ]
On 22 November 2017 at 22:41, Anthony Giggins <seven@seven.dorksville.net>
wrote:

> Mythweb seems rather sluggish since upgrading to v29 and it appears I'm
> getting MythSocket timeout errors approx every 30seconds.
>
> Running Mythbuntu 16.04
>
> MythTV Version : v29.0-59-g61d331c
> MythTV Branch : fixes/29
> Network Protocol : 91
> Library API : 29.20170212-1
> QT Version : 5.5.1
>
> Interestingly All Frontends & Mythweb could not connect to the backend
> after the upgrade until I enabled the option "Allow Connections from all
> Subnets
> <https://www.mythtv.org/wiki/Setup_General#Host_Address_Backend_Setup_.28v29.29>",
> FE & CombinedFE/BE are both on the same subnet (172.16.107.0/24)....
>
> Nov 22 22:28:59 mythtv mythbackend: mythbackend[3216]: E
> MythSocketThread(-1) mythsocket.cpp:827 (ReadStringListReal)
> MythSocket(14d9f70:248): ReadStringList: Error, timed out after 30000 ms.
> Nov 22 22:28:59 mythtv mythbackend: mythbackend[3216]: W
> MythSocketThread(-1) mainserver.cpp:7694 (connectionClosed) MainServer:
> Unknown socket closing MythSocket(0x14d9f70)
> Nov 22 22:28:59 mythtv mythbackend: mythbackend[3216]: E CoreContext
> mythsocket.cpp:369 (SendReceiveStringList) MythSocket(14d9f70:-1): No
> response.
> Nov 22 22:28:59 mythtv mythbackend: mythbackend[3216]: E CoreContext
> mainserver.cpp:8030 (reconnectTimeout) MainServer: Failed to open master
> server socket, timeout
> Nov 22 22:28:59 mythtv mythbackend: mythbackend[3216]: I
> MythSocketThread(248) mainserver.cpp:7683 (connectionClosed) Control
> sock(15c79b0) disconnected
> Nov 22 22:29:00 mythtv mythbackend: mythbackend[3216]: N CoreContext
> mainserver.cpp:7981 (reconnectTimeout) MainServer: Connecting to master
> server: 172.16.107.77:6543
> Nov 22 22:29:00 mythtv mythbackend: mythbackend[3216]: N CoreContext
> mainserver.cpp:7992 (reconnectTimeout) MainServer: Connected successfully
> Nov 22 22:29:30 mythtv mythbackend: mythbackend[3216]: E
> MythSocketThread(-1) mythsocket.cpp:827 (ReadStringListReal)
> MythSocket(14a3e40:249): ReadStringList: Error, timed out after 30000 ms.
> Nov 22 22:29:30 mythtv mythbackend: mythbackend[3216]: W
> MythSocketThread(-1) mainserver.cpp:7694 (connectionClosed) MainServer:
> Unknown socket closing MythSocket(0x14a3e40)
> Nov 22 22:29:30 mythtv mythbackend: mythbackend[3216]: E CoreContext
> mythsocket.cpp:369 (SendReceiveStringList) MythSocket(14a3e40:-1): No
> response.
> Nov 22 22:29:30 mythtv mythbackend: mythbackend[3216]: E CoreContext
> mainserver.cpp:8030 (reconnectTimeout) MainServer: Failed to open master
> server socket, timeout
> Nov 22 22:29:30 mythtv mythbackend: mythbackend[3216]: I
> MythSocketThread(249) mainserver.cpp:7683 (connectionClosed) Control
> sock(15c8370) disconnected
> Nov 22 22:29:31 mythtv mythbackend: mythbackend[3216]: N CoreContext
> mainserver.cpp:7981 (reconnectTimeout) MainServer: Connecting to master
> server: 172.16.107.77:6543
> Nov 22 22:29:31 mythtv mythbackend: mythbackend[3216]: N CoreContext
> mainserver.cpp:7992 (reconnectTimeout) MainServer: Connected successfully
> Nov 22 22:30:01 mythtv mythbackend: mythbackend[3216]: E
> MythSocketThread(-1) mythsocket.cpp:827 (ReadStringListReal)
> MythSocket(15c8170:255): ReadStringList: Error, timed out after 30000 ms.
> Nov 22 22:30:01 mythtv mythbackend: mythbackend[3216]: W
> MythSocketThread(-1) mainserver.cpp:7694 (connectionClosed) MainServer:
> Unknown socket closing MythSocket(0x15c8170)
> Nov 22 22:30:01 mythtv mythbackend: mythbackend[3216]: E CoreContext
> mythsocket.cpp:369 (SendReceiveStringList) MythSocket(15c8170:-1): No
> response.
> Nov 22 22:30:01 mythtv mythbackend: mythbackend[3216]: E CoreContext
> mainserver.cpp:8030 (reconnectTimeout) MainServer: Failed to open master
> server socket, timeout
> Nov 22 22:30:01 mythtv mythbackend: mythbackend[3216]: I
> MythSocketThread(249) mainserver.cpp:7683 (connectionClosed) Control
> sock(14a4c20) disconnected
> Nov 22 22:30:02 mythtv mythbackend: mythbackend[3216]: N CoreContext
> mainserver.cpp:7981 (reconnectTimeout) MainServer: Connecting to master
> server: 172.16.107.77:6543
> Nov 22 22:30:02 mythtv mythbackend: mythbackend[3216]: N CoreContext
> mainserver.cpp:7992 (reconnectTimeout) MainServer: Connected successfully
>
> Please Help,
>
> Anthony
>


Turns out it just needed another reboot, Although I thought I had already
done this after the upgrade.

Cheers,

Anthony