RF Bridge keeps losing connectivity to MQTT server

I have two Sonoff RF Bridge devices, both flashed with Tasmota, both having the same version 8.3.1. Both of them are configured exactly the same except for the names. One of them works without any issue, the other connects to the MQTT server and after about 30-60 seconds loses connectivity and only reconnects if I restart it, then again losing connectivity after about 30-60 seconds.
This is what I can see in the server logs:
[INFO] found mqtt on local database
1592759662: New client connected from 172.30.32.1 as RFBridge_Living (p2, c1, k30, u’mqtt’).
1592759663: New connection from 172.30.32.1 on port 1883.
1592759663: New client connected from 172.30.32.1 as RFBridge_Kitchen (p2, c1, k30, u’mqtt’).
1592759723: Socket error on client RFBridge_Living, disconnecting.

And this is in the RF Bridge logs:
18:15:55 MQT: Attempting connection…
18:16:00 MQT: Connect failed to 192.168.1.6:1883, rc -2. Retry in 10 sec
18:16:11 MQT: Attempting connection…
18:16:16 MQT: Connect failed to 192.168.1.6:1883, rc -2. Retry in 10 sec
18:16:26 MQT: Attempting connection…
18:16:32 MQT: Connect failed to 192.168.1.6:1883, rc -2. Retry in 10 sec
18:16:42 MQT: Attempting connection…
18:16:48 MQT: Connect failed to 192.168.1.6:1883, rc -2. Retry in 10 sec
18:16:58 MQT: Attempting connection…
18:17:04 MQT: Connect failed to 192.168.1.6:1883, rc -2. Retry in 10 sec
18:17:14 MQT: Attempting connection…
18:17:19 MQT: Connect failed to 192.168.1.6:1883, rc -2. Retry in 10 sec
18:17:30 MQT: Attempting connection…
18:17:35 MQT: Connect failed to 192.168.1.6:1883, rc -2. Retry in 10 sec
18:17:46 MQT: Attempting connection…
18:17:51 MQT: Connect failed to 192.168.1.6:1883, rc -2. Retry in 10 sec
18:18:02 MQT: Attempting connection…

I reset the RF Bridge and reconfigured it, but the same thing keeps happening.
I searched forums but could not find anything relevant to my situation.
Does anyone have any idea what could be causing this weird behaviour?
Thanks.

To add to this, in TasmoAdmin I see this JSON error, I changed the Tasmota version a few times and it doesn’t go away, now I’m on version 7.2.0 and it still shows.