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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

MQTT problems

dmahoney
1-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
CRArko
17-Peridot
(To:dmahoney)

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.

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

AnnaAn
13-Aquamarine
(To:dmahoney)

Hi Dan,

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

Br,

Anna

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

Thoughts,

Dan

ytella
17-Peridot
(To:dmahoney)

Hi Dan Mahoney,

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

MQTT-config.png

Top Tags