It looks like MQTT is not properly configured on your server. See https://qa.h-mdm.com/5102/ for details how to fix MQTT issues. If you are not able to setup MQTT communication by TCP port 31000, use HTTP polling to deliver Push notifications (including reboot commands!) to the device.