mochi-mqtt / server

The fully compliant, embeddable high-performance Go MQTT v5 server for IoT, smarthome, and pubsub
MIT License
1.3k stars 223 forks source link

MQTTX cannot use Topic Alias. MQTT5.0 主题别名发送卡住,无法发布主题别名的消息 #381

Closed kason111999 closed 3 months ago

kason111999 commented 8 months ago

MQTTX 测试 image

kason111999 commented 8 months ago

一旦发送了主题别名的消息久卡住,断开也无法断开一年MQTTX ,也无法断开

werbenhu commented 8 months ago

我调试了下,似乎服务端没有收到这个alias的Publish消息,出问题后,MQTTX断开链接,服务端也没有收到包,你用这个 https://github.com/eclipse/paho.mqtt.testing/blob/master/interoperability/client_test5.py 测试看看服务端,有没有可能是MQTTX客户端的问题?

I debugged it, and it seems that the server did not receive the Publish message with this alias. After the issue occurred, MQTTX disconnected, and the server did not receive any packets. Is it possible that the problem lies with the MQTTX client?

werbenhu commented 3 months ago

As the issue is non-reproducible and no feedback has been received for a long time, it is now closed. If further problems arise, please reopen it.