CocoaMQTT icon indicating copy to clipboard operation
CocoaMQTT copied to clipboard

MQTT 5.0 client library for iOS and macOS written in Swift

Results 157 CocoaMQTT issues
Sort by recently updated
recently updated
newest added

Hi, I'm facing this issue when using CocoaMQTT/Websocket by doing `pod 'CocoaMQTT/WebSockets', '1.3.0-rc.2'` to connect to my host at this url: `wss://cpl-emqx-socket.staging-bitcastle.work:8083/mqtt` And this is what console log show for...

Version: 2.0.3-beta2 (CocoaMQTT over websocket.) after subscribing to topics, CocoaMQTT disconnected with the below error: `CocoaMQTT.CocoaMQTTError.writeTimeout`

Using 1.2.5 release and observed the following implementation below. You're building up this dictionary but never clearing this out. There is no access to clean this as well. In my...

Pod install lists this as the install line: pod 'CocoaMQTT, '~> 2.0.2'' Is there a typo in this? It seems to produce: [!] Invalid `Podfile` file: syntax error, unexpected '~',...

document

using CocoaMQTT inside a framework I am getting below while using CocoaMQTTWebSocket

* thread #2, queue = 'CocoaMQTTWebSocket', stop reason = Fatal error: invalid Collection: less than 'count' elements in collection frame #0: 0x00000001894a8eac libswiftCore.dylib`_swift_runtime_on_report frame #1: 0x0000000189521100 libswiftCore.dylib`_swift_stdlib_reportFatalErrorInFile + 192 frame...

**Steps to reproduce** 1. create CocoaMQTT instance 2. turn on autoreconnect 3. connect to broker 4. start sending/receiving messages 5. turn phone screen off. 6. turn phone screen on. 7....

**Here are some steps to reproduce:** 1. create a new CocoaMQTT instance 2. enable autoreconnect 3. connect to a broker 4. trigger the CocoaMQTT.disconnect() method 5. notice that the CocoaMqtt.connect()...

when I call like this: mqtt.publish(CocoaMQTTMessage(topic: connectTopicString, payload: [10], qos: .qos1, retained: true)) , I get error as follows: mqttDidDisconnect:Optional(Error Domain=GCDAsyncSocketErrorDomain Code=7 "Socket closed by remote peer" UserInfo={NSLocalizedDescription=Socket closed by...