cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Error with Raspberry PI when connecting to ThingWorx - wrong version number (EMS)

MV_9738196
4-Participant

Error with Raspberry PI when connecting to ThingWorx - wrong version number (EMS)

Hello

I am testing the "Connect Raspberry Pi to ThingWorx Guide" and have problems with step 5 (Launch the EMS).

 

I get the error message below when connecting from Raspberry PI to ThingWorx 9.1.2. I am using EMS version 5.4.10.1509, what is the problem here?

 

[INFO ] 2021-10-07 12:02:53,485 ./wsems: Starting the connection.

192.168.108.6:8080-->[ERROR] 2021-10-07 14:02:53,981 SDK: TW_NEW_SSL_CLIENT: SSL handshake error. Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.
[ERROR] 2021-10-07 14:02:53,981 SDK: twWs_Connect: Error restarting socket. Error 0
[ERROR] 2021-10-07 14:02:58,991 SDK: TW_NEW_SSL_CLIENT: SSL handshake error. Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.
[ERROR] 2021-10-07 14:02:58,991 SDK: twWs_Connect: Error restarting socket. Error 0
[ERROR] 2021-10-07 14:03:03,999 SDK: TW_NEW_SSL_CLIENT: SSL handshake error. Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.
[ERROR] 2021-10-07 14:03:03,999 SDK: twWs_Connect: Error restarting socket. Error 0
[ERROR] 2021-10-07 14:03:09,8 SDK: TW_NEW_SSL_CLIENT: SSL handshake error. Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.
[ERROR] 2021-10-07 14:03:09,8 SDK: twWs_Connect: Error restarting socket. Error 0
[ERROR] 2021-10-07 14:03:14,18 SDK: TW_NEW_SSL_CLIENT: SSL handshake error. Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.
[ERROR] 2021-10-07 14:03:14,18 SDK: twWs_Connect: Error restarting socket. Error 0
[ERROR] 2021-10-07 14:03:19,27 SDK: TW_NEW_SSL_CLIENT: SSL handshake error. Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.
[ERROR] 2021-10-07 14:03:19,27 SDK: twWs_Connect: Error restarting socket. Error 0
[ERROR] 2021-10-07 14:03:24,36 SDK: TW_NEW_SSL_CLIENT: SSL handshake error. Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.
[ERROR] 2021-10-07 14:03:24,36 SDK: twWs_Connect: Error restarting socket. Error 0
[ERROR] 2021-10-07 14:03:29,47 SDK: TW_NEW_SSL_CLIENT: SSL handshake error. Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.
[ERROR] 2021-10-07 14:03:29,48 SDK: twWs_Connect: Error restarting socket. Error 0
[ERROR] 2021-10-07 14:03:34,55 SDK: TW_NEW_SSL_CLIENT: SSL handshake error. Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.
[ERROR] 2021-10-07 14:03:34,55 SDK: twWs_Connect: Error restarting socket. Error 0
[ERROR] 2021-10-07 14:03:39,68 SDK: TW_NEW_SSL_CLIENT: SSL handshake error. Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.
[ERROR] 2021-10-07 14:03:39,68 SDK: twWs_Connect: Error restarting socket. Error 0
[ERROR] 2021-10-07 14:03:44,76 SDK: TW_NEW_SSL_CLIENT: SSL handshake error. Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.
[ERROR] 2021-10-07 14:03:44,76 SDK: twWs_Connect: Error restarting socket. Error 0
[ERROR] 2021-10-07 14:03:49,84 SDK: TW_NEW_SSL_CLIENT: SSL handshake error. Error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.
[ERROR] 2021-10-07 14:03:49,84 SDK: twWs_Connect: Error restarting socket. Error 0
[WARN ] 2021-10-07 12:03:53,503 Main: Unable to connect to server. Trying .booted config file
[INFO ] 2021-10-07 12:03:53,503 EMS: Duty Cycle is disabled.
[WARN ] 2021-10-07 12:03:54,84 WsEmsProxy::execute() : Server connection failed. Error Code: 1001
[FORCE] 2021-10-07 12:03:58,592 Main: Shutdown signal received. Restarting ....

 

 

config.json-File:

 

{
"ws_servers": [{
"host": "192.168.108.6",
"port": 8080
}],
"appkey": "DP:AQABAM.....",
"http_server": {
"host": "127.0.0.1",
"port": 8080,
"use_default_certificate": true,
"ssl": false,
"authenticate": false
},
"logger": {
"level": "INFO"
},
"certificates": {
"validate": false,
"disable_hostname_validation": true
},
"data_security": {
"key_hash": "mJzF...."
}
}

 

 

Thank you

Kind Regards
Manuel

ACCEPTED SOLUTION

Accepted Solutions
1 REPLY 1
Announcements


Top Tags