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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

MQTT problems

dmahoney
1-Visitor

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.

dmahoney
1-Visitor
(To:CRArko)

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
14-Alexandrite
(To:dmahoney)

Hi Dan,

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

Br,

Anna

dmahoney
1-Visitor
(To:AnnaAn)

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:

dmahoney
1-Visitor
(To:ytella)

MQTT-config.png

Announcements


Top Tags