Open Gendiaaa opened 1 year ago
No could solve this or explain the reason why ?
Plz any one help
Hi @Gendiaaa
I've edited your issue to properly format the code blocks so they are readable.
It is the broker saying you have a bad clientID or username/password. We cannot tell you what is wrong with them as it is the broker that decides what is valid.
All I can say is check you are setting them to valid values.
My broker is hivemq broker uploaded to amazon aws instance is there are any special setting for the broker that i am missing to set ? I do not know maybe too many request to the broker that could block the client maybe if its the same client name send too many data in short time or trying to reconnect to many times maybe ? I just want if there are any special configuration or parameters to check or edit
Sorry, I cannot help with broker configuration issues. There are too many brokers out there and they all have their own set of requirements.
Hello all i am trying to give my esp32 client a fixed client id but always fails after running for couple of seconds the error code is MQTT_CONNECT_BAD_CLIENT_ID 2 or sometimes comes MQTT_CONNECT_BAD_CREDENTIALS 4 also -2 happens this was the code for reconnect function
after that i changed the function to this
but really i do not know the reason and sometimes i feel the response between the client and the broker is too much slow also