EOF on tcp socket with pymavlink

Hi !

I am having issues connecting a second onboard computer to a Mavlink Endpoint using Pymavlink.

I created a TCP server endpoint in BlueOS on 0.0.0.0:29442.

I then connect with pymavlink on the second onboard computer with the following command:

connection = mavutil.mavlink_connection(
                'tcp:192.168.2.2:29442',
                source_system=1,
                source_component=mavutil.mavlink.MAV_COMP_ID_ONBOARD_COMPUTER,
                force_connected=False,
                autoreconnect=True)

This used to work but I am recently having a repeated EOF on tcp socket message and the connection attempts to reconnect endlessly.

I can’t seem to find the issue online… Any help or tips to diagnose the problem would be much appreciated !
Thanks !