技术文章 - CS334669
Kepware 无法连接到 ThingWorx Platform,并出现错误:KEPServerEX / ThingWorx Industrial Connectivity / Kepware 中的“twWs_Connect:初始化 Web 套接字时出错。响应代码:404”
已修改: 24-Jul-2023
适用于
- ThingWorx Platform 8.5 to 9.1 SP7
说明
- Kepware 无法连接到 ThingWorx,并出现错误: twWs_Connect:初始化 Web 套接字时出错。响应代码:404
- Kewpare 日志包含以下内容:
Debug ThingWorx Diagnostics [ERROR] 2020-11-30 01:50:07,419 twWs_Connect: Error initializing web socket. Response code: 404 Debug ThingWorx Diagnostics [ERROR] 2020-11-30 01:50:07,419 twApi_Connect: Max number of connect retries: 1, has been reached Debug ThingWorx Diagnostics [ERROR] 2020-11-30 01:50:07,419 twMessage_Send: Error sending Message with RequestId 315329 Debug ThingWorx Diagnostics [WARN] 2020-11-30 01:50:07,419 sendCtlFrame: Not connected Debug ThingWorx Diagnostics [WARN] 2020-11-30 01:50:07,419 msgHandlerOnClose: WEBSOCKET CLOSED Debug ThingWorx Diagnostics [ERROR] 2020-11-30 03:13:19,809 twWs_Create: Error creating BSD socket to be used for the websocket Debug ThingWorx Diagnostics [ERROR] 2020-11-30 03:13:19,809 twApi_Initialize: Error creating websocket structure, retrying Debug ThingWorx Diagnostics [ERROR] 2020-11-30 03:13:19,809 twWs_Create: Error creating BSD socket to be used for the websocket Debug ThingWorx Diagnostics [ERROR] 2020-11-30 03:13:19,809 twApi_Initialize: Could not connect after 1 attempts Error ThingWorx Native Interface Connection to ThingWorx failed for an unknown reason. | Platform https://<ThingWorx Host>/:<Port>/Thingworx/WS,
这是文章 334669 的 PDF 版本,可能已过期。最新版本 CS334669