Article - CS357185
Kepware unable to connect to Thingworx Platform with SSL
Modified: 11-Oct-2022
Applies To
- ThingWorx Kepware Server (legacy) 6.8
- Kepware Server (formerly KEPServerEX) 6.7
Description
- Kepware unable to connect to Thingworx Platform
- Getting below error in Kepware event logs while trying to connect to Thingworx
-
Debug ThingWorx Diagnostics [DEBUG] 2021-11-22 07:07:28,789 twTlsClient_Create: Initializing TLS Client Debug ThingWorx Diagnostics [DEBUG] 2021-11-22 07:07:28,790 twApi_Initialize: Websocket Established after 0 tries Debug ThingWorx Diagnostics [DEBUG] 2021-11-22 07:07:28,790 subscribedPropsMgr_Initialize: Initializing subscribed properties manager Debug ThingWorx Diagnostics [INFO] 2021-11-22 07:07:28,791 subscribedPropsMgr_Initialize: subscribed property manager will not persist offline updates because the offline message directory was not set or the offline message store was disabled Debug ThingWorx Diagnostics [DEBUG] 2021-11-22 07:07:28,797 added <InductrialThingName> to boundList Debug ThingWorx Diagnostics [DEBUG] 2021-11-22 07:07:28,798 twApi_BindThings: not currently connected, only binding things to api Debug ThingWorx Diagnostics [DEBUG] 2021-11-22 07:07:28,798 twMessage_Delete: Deleting BIND Message: 1953 Debug ThingWorx Diagnostics [DEBUG] 2021-11-22 07:07:28,799 twTlsClient_Reconnect: Re-establishing SSL context Debug ThingWorx Diagnostics [DEBUG] 2021-11-22 07:07:28,799 twTlsClient_Connect: Connecting to server Debug ThingWorx Diagnostics [DEBUG] 2021-11-22 07:07:28,852 twTlsClient_Connect: TLS connection established Debug ThingWorx Diagnostics [ERROR] 2021-11-22 07:07:28,853 twWs_Connect: Error initializing web socket. Response code: 500 Debug ThingWorx Diagnostics [ERROR] 2021-11-22 07:07:28,854 twApi_Connect: Max number of connect retries: 1, has been reached Error ThingWorx Native Interface Connection to ThingWorx failed. | Platform = <host name>:443/Thingworx/WS, error = could not establish a websocket connection. Debug ThingWorx Diagnostics [DEBUG] 2021-11-22 07:07:28,854 twMessage_Send: Not authenticated yet Debug ThingWorx Diagnostics [ERROR] 2021-11-22 07:07:28,854 twMessage_Send: Error sending Message with RequestId 1954 Debug ThingWorx Diagnostics [DEBUG] 2021-11-22 07:07:28,854 twMessage_Delete: Deleting BIND Message: 1954 Debug ThingWorx Diagnostics [DEBUG] 2021-11-22 07:07:28,855 Disconnect called. Code: 1000, Reason: Debug ThingWorx Diagnostics [WARN] 2021-11-22 07:07:28,855 sendCtlFrame: Not connected Debug ThingWorx Diagnostics [DEBUG] 2021-11-22 07:07:28,855 twTlsClient_Close: Disconnecting from server Debug ThingWorx Diagnostics [DEBUG] 2021-11-22 07:07:28,855 twTlsClient_Close: Deleting SSL session Debug ThingWorx Diagnostics [WARN] 2021-11-22 07:07:28,855 msgHandlerOnClose: WEBSOCKET CLOSED
-
Error ThingWorx Native Interface Connection to ThingWorx failed. | Platform = <host name>:443/Thingworx/WS, error = Could not initialize secure socket connection.
-
This is a printer-friendly version of Article 357185 and may be out of date. For the latest version click CS357185