HiveMQ Cloud Connection from Red Lion

I’ve been trying to get a red lion hmi to publish to hivemq cloud and am having issues. It will connect and publish to Mosquitto with no issues but for some reason fails with hivemq. I’ve included the diagnostic dump from the red lion below. I am unsure why it won’t publish, any thoughts?

mqtt: connecting to host mqtt://080dcab674a74b87811671532fa1f68a.s2.eu.hivemq.cloud on 20.79.70.109

Cert is *.s2.eu.hivemq.cloud with alert of 0

Cert passed

mqtt: connect

mqtt: send:

244A770E : 0000 : 10 7B 00 04 4D 51 54 54 04 C6 17 70 00 17 72 65 .{…MQTT…p…re

244A771E : 0010 : 64 6C 69 6F 6E 2D 63 6C 69 65 6E 74 2D 30 36 2D dlion-client-06-

244A772E : 0020 : 39 30 2D 63 38 00 22 73 70 42 76 31 2E 30 2F 66 90-c8."spBv1.0/f

244A773E : 0030 : 6F 72 6C 6D 71 74 74 2F 4E 44 45 41 54 48 2F 61 orlmqtt/NDEATH/a

244A774E : 0040 : 6F 5F 62 61 74 74 65 72 79 00 1B 12 19 0A 05 62 o_battery…b

244A775E : 0050 : 64 53 65 71 10 A0 8D 06 18 80 80 80 80 80 4F 20 dSeq…O

244A776E : 0060 : 08 58 C0 B0 A3 60 00 08 66 6F 72 6C 6D 71 74 74 .X…`…forlmqtt

244A777E : 0070 : 00 0B 46 40 73 6B 33 6E 5E 37 37 37 31 …F*********1

mqtt: recv:

241938B0 : 0000 : 20 02 00 05 …

mqtt: connecting to host mqtt://080dcab674a74b87811671532fa1f68a.s2.eu.hivemq.cloud on 20.79.70.109

Cert is *.s2.eu.hivemq.cloud with alert of 0

Cert passed

mqtt: connect

mqtt: send:

244A770E : 0000 : 10 7B 00 04 4D 51 54 54 04 C6 17 70 00 17 72 65 .{…MQTT…p…re

244A771E : 0010 : 64 6C 69 6F 6E 2D 63 6C 69 65 6E 74 2D 30 36 2D dlion-client-06-

244A772E : 0020 : 39 30 2D 63 38 00 22 73 70 42 76 31 2E 30 2F 66 90-c8."spBv1.0/f

244A773E : 0030 : 6F 72 6C 6D 71 74 74 2F 4E 44 45 41 54 48 2F 61 orlmqtt/NDEATH/a

244A774E : 0040 : 6F 5F 62 61 74 74 65 72 79 00 1B 12 19 0A 05 62 o_battery…b

244A775E : 0050 : 64 53 65 71 10 A0 8D 06 18 80 80 80 80 80 4F 20 dSeq…O

244A776E : 0060 : 08 58 C0 B0 A3 60 00 08 66 6F 72 6C 6D 71 74 74 .X…`…forlmqtt

244A777E : 0070 : 00 0B 46 40 73 6B 33 6E 5E 37 37 37 31 …F*********1

mqtt: disconnect

mqtt: backing off for 20

mqtt: connecting to host mqtt://080dcab674a74b87811671532fa1f68a.s2.eu.hivemq.cloud on 20.79.70.109

Cert is *.s2.eu.hivemq.cloud with alert of 0

Cert passed

mqtt: connect

mqtt: send:

244A770E : 0000 : 10 7B 00 04 4D 51 54 54 04 C6 17 70 00 17 72 65 .{…MQTT…p…re

244A771E : 0010 : 64 6C 69 6F 6E 2D 63 6C 69 65 6E 74 2D 30 36 2D dlion-client-06-

244A772E : 0020 : 39 30 2D 63 38 00 22 73 70 42 76 31 2E 30 2F 66 90-c8."spBv1.0/f

244A773E : 0030 : 6F 72 6C 6D 71 74 74 2F 4E 44 45 41 54 48 2F 61 orlmqtt/NDEATH/a

244A774E : 0040 : 6F 5F 62 61 74 74 65 72 79 00 1B 12 19 0A 05 62 o_battery…b

244A775E : 0050 : 64 53 65 71 10 A0 8D 06 18 80 80 80 80 80 4F 20 dSeq…O

244A776E : 0060 : 08 58 C0 B0 A3 60 00 08 66 6F 72 6C 6D 71 74 74 .X…`…forlmqtt

244A777E : 0070 : 00 0B 46 40 73 6B 33 6E 5E 37 37 37 31 …F*********1

mqtt: recv:

241938B0 : 0000 : 20 02 00 05 …

mqtt: connecting to host mqtt://080dcab674a74b87811671532fa1f68a.s2.eu.hivemq.cloud on 20.79.70.109

Cert is *.s2.eu.hivemq.cloud with alert of 0

Cert passed

mqtt: connect

mqtt: send:

244A770E : 0000 : 10 7B 00 04 4D 51 54 54 04 C6 17 70 00 17 72 65 .{…MQTT…p…re

244A771E : 0010 : 64 6C 69 6F 6E 2D 63 6C 69 65 6E 74 2D 30 36 2D dlion-client-06-

244A772E : 0020 : 39 30 2D 63 38 00 22 73 70 42 76 31 2E 30 2F 66 90-c8."spBv1.0/f

244A773E : 0030 : 6F 72 6C 6D 71 74 74 2F 4E 44 45 41 54 48 2F 61 orlmqtt/NDEATH/a

244A774E : 0040 : 6F 5F 62 61 74 74 65 72 79 00 1B 12 19 0A 05 62 o_battery…b

244A775E : 0050 : 64 53 65 71 10 A0 8D 06 18 80 80 80 80 80 4F 20 dSeq…O

244A776E : 0060 : 08 58 C0 B0 A3 60 00 08 66 6F 72 6C 6D 71 74 74 .X…`…forlmqtt

244A777E : 0070 : 00 0B 46 40 73 6B 33 6E 5E 37 37 37 31 …F*********1

mqtt: disconnect

mqtt: backing off for 80

I am having the same problem, did you find a solution?

Hello @jmmckean ,

Thank you for the outreach, and for the interest in MQTT!

One of the first areas that we recommend verifying when seeing connection failures with HiveMQ Cloud is to ensure that the TLS/SSL configuration is properly set for the connecting client. HiveMQ Cloud utilizes Let’s Encrypt certificates, which may need to be supplied directly to the connecting client for TLS/SSL authentication. The certificate itself can be obtained from our Frequently Asked Questions section here, or directly downloaded from this link.

Additionally, I would like to see if it possible to provide the configuration details for the connecting client, or the connection implementation itself if available.

Best,
Aaron from the HiveMQ Team