Mosquitto endless socket errors on only one client

I have two RPi Zeros used to monitor Mi Flora Plant Sensors stacked around the house and outside. Both of them have the identical config (for BT range) and both use same credentials to communicate with Mosquitto add-on in HA. However, I get endless socket errors on only one of them and I don’t even know why. Any help with debugging this is really appreciated. I also have a solar weather station which works fine as well.

Some more info below:

1621761563: New connection from 10.0.1.40 on port 1883.
1621761563: New client connected from 10.0.1.40 as auto-CFA82FC8-B498-8F2D-DDAB-2C90D9E8E546 (p2, c1, k60, u'sloma').
1621761582: Socket error on client auto-CFA82FC8-B498-8F2D-DDAB-2C90D9E8E546, disconnecting.
1621761584: New connection from 10.0.1.40 on port 1883.
1621761584: New client connected from 10.0.1.40 as auto-372D8511-19AA-8274-2D48-F393FF5F78D2 (p2, c1, k60, u'sloma').
1621761628: Socket error on client auto-372D8511-19AA-8274-2D48-F393FF5F78D2, disconnecting.
1621761630: New connection from 10.0.1.40 on port 1883.
1621761630: New client connected from 10.0.1.40 as auto-E058338D-DD73-3188-0937-A3576962F6E2 (p2, c1, k60, u'sloma').
1621761671: Socket error on client auto-E058338D-DD73-3188-0937-A3576962F6E2, disconnecting.
1621761673: New connection from 10.0.1.40 on port 1883.

Mi-Flora service on RPi Zero is showing no errors, it restarts every time when disconnected from Mosquitto:

This really drives me nuts because Mosquitto doesn’t indicate WHY this is happening.

I would really appreciate any tips to point me in the right direction or how to find the cause?
Thanks.

It’s likely the ‘ClientID’ is the same on both instances. Mosquito kicks one off when the other connects. It requires different client ID’s for every client

Thx. If I am using the same username & password for different clients does this mean my clients use the same Client IDs? If not where should I start changing it? Is it in the nodes or rather through HA?

You can have identical usernames and passwords but the client ID’s must be different. I am not sure where these are configured I’m afraid. Do the MiFlora’s connect direct to MQTT via the Pi? I assume so and if so it’s probably somewhere in that area, the Pi’s<> MQTT bit.