Skip to main content
1-Visitor
January 19, 2016
Question

Has anybody successfully setup the MQTT extension in academic instance yet?

  • January 19, 2016
  • 1 reply
  • 8241 views

Hello,

I recently installed the MQTT extension from the marketplace in the academic instance, but I am unable to use it.

The setup instructions in this thread MQTT support in ThingWorx are great, but my extension is not able to connect to the test.mosquitto.org server. (and not to my own mosquitto server as well)

In the application log the following error appears: Unable to connect to MQTT in [MQTTThing] : MqttException

What does "MqttException" mean?

Is it possible that the port 1883 is blocked in the instance? I tried with different other ports (80, 8080, 25), but none of them worked - is there a port that could be working? (i can adjust it on my mosquitto server)

Thank you very much,

Markus

1 reply

5-Regular Member
January 28, 2016

Hi Markus,

    We are currently working on this subject. We will get back to you as soon as we have an solution.

Thank you,

Adrian

5-Regular Member
March 8, 2016

Also got the same issue, MQTT connect and publish are ok, but once add a subscibe-property mapping, I got "Lost MQTT Connection For [TestMqttConn] : Cause Was MqttException"

Is the problem fixed?

Thanks,

Max

1-Visitor
March 8, 2016

Hi Max,

The extension is currently being modified by the R&D ThingWorx team to have it working on the Linux servers on which the Academic Instances are hosted. We don't have an estimate when it will be available unfortunately, but we will make an update to this post when it will be done.

Please check this support cases on more information on this issue

https://support.ptc.com/search/Pages/results.aspx#Default={"ts":"1457428949763","k":"MQTT","r":[{"n":"TSProductFamilies"…

Thank you,

Veronica