Identifier rejected error when connecting to broker
kulkarniatharv opened this issue · comments
Hey @kulkarniatharv, the first error suggests that broker refuses the connection and that usually happens when ClientID is empty and clean session flag is false. Neither of that should be the case here as ClientID is generated and clean session is always set to true.
Which broker are you using? Are you sure the broker is running and operational?
The second error is because with go modules by default go get
and go install
now fetch the latest release (here v0.1.1) and I haven't gotten to finalize v0.2 to release it.
Please install the tool via go install github.com/krylovsk/mqtt-benchmark@main
for now.
@krylovsk The broker that I'm using is HiveMQ CE. Yes, the broker is operational.
The new tool that you mentioned go install github.com/krylovsk/mqtt-benchmark@main
seems to resolve all the errors mentioned above.
Thanks!