# MQTT Disconected using AWS IoT core

**URL:** <https://discourse.nodered.org/t/mqtt-disconected-using-aws-iot-core/48668>\
**Category:** General\
**Created:** [20 July 2021 16:08 UTC](https://discourse.nodered.org/t/mqtt-disconected-using-aws-iot-core/48668 "2021-07-20T16:08:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabri](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@fabri](https://discourse.nodered.org/u/fabri)\
**Post date:** [20 July 2021 16:08 UTC](https://discourse.nodered.org/t/mqtt-disconected-using-aws-iot-core/48668/1 "2021-07-20T16:08:21Z")

</div>

Hi everybody!!

I'm using IoT core from AWS to receive data with MQTT at NodeRed. However, my MQTT nodes just keep disconnected every time I activate my certificates from AWS IoT Core.

The first time I've created the mqtt nodes, they worked. But later they keep disconnected. I look into my AWS thing, certificates, policy, and testing them on the AWS page and they work normally. The problem might be at NodeRed.

---

<div class="post-metadata">

**Author:** ![fabri](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@fabri](https://discourse.nodered.org/u/fabri)\
**Post date:** [20 July 2021 17:06 UTC](https://discourse.nodered.org/t/mqtt-disconected-using-aws-iot-core/48668/2 "2021-07-20T17:06:00Z")

</div>

I just found that if I uncheck the "MQTT node" =\> "Edid server" =\> "Use clean session" it turns connected.  
What do these options work for?  
 ![Captura de pantalla 2021-07-20 130424](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/1/2113d197200ad757064d8283c2790d68bdbf06e3.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 September 2021 17:06 UTC](https://discourse.nodered.org/t/mqtt-disconected-using-aws-iot-core/48668/3 "2021-09-18T17:06:11Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
