Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] An error occurs when a received message contains a topic alias #1398

Closed
tigercl opened this issue Aug 7, 2023 · 1 comment · Fixed by #1444 or #1445
Closed

[Bug] An error occurs when a received message contains a topic alias #1398

tigercl opened this issue Aug 7, 2023 · 1 comment · Fixed by #1444 or #1445
Assignees
Labels
bug Something isn't working CLI MQTTX CLI
Milestone

Comments

@tigercl
Copy link

tigercl commented Aug 7, 2023

What did I do

I use MQTTX CLI to subscribe to a topic. When the server forwards a message containing the topic alias to MQTTX CLI, the CLI will print the following error log:

1161690970213_ pic

And, when I set a topic alias, and send multiple messages with the --multiline option, each message will contain both the topic and the topic alias:

mqttx pub --topic mytopic --topic-alias 1 --stdin --multiline

In fact, except for the first message, all subsequent messages only need to contain the topic alias.

Expected

MQTTX CLI should receive messages with the topic alias normally.

Environment

  • OS: OS version, e.g. macOS Big Sur 11.1
  • MQTTX version, e.g. v1.9.4
@tigercl tigercl added the bug Something isn't working label Aug 7, 2023
@github-project-automation github-project-automation bot moved this to Backlog in MQTTX Aug 7, 2023
@ysfscream ysfscream self-assigned this Aug 7, 2023
@ysfscream ysfscream added the CLI MQTTX CLI label Aug 7, 2023
@ysfscream ysfscream moved this from Backlog to TO DO in MQTTX Sep 18, 2023
@ysfscream ysfscream added this to the v1.9.7 milestone Sep 26, 2023
@ni00 ni00 linked a pull request Sep 28, 2023 that will close this issue
2 tasks
@ni00 ni00 linked a pull request Sep 28, 2023 that will close this issue
2 tasks
@github-project-automation github-project-automation bot moved this from TO DO to Done in MQTTX Sep 28, 2023
@ysfscream ysfscream reopened this Sep 29, 2023
@github-project-automation github-project-automation bot moved this from Done to In Progress in MQTTX Sep 29, 2023
@ysfscream ysfscream modified the milestones: v1.9.7, v1.9.8 Dec 8, 2023
@ysfscream
Copy link
Member

Thank you for the feedback. The issue should be fixed in v1.9.7. Please feel free to test and provide additional feedback.

@github-project-automation github-project-automation bot moved this from In Progress to Done in MQTTX Dec 11, 2023
@ysfscream ysfscream modified the milestones: v1.9.8, v1.9.7 Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CLI MQTTX CLI
Projects
Status: Done
3 participants