Skip to main content
14-Alexandrite
July 10, 2026
Solved

Unable to Connect MQTT Thing to External Broker (ThingWorx 10.0.1 + MQTT Extension 4.0.0)

  • July 10, 2026
  • 3 replies
  • 64 views

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

  1. Installed the MQTT Extension.

  2. Created a Thing using the MQTT Thing template as described in the documentation.

  3. Configured the MQTT broker as demo.thingsboard.io.

  4. Created a property on the Thing and configured the corresponding mapping in the Mapping infotable under the Configuration section.

Issues

  1. The MQTT Thing never connects to the broker.

  2. When I try to update the property value under the Properties tab, I receive the following error:

    • "Error occurred: Unexpected error occurred on server."

  3. 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!

Best answer by leekhil_kataray

The issue was that outbound traffic for the MQTT ports was not enabled, as the instance is managed by PTC. We raised a support case, and after updating the outbound rules, MQTT is now working properly.

3 replies

14-Alexandrite
July 10, 2026

I tested using the EMQX broker and am still receiving the same error when saving the property; the application logs remain unchanged.

 

Support
July 14, 2026

Hello ​@leekhil_kataray,

 

I hope you are doing well!

 

Based on the Release Compatibility Matrix, the MQTT Extension 4.0.0 version you are using is compatible with ThingWorx 10.0.1, so compatibility does not appear to be the cause of the issue.

 

Please verify that the MQTT installation was properly installed and configured. Also, refer to the information provided in this KB article.

 

Regards,

Abhi

 

leekhil_kataray14-AlexandriteAuthorAnswer
14-Alexandrite
July 21, 2026

The issue was that outbound traffic for the MQTT ports was not enabled, as the instance is managed by PTC. We raised a support case, and after updating the outbound rules, MQTT is now working properly.