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

Thingworx 7.1.0 support mqtt?

Highlighted
Newbie

Thingworx 7.1.0 support mqtt?

Hi,

I know thingworx 7.1.0 support mqtt. I understand it is available through MQTT extension, so I download one and install the MQTT extension to my thingworx.But  whenever I make some change at a thing creat by MQTTConnection template and click the save button, it keep saving and can not do anything.

   Thanks in advance.

Tags (1)
16 REPLIES 16

Re: Thingworx 7.1.0 support mqtt?

Remove the extension , restart the tomcat , import the extension and then make a thing and try editing . Let me know if you still face the problem.

Re: Thingworx 7.1.0 support mqtt?

yes it does support mqtt

Re: Thingworx 7.1.0 support mqtt?

But why can't I save my configure change when  I create one thing by MQTTConnection  template? Just like the picture above,  it keeping saving,  but can't n be saved successfully.

Re: Thingworx 7.1.0 support mqtt?

Hi yi huang​,

Are there any errors in the ThingWorx Application logs?

Thanks,

Ankit Gupta

Re: Thingworx 7.1.0 support mqtt?

Hi  Ankit Gupta,

Thank you for reply,  there have some errors and warmings in the Thingworx Application logs like below, But I do not understand what's wrong with this?Do you have any idea?

   Chinese indicates that the response to the server is waiting to be timed out.

    

Re: Thingworx 7.1.0 support mqtt?

Hi Ravi Upadhyay,

I want to try your way, but I can't delete the thing create by MQTTConnection template.  So, I can't remove the extension too. But I will have a try to remove the extension.Do you have any idea, pls let me know.

Thanks you very much!

Re: Thingworx 7.1.0 support mqtt?

And there have the reason  why delete thing failed:

Re: Thingworx 7.1.0 support mqtt?

Yi, the error is quite interesting even though it's true that you can't delete the extension because there are entities depending on it still exist but also you have data store time out error. Are you having issues while editing and saving any other entity?

When you try to edit the MQTT extension entity and save it have you checked the application log during that period? Also do check if the broker is reachable during that time because re-saving the entity will try to re-establish the connection. Which persistence provider do you have with your ThingWorx?

Re: Thingworx 7.1.0 support mqtt?

Hi Sushant Pandey,

I try again and cheked the application log, and there have some error when saving the change:

1、Error occurred while accessing the model provider.

2、Unable to connect to MQTT in [stream_test] : 已连接客户机

3、Unable to process import: Unable to update thing: [1,012] Data store timeout error: [Error occurred while accessing the model provider

     And I can also see the this thing connected to my mosquitto broker as client when I save the modify, but it can't be saved.

Announcements

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