Skip to main content
12-Amethyst
August 12, 2020
Question

MQTT - Not getting data into TW subscribed message property when publishing from different TW server

  • August 12, 2020
  • 1 reply
  • 848 views

We are able to publish and subscribe MQTT messages from the same Thingworx server but when we are trying to publish from TW server A and subscribe from TW server B, it is not working. As it is a PoC we have installed MQTT broker in 2 Thingworx servers. We could able to connect MQTT broker from both servers. The topic remain same both the servers. 

Tried with Mosquito and Rabbit MQTT brokers. All the TW MQTT configuration properties are default.

 

Thingworx Server 8.5.2 (http)

Operating System: Redhat Linux

MQTT Extension 2.1.2

Broker MQTT: Tried with Mosquito and Rabbit MQTT

Thing Template: MQTT

 

FYI, if am publishing by using mosquito broker's command mosquito_pub command, am able to receive the message into TW.

 

Could you please help me here. 

1 reply

Community Manager
August 19, 2020

Hi @nmohammed.

 

Which version of ThingWorx are you running?

 

Have you checked for the possibility that the firewall is blocking the connection between servers?

 

Regards.

 

--Sharon