-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Ok, I'm starting to bang my head against the wall here.
I'm running a Mosquitto (1.4.7) MQTT server on my CentOS Web Server. Using MQTT.js I created a small node script that connects to this server.
When I run this Node script on my web server, it connects, but every few 10-30 seconds, it disconnects and reconnects. The Mosquito log states the following:
1455282675: Client mqttjs_057aaa0a has exceeded timeout, disconnecting.
The weird thing is, this only is the case when I run this node script on the same server as my Mosquitto server. If I run the script from an other machine (for example my Mac), it works fine and remains connected without any issue.
I already tried disabling the Firewall on my Web Server but without any succes.
Any idea what could cause this weird behavior? Where I should start looking?
Thanks in advance!