Open sadeghgoo opened 2 years ago
Version: 2.0.3-beta2 (CocoaMQTT over websocket.) after subscribing to topics, CocoaMQTT disconnected with the below error:
CocoaMQTT.CocoaMQTTError.writeTimeout
I found what's happened. When you subscribe to multiple topics with subscribe(_:)
method then you'll get this error, if you wanna subscribe to multiple topics at once then call subscribe([(String, CocoaMQTTQoS)])
method
Version: 2.0.3-beta2 (CocoaMQTT over websocket.) after subscribing to topics, CocoaMQTT disconnected with the below error:
CocoaMQTT.CocoaMQTTError.writeTimeout