MQTT-Client-Framework
MQTT-Client-Framework copied to clipboard
Client cann't receive message when the number of offline messages has reached ‘max_mqueue_len’
The server has large pool messages, The number of offline messages has reached ‘max_mqueue_len’, MQTTClient can connected success, but can't receive message!
Connecting to the same server and other platforms is normal, this problem has never occurred, ex: Android, Web ...
Environment
- Operating system: iOS
- Software version: all
- Package Manager: Cocoapods
- MQTTClient version: 0.15.3
- MQTT Broker used: EMQX 3.2.2
The server's config zone.external.max_mqueue_len is default 1000
Session(xxx, clean_start=false, expiry_interval=1296000, subscriptions_count=331, max_inflight=32, inflight=32, mqueue_len=1000, mqueue_dropped=4013, awaiting_rel=0, deliver_msg=29601, enqueue_msg=32706, created_at=1587007794)
Connected successfully, sub successfully and can send messages sucessfully except receive message
It has happened many times, many users
help!!
我们这边也是这个情况,看日志和现象我们这边飞行队列里都是发送不出去的消息,这些消息占满了飞行队列导致没法再接收消息,通过调小飞行队列最大值,可以复现了现象,具体为什么队列消息不消化定位不到问题。
我们决定放弃这个库了,没人维护