Skip to main content
4-Participant
February 26, 2021
Solved

Kepware Server Connection to ThingWorx failed

  • February 26, 2021
  • 1 reply
  • 1457 views

I am new with TWX so not sure if perhaps this is a common mistake but I installed and

configured TWX foundation server according to manual and is working fine,  if I

simulate data within platform it works fine, but when trying to connect to external data via

KS, error "could not initialize  secure socket connection" appears.   

TWX Foundation in 9.1, KS 6.9,  OS W2019 Server VM

DA_9785642_0-1614352008444.png

 

Thanks a lot for your help

Diego

Best answer by PaiChung

Check for a few things

is the appkey still valid, did it expire?

what account is associated with the appkey does it have enough rights to do the connections and transmit data (I know often Administrator is used, which is not a best practice but could help with eliminating this issue)

For resource it says /Thingworx try /Thingworx/WS

try using 127.0.0.1 vs. Localhost

I assume Thingworx/Tomcat is on port 8080 no certificate/no ssl

Could set the two 'trust' ones to Yes as something to try but it shouldn't impact anything.

Since it couldn't establish any connection most likely this isn't the issue but do you have an actual industrial connection thing in Thingworx named: 'IndustrialGateway'?

 

Here is an article with steps: https://www.ptc.com/en/support/article/CS279234 

1 reply

PaiChung22-Sapphire IAnswer
22-Sapphire I
February 26, 2021

Check for a few things

is the appkey still valid, did it expire?

what account is associated with the appkey does it have enough rights to do the connections and transmit data (I know often Administrator is used, which is not a best practice but could help with eliminating this issue)

For resource it says /Thingworx try /Thingworx/WS

try using 127.0.0.1 vs. Localhost

I assume Thingworx/Tomcat is on port 8080 no certificate/no ssl

Could set the two 'trust' ones to Yes as something to try but it shouldn't impact anything.

Since it couldn't establish any connection most likely this isn't the issue but do you have an actual industrial connection thing in Thingworx named: 'IndustrialGateway'?

 

Here is an article with steps: https://www.ptc.com/en/support/article/CS279234