ThingWorx Edge C SDK > How to Set Up Security > Troubleshooting Connection Errors (C SDK v.1.4.0 and earlier)
Troubleshooting Connection Errors (C SDK v.1.4.0 and earlier)
If your application uses an earlier version of the C SDK than 1.4.0 and it cannot establish a secure (SSL/TLS) WebSocket connection using the C SDK, you may notice one of the following errors:
Error initializing SSL connection
twWs_Connect: Error restarting socket. Error 0.
These errors are known to occur after the version of Tomcat used for ThingWorx Platform has been upgraded to 8.0.35 or higher and versions of the C SDK earlier than 1.4.0 are in use in the application. In the later versions of Tomcat, RSA-based ciphers are disabled by default due to forward secrecy concerns. The ciphers supported by the axTLS libraries earlier than v.2.1.2.1 (the version in the C SDK 1.4.0) are disabled by default by this change to Tomcat. When a C SDK device tries to connect, an error “No compatible ciphers” is returned.
It is strongly recommended that you upgrade to the latest version of the C SDK and use the OpenSSL library provided in the distribution bundle. After the upgrade, you need to rebuild your application. For more information, refer to the Release Advisor
Was this helpful?