Skip to content

Client cann't receive message when the number of offline messages has reached ‘max_mqueue_len’ #605

@petersom

Description

@petersom

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!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions