You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to connect a client that doesn't have permissions, setting the last will message option, and althought the validation works perfectly, the broker publish the LWT message.
I think that it is a bug, because the client wasn't connected to the broker.
What did you expect to happen?
I expect that the broker doesn't send LWT message because the client was not connected.
How can we reproduce it (as minimally and precisely as possible)?
Try to connect to a broker with the MQTTX.app , set the LWT options ( topic:any that has a subscriber to could see the LWT that is published, payload:any, etc.. ) and set wrong client's options (username, clientid, password).
The subscriber will receive a LWT message of the client that is not connected.
What happened?
I try to connect a client that doesn't have permissions, setting the last will message option, and althought the validation works perfectly, the broker publish the LWT message.
I think that it is a bug, because the client wasn't connected to the broker.
What did you expect to happen?
I expect that the broker doesn't send LWT message because the client was not connected.
How can we reproduce it (as minimally and precisely as possible)?
Try to connect to a broker with the MQTTX.app , set the LWT options ( topic:any that has a subscriber to could see the LWT that is published, payload:any, etc.. ) and set wrong client's options (username, clientid, password).
The subscriber will receive a LWT message of the client that is not connected.
Anything else we need to know?
No response
EMQX version
sysdescr : EMQX
version : 5.0.2
datetime : 2022-08-29T11:37:37.570495507+00:00
uptime : 2 days, 12 hours, 46 minutes, 34 seconds
OS version
Log files
The text was updated successfully, but these errors were encountered: