Skip to main content
17-Peridot
February 13, 2023
Solved

Connect Kepware and Thingworx

  • February 13, 2023
  • 3 replies
  • 1652 views

Kepware and Thingworx installed on separate server.

Getting following logs in Kepware while trying to connect to Thingworx (9.3.4).

 

Date Time Level Source Event
2/13/2023 12:09:24 AM Debug ThingWorx Diagnostics [WARN] 2023-02-13 06:09:24,476 SDK Version: 2.2.7
2/13/2023 12:09:24 AM Debug ThingWorx Diagnostics [WARN] 2023-02-13 06:09:24,476 TLS Library: OpenSSL
2/13/2023 12:09:24 AM Debug ThingWorx Diagnostics [WARN] 2023-02-13 06:09:24,476 TLS Library Version: 1.1.1d-1
2/13/2023 12:09:46 AM Debug ThingWorx Diagnostics [ERROR] 2023-02-13 06:09:45,500 Error intializing socket connection. Err = 10060
2/13/2023 12:09:46 AM Debug ThingWorx Diagnostics [ERROR] 2023-02-13 06:09:45,500 twWs_Connect: Error restarting socket. Error 0
2/13/2023 12:09:46 AM Debug ThingWorx Diagnostics [ERROR] 2023-02-13 06:09:45,501 twApi_Connect: Max number of connect retries: 1, has been reached
2/13/2023 12:09:46 AM Error ThingWorx Native Interface Connection to ThingWorx failed. | Platform = uewhcc1tw.com:8443/Thingworx/WS, error = could not initialize a secure socket connection.
2/13/2023 12:09:46 AM Debug ThingWorx Diagnostics [ERROR] 2023-02-13 06:09:45,501 twMessage_Send: Error sending Message with RequestId 81
2/13/2023 12:09:46 AM Debug ThingWorx Diagnostics [WARN] 2023-02-13 06:09:45,502 sendCtlFrame: Not connected
2/13/2023 12:09:46 AM Debug ThingWorx Diagnostics [WARN] 2023-02-13 06:09:45,502 msgHandlerOnClose: WEBSOCKET CLOSED

 

 

Able open Thingworx URL in Kepware system.  There is no log on Thingworx. How to resolve this error?

 

Sathishkumar_C_0-1676269237041.png

 

Best answer by Sathishkumar_C

Administrator application key given at Kepware Configuration. It started working as expected.

3 replies

17-Peridot
February 13, 2023

Disabled proxy configuration. Now, connected to Thingworx. But, we are getting following error,

 

[ERROR] 2023-02-13 07:16:43,909 subscribedPropertyUpdateTask - Error getting subscribed properties

 

17-Peridot
February 13, 2023

Kepware thing (Industrial Connection) is connected but Remote Things not connected. Remote properties are in UNKNOWN quality.

Sathishkumar_C17-PeridotAuthorAnswer
17-Peridot
February 13, 2023

Administrator application key given at Kepware Configuration. It started working as expected.