ckbasak wrote: I am getting connected and disconnected from MQTT server and this is going on in loop. Below is the output in serial terminal.
connected to MQTT server
disconnected. try to reconnect...
But the same code is running in different account.
So, the problem may be in my account. Please help me to resolve this issue.
Thanks,
Are your username/password correct. Also, do you configured your modules and parameters correctly? If you publish to incorrect topic, you will be automatically disconnected.