novastone-media / MQTT-Client-Framework

iOS, macOS, tvOS native ObjectiveC MQTT Client Framework
Other
1.84k stars 459 forks source link

为什么显示一直在链接链接关闭 #618

Closed thinkofyou002 closed 10 months ago

thinkofyou002 commented 10 months ago

2023-09-20 09:34:01.661022+0800 MQTTChat[67222:9358144] 连接正在关闭 2023-09-20 09:34:01.661107+0800 MQTTChat[67222:9358144] [MQTTSession] closeWithDisconnectHandler:0x0 2023-09-20 09:34:01.661150+0800 MQTTChat[67222:9358144] [MQTTSession] closeInternal 2023-09-20 09:34:01.661188+0800 MQTTChat[67222:9358144] [MQTTCFSocketTransport] close 2023-09-20 09:34:01.661418+0800 MQTTChat[67222:9358144] [MQTTSessionManager] eventCode: connection closed (2) (null) 2023-09-20 09:34:01.661466+0800 MQTTChat[67222:9358144] 连接已经关闭 [self.manager connectTo:@"x xdddddd" tls:NO keepalive:60 clean:true auth:true user:@"emqx_u" pass:@"public" willTopic:nil will:nil willQos:nil willRetainFlag:FALSE withClientId:@"92829184"]; } else { [self.manager connectToLast]; }