eclipse-paho / eclipse-paho/paho.mqtt.javascript

Device randomly dropping connection

Open
#129 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
1.2k
Forks
466
PR merge metrics
No merged PRs in 30d

Description

I am building an app with Cordova/Ionic and am experiencing randomly timed connection drops from my client. my tablet is directly connected to the device it is communicating with over wifi that the device is broadcasting. The devices will be sending messages back and forth and then out of nowhere I get:

WebSocket connection to 'ws://192.168.1.1/mqtt' failed: Error in connection establishment: net::ERR_ADDRESS_UNREACHABLE

At this time the tablet is now disconnected from wifi (I am currently testing it with auto reconnect disabled, it will reconnect otherwise), and the device with the broker has the LED indicator installed on it flashing that it is broadcasting it's network. I have not been able to figure out what is causing my tablet to drop the network.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.