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

MQTT problems

Highlighted
Newbie

MQTT problems

I'm running TW 7.2.0-b155 on AWS, which was installed for me by Thingworx.

I'm attempting get data from MQTT into Thingworx.  I verified that the data is reaching my broker and can be subscribed to. However the data is not showing up in Thingworx.

I've checked that the topic names match in all places.

For one of my things, lastConnection is "2017-08-28 11:10:33.833", isConnected is false and lastUpdated (set to the eventTime) is really old.

1) How can I tell if Thingworx is connected to the broker?

2) How can I tell if Thingworx is receiving messages?

Is there a log setting in the Monitor that would allow me to see that information?

Thanks for the help,

Dan

6 REPLIES 6
Highlighted

Re: MQTT problems

Hi, Dan.

I don't know if you've seen this article, but maybe it will help guide you.

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS246701

Let us know if you need some additional pointers.

-- Craig A.

Highlighted

Re: MQTT problems

No..these connections were working and stopped last week with no known config changes to Thingworx.

Does Thingworx log when it opens a connection with an MQTT Broker? And if so, where can I find that information?

Dan

Highlighted

Re: MQTT problems

Hi Dan,

Did you check the CommunicationLog? It may give you some hint.

Br,

Anna

Highlighted

Re: MQTT problems

The comms log is set to debug and it is quite literally empty.

Thoughts,

Dan

Highlighted

Re: MQTT problems

Hi Dan Mahoney,

Could you please share your MQTT thing configuration page as shown below:

Highlighted

Re: MQTT problems

MQTT-config.png

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!