Article - CS245522

"Error initializing SSL connection" received when unable to establish Secure (SSL) Websocket Connection using ThingWorx Edge SDKs or ThingWorx Edge MicroServer

Modified: 29-Sep-2025   


Applies To

  • ThingWorx Edge MicroServer 5.0 to 5.3 F000
  • ThingWorx Platform 6.0 to 10.0
  • ThingWorx Edge SDK 2.0 to 2.0.2
  • Apache Tomcat
  • ThingWorx Edge C SDK
  • ThingWorx Edge MicroServer
  • .NET SDK

Description

  • ThingWorx Edge C SDK is unable to establish a secure websocket connection (WSS, SSL) to a ThingWorx server
  • ThingWorx Edge MicroServer (EMS) can connect through port 80 but not 8443
  • Cannot connect to ThingWorx Platform with EMS through SSL
  • Edge device is unable to connect to ThingWorx server over a secure websocket
  • Secure connection to ThingWorx fails with Error 0
    Error initializing SSL connection
    twWs_Connect: Error restarting socket.  Error 0.

 

  • Unable to connect C Edge devices to ThingWorx after upgrading to Tomcat 8.0.35 or above
This is a printer-friendly version of Article 245522 and may be out of date. For the latest version click CS245522