Article - CS273698

WebSocket connections are failing from EMS to ThingWorx Platform

Modified: 31-Jul-2019   


Applies To

  • ThingWorx Platform 8.0

Description

  • Raspberry PI EMS to ThingWorx platform connection failure:
[ERROR] SDK: twWs_Connect: Error initializing web socket.  Response code: 400
  • WebSocket connections from EMS are failing with  " HTTP/1.1 502 Bad Gateway" when the ThingWorx platform is accessed through an ThingWorx Connection Server
[TRACE] SDK: twWs_Connect: Got Response from Server:
HTTP/1.1 502 Bad Gateway
content-length: 0

 
This is a printer-friendly version of Article 273698 and may be out of date. For the latest version click CS273698