Skip to content

Client has exceeded timeout, disconnecting. #381

@MichMich

Description

@MichMich

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions