Article - CS337634

Kepware fails to connect to Thingworx with error "Could not establish a websocket connection" in PTC Kepware Products

Modified: 29-Mar-2023   


Applies To

  • Kepware Server (formerly KEPServerEX) 6.6 to 6.16
  • ThingWorx Kepware Server (legacy) 8.0 to 6.16
  • ThingWorx Platform 8.0 to 9.6

Description

  •  ThingWorx fails to connect to PTC Kepware Products with error in Kepware log:
    • Connection to ThingWorx failed.| Platform:<hostname>:<port>/Thingworx,error=Could not establish a websocket connection
  • In PTC Kepware Products  Apply icon is grayed out after making changes in Property Editor
  • PTC Kepware Products fail to connect with ThingWorx with errror in ThingworxStorage/logs/SecurityLog.log:
    • ThingWorx Kepware Server/KEPServerEX\Runtime Configuration session started by <Kepware_user_name> as Default User (RO)
  • PTC Kepware Products could connect to Single ThingWorx node while it will fail to connect to ThingWorx HA
    •   ThingWorx Native Interface connect to ThingWorx failed | Platform <ip:port>/Thingworx/WS,Error: Unable to establish websocket connection
This is a printer-friendly version of Article 337634 and may be out of date. For the latest version click CS337634