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

Clientid not checked when create new client connection #1619

Closed
mxchipwanges opened this issue Jan 22, 2024 · 3 comments
Closed

Clientid not checked when create new client connection #1619

mxchipwanges opened this issue Jan 22, 2024 · 3 comments
Assignees
Labels

Comments

@mxchipwanges
Copy link

Describe the bug
Two client connected with the same client id

Expected behavior
Close the previous connection before a new connection with same client id created.

Actual Behavior
Two client can be connected.

To Reproduce

  1. Start broker: nanomq start
  2. Client1 connet with MQTTX, clientid: mqttx_1234
  3. Client2 connet with MQTTX, clientid: mqttx_1234

Environment Details

  • NanoMQ nanomq-0.19.5-linux-armhf-sqlite.deb
  • Operating system and version: STOpenLinux

Client SDK
MQTTX
SSL/TLS disabled

Additional context

@JaylinYu JaylinYu self-assigned this Jan 22, 2024
@JaylinYu JaylinYu added bug Investigation quiestion remains ambiguous and removed Investigation quiestion remains ambiguous labels Jan 22, 2024
@JaylinYu
Copy link
Member

this is already fixed in master branch

@mxchipwanges
Copy link
Author

When will the next release?

@JaylinYu
Copy link
Member

Tomorrow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants