Skip to main content
1-Visitor
October 2, 2018
Solved

Kepware Connection to Thingworx 7.x

  • October 2, 2018
  • 1 reply
  • 5407 views

Hi everybody,

 

I have a problem with the connection between Kepware and Thingworx 7.x, and I am running out of ideas. I have set up this previously between Thingworx 8.x and Kepware, but I can´t find how to do it on the older version. 
I have downloaded the Kepserver extension from the marketplace, added it on the composer and generated a Thing based on that ThingTemplate. 

Then I have configured the Project-> Thingworx on Kepware as shown on the image. I know the port is the 8444 since it is the one that I use for connecting to the composer (I have several webservices running on the machine). I have added an AppKey that I created on Thingworx to the Application Key field, and the "Kepware" is the name of the Thing that I created using the Kepware extension as ThingTemplate.

 

After setting it like this, I am getting a "Could not establish a websocket connection" error all the time (second image)

Am I missing something?

 

Regards,
JNanin

Best answer by Rick-Stanley

When you browse to ThingWorx Composer are you using http:// or https:// 

The setting Disable Encryption: Yes means you should be using http://

 

The other thing to check is the appKey is not expired and does not have an extra <cr> at the end. Using copy and paste sometimes adds extra characters. 

1 reply

5-Regular Member
October 2, 2018

When you browse to ThingWorx Composer are you using http:// or https:// 

The setting Disable Encryption: Yes means you should be using http://

 

The other thing to check is the appKey is not expired and does not have an extra <cr> at the end. Using copy and paste sometimes adds extra characters. 

karnoia1-VisitorAuthor
1-Visitor
October 2, 2018

Thank you very much! In all the explanations that I saw, the Disable Encryption had to be "Yes", but on my case that was the problem. I tried changing all the other parameters, adding rules to the firewalls, then taking down the firewalls completely, trusting certificates, etc etc. But I didn't think that on my case I needed the encryption enable.

Thanks again