Xiaomi Gateway Alarm

I tried to remove the devices from a gateway and transfer them to a new one, I tried to divide the devices between the 2 gateways, but the gateway or rather the 2 gateways, are detected without alarm devices.
it must be said that the first time I entered the new gateway it was detected.
then it was disconnected from electricity, and it gave the same problem. I can’t understand what the problem might be.the aqara part where all connected devices are visible works correctly.

[miio.miioprotocol] Unable to discover a device at address 192.168.1.43
[homeassistant.components.xiaomi_miio.gateway] DeviceException during setup of xiaomi gateway with host 192.168.1.43