You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
As the titles indicates my client is closing after receiving 0 data from broker. My broker uses a Self Signed Certificate. Next I will indicate my code and logs
`
func selfSignedSSLSetting() {
if mqttVesion == "3.1.1" {
Hi,
As the titles indicates my client is closing after receiving 0 data from broker. My broker uses a Self Signed Certificate. Next I will indicate my code and logs
`
func selfSignedSSLSetting() {
if mqttVesion == "3.1.1" {
CocoaMQTT(info): Connected to xx.xx.xx.xxx : 1883
CocoaMQTT(info): Enable backgrounding socket successfully
CocoaMQTT(debug): SEND: CONNECT(id: CocoaMQTT-Sheep-, username: xxx, password: xxx, keepAlive : 60, cleansess: true)
CocoaMQTT(debug): =========================MQTT 3.1.1=========================
CocoaMQTT(debug): packetFixedHeaderType 16
CocoaMQTT(debug): remainingLen(len: len) [68]
CocoaMQTT(debug): variableHeader something
CocoaMQTT(debug): payload something
CocoaMQTT(debug): =============================================================
CocoaMQTT(debug): socket wrote data 0
CocoaMQTT(debug): socket disconnected
[TRACE] [didDisconnect]: Error Domain=NSPOSIXErrorDomain Code=54 "Connection reset by peer" UserInfo={NSLocalizedDescription=Connection reset by peer, NSLocalizedFailureReason=Error in read() function}
[TRACE] [didStateChangeTo]: new state: disconnected`
The text was updated successfully, but these errors were encountered: