Connecting Raspberry Pi to Thingworx ERROR
Hi Community,
I`ve followed the Thingworx Raspberry Pi tutorial but I`m currently stuck at step 5, launching the EMS.
When I try to run it with the command sudo ./wsems I`m getting the following errors:
[FORCE] 2019-05-09 08:46:47,382 ./wsems: Initializing EMS .... [FORCE] 2019-05-09 08:46:47,382 main: Using config file /home/pi/Desktop/microserver/etc/config.json [INFO ] 2019-05-09 08:46:47,382 ./wsems: Creating the WsEms proxy. [INFO ] 2019-05-09 08:46:47,383 ./wsems: Starting HTTP Server. [WARN ] 2019-05-09 08:46:47,383 Main: Encryption is disabled on HTTP Server. [WARN ] 2019-05-09 08:46:47,384 Main: Authentication is disabled on the HTTP Server. [INFO ] 2019-05-09 08:46:47,384 ./wsems: Initializing the ThingWorx8080 [FORCE] 2019-05-09 08:46:47,384 httpServer: Initializing the ThingWorx8080 [INFO ] 2019-05-09 08:46:47,385 wsEmsProxy::initialize: FIPS is disabled. [INFO ] 2019-05-09 08:46:47,386 wsEmsProxy::initialize: Encryption is enabled on Web Socket connection. [WARN ] 2019-05-09 09:46:47,388 SDK: SDK Version: 2.2.0 [WARN ] 2019-05-09 09:46:47,388 SDK: TLS Library: OpenSSL [WARN ] 2019-05-09 09:46:47,388 SDK: TLS Library Version: 1.0.2l-fips [WARN ] 2019-05-09 09:46:47,389 SDK: FIPS Capable [INFO ] 2019-05-09 08:46:47,405 WsProxy::initialize: EMS Version 5.4.5.512 [INFO ] 2019-05-09 08:46:47,405 WsProxy::initialize: twApi singleton initialized [WARN ] 2019-05-09 08:46:47,405 WsProxy::initialize: Certificate validation is disabled. [INFO ] 2019-05-09 08:46:47,407 wsEmsProxy::initialize: Initialization complete! [INFO ] 2019-05-09 08:46:47,409 ./wsems: Starting the connection. 10.128.54.64:8080-->[ERROR] 2019-05-09 09:46:47,417 SDK: TW_NEW_SSL_CLIENT: SSL handshake error. Error: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol. [ERROR] 2019-05-09 09:46:47,418 SDK: Error intializing SSL connection [ERROR] 2019-05-09 09:46:47,418 SDK: twWs_Connect: Error restarting socket. Error 0 [ERROR] 2019-05-09 09:46:52,423 SDK: TW_NEW_SSL_CLIENT: SSL handshake error. Error: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol. [ERROR] 2019-05-09 09:46:52,424 SDK: Error intializing SSL connection [ERROR] 2019-05-09 09:46:52,424 SDK: twWs_Connect: Error restarting socket. Error 0 [ERROR] 2019-05-09 09:46:57,430 SDK: TW_NEW_SSL_CLIENT: SSL handshake error. Error: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol. [ERROR] 2019-05-09 09:46:57,430 SDK: Error intializing SSL connection [ERROR] 2019-05-09 09:46:57,430 SDK: twWs_Connect: Error restarting socket. Error 0 [ERROR] 2019-05-09 09:47:02,437 SDK: TW_NEW_SSL_CLIENT: SSL handshake error. Error: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol. [ERROR] 2019-05-09 09:47:02,437 SDK: Error intializing SSL connection [ERROR] 2019-05-09 09:47:02,437 SDK: twWs_Connect: Error restarting socket. Error 0 [ERROR] 2019-05-09 09:47:07,445 SDK: TW_NEW_SSL_CLIENT: SSL handshake error. Error: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol. [ERROR] 2019-05-09 09:47:07,445 SDK: Error intializing SSL connection [ERROR] 2019-05-09 09:47:07,445 SDK: twWs_Connect: Error restarting socket. Error 0
My config.json file looks as following:
{
"ws_servers": [{
"host": "10.128.54.63",
"port": 8080
}],
"appKey": "3ad3295d-4dd2-4ca9-84ed-c83edfc70cd3",
"http_server" : {
"host": "127.0.0.1",
"port": 8080,
"use_default_certificate" : true,
"ssl" : false,
"authenticate" : false
},
"logger":{
"level":"INFO"
},
"certificates":{
"validate": false
}
}
Any ideas what could cause the problems?
Thank you!

