Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
I am trying to connect kepware to thingworx to display an on off switch and I am having trouble on thingworx property editor editor. I am just wondering what do I put in for Host and thing name? I have also included the error that i am receiving. Event 06/12/2017 16:14:02 Error ThingWorx Native Interface Connection to ThingWorx failed for an unknown reason. | Platform academic.cloud.thingworx.comr:443/Thingworx/WS, error: -1.
Solved! Go to Solution.
Greetings Gary,
To connect Kepware to ThingWorx Server you need to provide the following details in the Kepware Project Properties :
1. Host : It will be the hostname of your ThingWorx Server
2. Port : Port at which ThingWorx is running
3. Application Key : Search for Application Key in ThingWorx Composer for the thing specified in Project Properties
For example i am launching ThingWorx using this URL : http://localhost:8080/Thingworx .
So the host would be localhost and port will be 8080.
Once these properties are updated , the Kepware will again try the connection to ThingWorx Server using above properties .
Regards,
Himesh Rajpal
Hey Gary,
Looks like you may have a small typo: academic.cloud.thingworx.comr:443/Thingworx/WS
Should be .com not .comr
Let me know if this helps,
Thanks!
Milan
I have changed that typo and I'm still having the error message. Is there anything else I can do?
Greetings Gary,
To connect Kepware to ThingWorx Server you need to provide the following details in the Kepware Project Properties :
1. Host : It will be the hostname of your ThingWorx Server
2. Port : Port at which ThingWorx is running
3. Application Key : Search for Application Key in ThingWorx Composer for the thing specified in Project Properties
For example i am launching ThingWorx using this URL : http://localhost:8080/Thingworx .
So the host would be localhost and port will be 8080.
Once these properties are updated , the Kepware will again try the connection to ThingWorx Server using above properties .
Regards,
Himesh Rajpal
Hey Gary,
Can you send me a screenshot of your server settings and the output that ThingWorx gives you to plug into it side by side?
Thanks,
Milan
Hey Gary,
The host should be the address of your ThingWorx server and the thing Name is the name of the thing in ThingWorx that you will use to interface with your kepware server. This information and more can be found using this link:
Have fun!
Andy
Greetings Gary Kehoe,
Following up with you on the original question posted here, can you please indicate if any of the recommendations given above answered this for you?
If any of these posts adequately answered your question, you can mark the reply as the "Correct Answer."
Or, if you are still unresolved on your original question, let us know and we can continue troubleshooting this with you. This feedback is a key step toward ensuring Community users with a similar issue are able to locate the information they need.
Best regards,
Steven M