技术文章 - CS357185
Kepware 无法使用 SSL 连接到 Thingworx Platform
已修改: 11-Oct-2022
适用于
- ThingWorx Kepware Server (legacy) 6.8
- Kepware Server (formerly KEPServerEX) 6.7
说明
- Kepware无法连接到 Thingworx 平台
- 尝试连接到 Thingworx 时, Kepware事件日志中出现以下错误
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.
这是文章 357185 的 PDF 版本,可能已过期。最新版本 CS357185