# Loss of communication between Node-Red and Cumolocity IoT after redeploying flow

**URL:** <https://community.cumulocity.com/t/loss-of-communication-between-node-red-and-cumolocity-iot-after-redeploying-flow/2506>\
**Category:** Forum\
**Tags:** cumulocity-edge, thin-edge-io, device-connectivity, cumulocity\
**Created:** [November 19, 2023, 6:05pm UTC](https://community.cumulocity.com/t/loss-of-communication-between-node-red-and-cumolocity-iot-after-redeploying-flow/2506 "2023-11-19T18:05:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Reiser\_Anthony\_Flores\_Roca](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/reiser_anthony_flores_roca/32/15282_2.png) [@Reiser\_Anthony\_Flores\_Roca](https://community.cumulocity.com/u/Reiser_Anthony_Flores_Roca)\
**Post date:** [November 19, 2023, 6:05pm UTC](https://community.cumulocity.com/t/loss-of-communication-between-node-red-and-cumolocity-iot-after-redeploying-flow/2506/1 "2023-11-19T18:05:33Z")

</div>

Hi everyone!

I currently use Cumolocity IoT (Free Trial) and Node-Red v3.1.0 and I need to communicate my field equipment through node-red and send the information to Cumolocity IoT.

I have reviewed information about sending data via MQTT to Cumolocity IoT and at first I can create devices and even send data to them through Node-Red.

The problem occurs when I make some modification to any other node that has nothing to do with the communication nodes and then when redeploying all the flows in Node RED, the **MQTT OUT node goes from “Connected” to “Connecting”.**

I have tried to use the “Clean Session” option and “QoS=0” considering that there is a problem when disconnecting and connecting again with the credentials, however the problem continues.

#### _Configuration of node FUNCTION in Node Red:_

_msg.payload = “200,distance,meters,20,m”;_  
_return msg;_

#### _Configuration of node MQTT Out in Node Red:_

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/e/a/ea5f5b44fb3b1779ccc65e1ed2bc3f323b9d671a.png)

- **Credentials of User**  
_The user used in this case has all the roles and privileges of Cumolocity IOT_

I thank everyone for their support and I hope you can give me some idea of what is happening.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [May 17, 2024, 6:06pm UTC](https://community.cumulocity.com/t/loss-of-communication-between-node-red-and-cumolocity-iot-after-redeploying-flow/2506/2 "2024-05-17T18:06:29Z")

</div>

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