AI-on-the-edge CAM closes connection to Mosquitto after CONNACK

Hi,
I would like to connect an ESP32-CAM to my Home Assistant with Mosquito.
I can’t see any error in the Mosquito log, after a succesful connect and a CONNACK message the client just closes the connection.
On the client side there is an error ’ [MQTT IF] Other event id:’ but no explanation.
RSSI is good.
Mosquito in HA is working perfect with Paradox Alarm Interface client.

When I connect this CAM modul to an other HA system it’s working perfect, so the error is not on the client side.

What I already tried without success:

  • changing user
  • changing client Id
  • changing main topic
  • reinstall Mosquitto
  • new power supply
  • new USB cable
  • 3 different ESP32 CAM Modul
  • AI-On-The-Edge FW 16, 15, 14
  • Retain Messages ON/OFF
  • Homeassistant Discovery ON/OFF

Attached the Mosquito log, AI-On-The-Edge log, AI-On-The-Edge config
Any idea?

I found the solution, in the HA network settings the subnet mask was set automatically to 255.255.255.255 when I set a fixed IP address. After I changed it to 255.255.255.0 the CAM can connect.