apache / apache/iotdb

[求助]对iotdb的mqtt进行连接, invalid QoS: 3

Open
#8,063 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
115

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.

### Version

docker run -d -p 6667:6667 -p 31999:31999 -p 8181:8181 -p 1883:1883 --name some-iotdb apache/iotdb:latest

### Describe the bug and provide the minimal reproduce step

使用docker启动iot
docker run -d -p 6667:6667 -p 31999:31999 -p 8181:8181 -p 1883:1883 --name some-iotdb apache/iotdb:latest

开启mqtt服务

docker restart 服务

使用http://www.emqx.io/online-mqtt-client进行mqtt连接

后台日志显示invalid QoS: 3

### What did you expect to see?

建立mqtt连接成功或者mqtt的正确的连接方式

### What did you see instead?

![image](https://user-images.githubusercontent.com/40514681/202912592-820f5a11-1ab3-43df-a172-8d54b1fe337c.png)

![image](https://user-images.githubusercontent.com/40514681/202913144-8c60fbb2-cbd5-4d6b-85d4-c648693c9281.png)

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported Docker setup and connecting with the EMQX online MQTT client, then inspect the resulting `invalid QoS: 3` log. Confirm whether the documented MQTT connection method or the server's QoS handling is responsible and verify a successful MQTT connection as the outcome.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.