[mythtv-users] Weird mythsocket error messages on master / fixes/31

Peter Bennett pb.mythtv at gmail.com
Sun Jun 6 13:50:44 UTC 2021


On 6/5/21 8:51 AM, John Hoyt wrote:
> After staring at my backend's logs to try to verify that the recent 
> mysql connection drop didn't remerge, I found these interesting errors 
> in my backend log:
>
> Jun4 18:48:53 mythtv mythbackend: mythbackend[1396]: E 
> MythSocketThread(58) mythsocket.cpp:853 (ReadStringListReal) 
> MythSocket(5583a09eda00:58): Protocol error: (parse failed) 'OPTIONS ' 
> is not a valid size prefix. 215 bytes pending.
>
> Jun4 18:49:00 mythtv mythbackend: mythbackend[1396]: E 
> MythSocketThread(58) mythsocket.cpp:853 (ReadStringListReal) 
> MythSocket(5583a09e7510:58): Protocol error: (parse failed) 'TNMP#004' 
> is not a valid size prefix. 8 bytes pending.
>
> Jun4 18:49:05 mythtv mythbackend: mythbackend[1396]: E 
> MythSocketThread(58) mythsocket.cpp:853 (ReadStringListReal) 
> MythSocket(5583a09e7e80:58): Protocol error: (parse failed) '#003' is 
> not a valid size prefix. 3 bytes pending.
>
> Jun4 18:49:10 mythtv mythbackend: mythbackend[1396]: E 
> MythSocketThread(58) mythsocket.cpp:853 (ReadStringListReal) 
> MythSocket(5583a09e77f0:58): Protocol error: (parse failed) 'DmdT' is 
> not a valid size prefix. 15 bytes pending.
>
> Jun4 18:49:15 mythtv mythbackend: mythbackend[1396]: E 
> MythSocketThread(58) mythsocket.cpp:853 (ReadStringListReal) 
> MythSocket(5583a09f6f00:58): Protocol error: (parse failed) ':' is not 
> a valid size prefix. 52 bytes pending.
>
> Jun4 18:49:25 mythtv mythbackend: mythbackend[1396]: E 
> MythSocketThread(58) mythsocket.cpp:853 (ReadStringListReal) 
> MythSocket(5583a09e8740:58): Protocol error: (parse failed) '#001' is 
> not a valid size prefix. 167 bytes pending.
>
> Jun4 18:49:30 mythtv mythbackend: mythbackend[1396]: E 
> MythSocketThread(58) mythsocket.cpp:853 (ReadStringListReal) 
> MythSocket(5583a09f7e50:58): Protocol error: (parse failed) '' is not 
> a valid size prefix. 82 bytes pending.
>
> Jun4 18:49:35 mythtv mythbackend: mythbackend[1396]: E 
> MythSocketThread(58) mythsocket.cpp:853 (ReadStringListReal) 
> MythSocket(5583a09f77c0:58): Protocol error: (parse failed) '' is not 
> a valid size prefix. 10 bytes pending.
>
> Jun4 18:49:41 mythtv mythbackend: mythbackend[1396]: E 
> MythSocketThread(58) mythsocket.cpp:853 (ReadStringListReal) 
> MythSocket(5583a09f05c0:58): Protocol error: (parse failed) 'GIOP#001' 
> is not a valid size prefix. 40 bytes pending.
>
>
> Any thoughts on what might be causing them?
>
> I can trace the errors back to Oct 16 last year (could be sooner, but 
> that's where my archived logs end) - meaning I was experiencing the 
> errors on both fixes/31 before my upgrade to master (which occured 
> March 6 2021).
>
> ~John

I would guess that you have a hacker or some rogue process that is 
sending messages to your mythtv box. Is your port open to the internet? 
Port 6543 is normally the MythTV port. You can see these errors if you 
run telnet localhost 6534 and then type random junk into telnet. Each 
line of stuff you type will be reported as a protocol error in 
mythbackend (unless you by chance type a valid MythTV command :).

Peter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20210606/c553ca4c/attachment.htm>


More information about the mythtv-users mailing list