# AWS MQTT 'Disconnected' problem

**URL:** <https://discourse.nodered.org/t/aws-mqtt-disconnected-problem/2272>\
**Category:** General\
**Created:** [14 August 2018 11:54 UTC](https://discourse.nodered.org/t/aws-mqtt-disconnected-problem/2272 "2018-08-14T11:54:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asmaa](https://avatars.discourse-cdn.com/v4/letter/a/91b2a8/32.png) [@Asmaa](https://discourse.nodered.org/u/Asmaa)\
**Post date:** [14 August 2018 11:54 UTC](https://discourse.nodered.org/t/aws-mqtt-disconnected-problem/2272/1 "2018-08-14T11:54:07Z")

</div>

Hi everyone,

I have some issues related to the connection between the mqtt node output and AWS. It seems to work well for a period and then it disconnects without having any modifications done. At the same time I have another http node that sends the data to a website and it continues to get messages without any problem.  
Is there some issues related to the connection between node red and AWS ?  
I've seen in some forums that the clientID shouldn't be specified in the configuration but lately the problem occured again.

Thank you for you time

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [15 August 2018 07:48 UTC](https://discourse.nodered.org/t/aws-mqtt-disconnected-problem/2272/2 "2018-08-15T07:48:05Z")

</div>

What do you see in the node-red log when it fails?

What do you have to do to get it to re-connect?

What do you see in the MQTT log on the remote server?
