Introvertuous / react-native-mqtt

Mqtt client for react native.
MIT License
156 stars 31 forks source link

AMQJSC0001E Connect timed out #17

Open IngoDeng opened 6 years ago

IngoDeng commented 6 years ago

All connection timeout: const client = new Paho.MQTT.Client('iot.eclipse.org',80, 'aaa'); //const client = new Paho.MQTT.Client('mqtt.swifitch.cz',1883, 'aaa'); client.onConnectionLost = this.onConnectionLost; client.onMessageArrived = this.onMessageArrived; client.connect({ onSuccess: this.onConnect,onFailure:this.onFailure });

"react": "16.0.0", "react-native": "0.51.0", "react_native_mqtt": "^1.1.9"

Someone help?

theSupermacy commented 5 years ago

This library is very unpredictable.

IngoDeng commented 2 years ago

您好,已经收到您的邮件。