0
Under review

MQTT Interface Error when connecting to HiveMQ Cloud

Ahmo 4 days ago in General Questions updated by Support 38 minutes ago 5

I'm having trouble getting Realvirtual MQTT to connect to HiveMQ Cloud. When I test with Python code, everything works perfectly; the connection is established, and I can publish data. However, Realvirtual MQTT reports an error specifically when using HiveMQ Cloud. I've tested both with and without the security option enabled. This issue doesn't occur when using a local MQTT Mosquitto broker.


MQTTInterface

Image 1365




Error


Image 1367

New fresh Unity project created!
Tested with the Mosquitto test broker "test.mosquitto.org" and port 1883, but the same error occurs.
I deleted everything in the Session folder, but nothing helps.
I do not have this problem when communicating with Python code — only with the Unity realvirtual MQTT interface.
Also, I do not have problem when using the realvirtual MQTT connection with a local broker for example 127.0.0.1 and port 1883

test.mosquitto.org

Image 1368



Error

Image 1369

Under review

Hi Ahmo,

I am the interface expert at realvirtual.io but I am currently in vaction (until end of next week).

Can you send me your test project and I will be able to check here from remote.

Please send your full project to https://realvirtual.io/send/ (please zip it and delete the library folder).

Best regards
Thomas

Hi,

I checked within the project you have send the Test Mosquitto Server and it worked as expected. Can you please check this setting if it works on your side?

Image 1370


I tested it and the same problem occurs
The real problem occurs when it needs to import topics.

mosquitto broker hierarchy

Image 1372




It can connect

Image 1371




But it cannot import

Image 1376



Full error after pressing the Import Signals button

Image 1378



Did you use my BEST.HTTP package or yours?
Is it possible that for some reason it cannot store data on my Host PC?
Or am I doing something wrong?

Is there a reason that you are using old realvirtual version - we are currently having an improved Beta without BestHTTP but it is a little bit risky to use this with the old 2022 version?