Unable to Connect MQTT Thing to External Broker (ThingWorx 10.0.1 + MQTT Extension 4.0.0)
Hi everyone,
I am trying to configure an MQTT Thing in ThingWorx 10.0.1-b202 using MQTT Extension 4.0.0.
I followed the steps documented in the ThingWorx Help Center:
https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Extensibility/MQTT.html
Environment
-
ThingWorx Version: 10.0.1-b202
-
MQTT Extension: 4.0.0
-
MQTT Broker: demo.thingsboard.io
Steps Performed
-
Installed the MQTT Extension.
-
Created a Thing using the MQTT Thing template as described in the documentation.
-
Configured the MQTT broker as demo.thingsboard.io.
-
Created a property on the Thing and configured the corresponding mapping in the Mapping infotable under the Configuration section.
Issues
-
The MQTT Thing never connects to the broker.
-
When I try to update the property value under the Properties tab, I receive the following error:
-
"Error occurred: Unexpected error occurred on server."
-
-
The Application Log shows the following messages:
Unable to close client in MQTT Thing ITH.MQTT.TestThing : Connect already in progress
Unable to connect to MQTT in [ITH.MQTT.TestThing] : Timed out waiting for a response from the server
Questions
-
Has anyone encountered this issue while connecting to an external MQTT broker such as demo.thingsboard.io?
-
Are there any additional configuration steps required for MQTT Extension 4.0.0 with ThingWorx 10.0.1?
-
Is there any known compatibility issue between this ThingWorx version and the MQTT Extension version I am using?
Any suggestions or troubleshooting steps would be greatly appreciated.
Thank you!

