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
Hi @bkupidura - Thank you for finding and raising this issue!
I looked into this and it's because MQTT v3 has a different specification for the (very few) Connack return codes it provides. In this case the broker was sending the error correctly, but the byte value was incorrect for v3.
I have put together a v5 to v3 code map which seems to fix this issue, and is released in v2.1.4. Give it a try and see if it works as you would expect.
Im investigeting new (v2) auth-ledger hook, but i believe that there is some issue there.
Looks like golang-paho is not receiving
ErrBadUsernameOrPassword
packet when auth is failing on broker side.Simple code to reproduce:
I would expect that paho ConnectToken will return error, but it looks like from paho perspective connection was successfull.
The text was updated successfully, but these errors were encountered: