cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

nmohammed
11-Garnet

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

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 1
slangley
23-Emerald I
(To:nmohammed)

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

Announcements