# (SOLVED) Connection Issues with Cloud Broker

**URL:** <https://community.hivemq.com/t/solved-connection-issues-with-cloud-broker/649>\
**Category:** HiveMQ Cloud\
**Created:** [July 28, 2021, 5:13pm UTC](https://community.hivemq.com/t/solved-connection-issues-with-cloud-broker/649 "2021-07-28T17:13:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![VRomanov](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.hivemq.com/vromanov/32/172_2.png) [@VRomanov](https://community.hivemq.com/u/VRomanov)\
**Post date:** [July 28, 2021, 5:13pm UTC](https://community.hivemq.com/t/solved-connection-issues-with-cloud-broker/649/1 "2021-07-28T17:13:51Z")

</div>

I’m looking to build a technical demo of the HiveMQ Cloud Broker. I’m using an Opto 22 groove EPIC PAC with full Ignition v8.0.16.

I’ve successfully connected to a remote broker (on the cloud) over TCP. However, the connection does not establish itself to the HiveMQ managed cloud broker over TLS. It’s also important to note that when I connect over MQTT.fx to the same cloud broker, I’m able to publish and subscribe to one message before getting disconnected.

Any solutions?

Thank you,  
Vlad

---

<div class="post-metadata">

**Author:** ![michael\_w](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.hivemq.com/michael_w/32/200_2.png) [@michael\_w](https://community.hivemq.com/u/michael_w)\
**Post date:** [July 29, 2021, 9:12am UTC](https://community.hivemq.com/t/solved-connection-issues-with-cloud-broker/649/2 "2021-07-29T09:12:25Z")

</div>

HI @VRomanov,

I’m not so familiar with Opto 22 groove EPIC PAC, maybe this [video](https://www.youtube.com/watch?v=xyCX-3uBYfU) can help configuring it correctly (timestamp when the Opto 22 is configured: 5:00). Though the Opto 22 used in the video is an “Opto 22 groov Rio” but I hope there aren’t so big differences.

Just one possible issue that sometimes happen, you changed the port to 8883 for the TLS connection to HiveMQ cloud right?

As for the MQTT.fx issue, did you follow the guide in the “Getting started” section, I just tested it and it works.

 ![Bildschirmfoto 2021-07-29 um 11.10.12](https://canada1.discourse-cdn.com/flex035/uploads/hivemq1/original/1X/e222acfde2f8de61d20d8879b6458d3f8a688fd5.png)

Hope this already helps, if not you know where you can find us 😉

Greetings,  
Michael from the HiveMQ team

---

<div class="post-metadata">

**Author:** ![VRomanov](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.hivemq.com/vromanov/32/172_2.png) [@VRomanov](https://community.hivemq.com/u/VRomanov)\
**Post date:** [July 30, 2021, 5:05pm UTC](https://community.hivemq.com/t/solved-connection-issues-with-cloud-broker/649/3 "2021-07-30T17:05:58Z")

</div>

Hi Michael,

I believe that you misunderstood my original statement.

I’m running Ignition on the EPIC; I’m using the Ignition MQTT Publisher to send tags to the cloud broker. I’m able to connect to a local non-TLS broker without any issues. I’ve configured the cloud broker configuration per the instructions provided and it’s unable to connect.

Once again, I believe that you’re not understanding the issue I’ve described.

I am able to connect over MQTT.fx and read a single message received. The configuration is definitely correct. The issue is that after that message, the broker disconnects. I’m not able to send or receive a second message from the broker.

Please let me know what else to try.  
Vlad

---

<div class="post-metadata">

**Author:** ![VRomanov](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.hivemq.com/vromanov/32/172_2.png) [@VRomanov](https://community.hivemq.com/u/VRomanov)\
**Post date:** [August 12, 2021, 1:32pm UTC](https://community.hivemq.com/t/solved-connection-issues-with-cloud-broker/649/4 "2021-08-12T13:32:26Z")

</div>

Hi, I’d like to get a resolution to the above. Any advice on how to troubleshoot this?

---

<div class="post-metadata">

**Author:** ![michael\_w](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.hivemq.com/michael_w/32/200_2.png) [@michael\_w](https://community.hivemq.com/u/michael_w)\
**Post date:** [August 12, 2021, 2:05pm UTC](https://community.hivemq.com/t/solved-connection-issues-with-cloud-broker/649/5 "2021-08-12T14:05:25Z")

</div>

Hi @VRomanov,

for the “EPIC with Ignition” topic I would redirect you to the [Opto22 forum](https://forums.opto22.com/) as they should be able to help you resolve this issue faster.

As for the MQTT.fx issue as I wasn’t able to reproduce it we have to debug here to find the cause of what you are seeing:

- what MQTT.fx version are you using, I used 1.7.1 → then I can try it again with that version
- do you by chance try to subscribe to the “broker status”? That’s the only time I could create a exception where the client is disconnected
- what are the logs of MQTT.fx saying what happens, maybe they already give a clue why it doesn’t work
- if the logs of MQTT.fx don’t help can you make a Wireshark capture of the communication when you connect the client until the client is forcefully disconnected?

Greetings,  
Michael

---

<div class="post-metadata">

**Author:** ![hivemq-support](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.hivemq.com/hivemq-support/32/357_2.png) [@hivemq-support](https://community.hivemq.com/u/hivemq-support)\
**Post date:** [August 18, 2021, 4:14pm UTC](https://community.hivemq.com/t/solved-connection-issues-with-cloud-broker/649/6 "2021-08-18T16:14:52Z")

</div>

Hi @VRomanov,

Our cloud team was able to identify and resolve the cause for the behaviour you saw.  
It is now working as expected again.

Thank you for reaching out,  
Florian.
