In loop getting connected and disconnected from MQ

4 years 3 months ago #3813 by ckbasak
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,

Please Log in or Create an account to join the conversation.

4 years 3 months ago #3814 by EasyIoT

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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.191 seconds