# MQTT on bluemix doesn't work

**URL:** <https://discourse.nodered.org/t/mqtt-on-bluemix-doesnt-work/44195>\
**Category:** General\
**Created:** [14 April 2021 19:11 UTC](https://discourse.nodered.org/t/mqtt-on-bluemix-doesnt-work/44195 "2021-04-14T19:11:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HZB](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@HZB](https://discourse.nodered.org/u/HZB)\
**Post date:** [14 April 2021 19:11 UTC](https://discourse.nodered.org/t/mqtt-on-bluemix-doesnt-work/44195/1 "2021-04-14T19:11:56Z")

</div>

I am using [test.mosquitto.org](http://test.mosquitto.org) for MQTT. It was working perfectly fine. Then i redeploy the node-red on bluemix. After that MQTT is down. It's keep on showing connecting

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/3/4312a394dd95177843bb845fb7017127cbce78be.png)

I have another node red instance running from Raspberry Pi it's also showing me connecting.

---

<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:** [14 April 2021 20:14 UTC](https://discourse.nodered.org/t/mqtt-on-bluemix-doesnt-work/44195/2 "2021-04-14T20:14:18Z")

</div>

Have you specified a Client ID in the MQTT broker node? If so then have you got that same id in both flows? A client ID can only have one connection open at a time so if you try to connect twice it will keep flicking between the two, though I don't know if that would give quite the symptom you are seeing. On the Pi, stop node-red then start it in a terminal and see what it is saying. If you have used the same client id the simplest thing is to clear that field on one of them and node-red will automatically create a unique one for you.

---

<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:** [13 June 2021 20:14 UTC](https://discourse.nodered.org/t/mqtt-on-bluemix-doesnt-work/44195/3 "2021-06-13T20:14:54Z")

</div>

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