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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Connect Kepware and Thingworx

Sathishkumar_C
17-Peridot

Connect Kepware and Thingworx

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

 

ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

3 REPLIES 3

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

 

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

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

Announcements


Top Tags