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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Connectivity - EMS on Pi with Composer

pponraj
5-Regular Member

Connectivity - EMS on Pi with Composer

Team - Good day!

I'm getting below error; Looks like firewall issue from device(our) side; But would like to check with you guys-Experts.  Version details: SDK 2.0.4, EMS 5.4:

Thanks for the support and look forward to hearing from you:-)

[FORCE] 2018-04-18 22:13:58,318 ./wsems: Initializing EMS ....

[FORCE] 2018-04-18 22:13:58,318 main: Using config file /home/pi/Downloads/microserver/etc/config.json

[INFO ] 2018-04-18 22:13:58,318 ./wsems: Creating the WsEms proxy.

[INFO ] 2018-04-18 22:13:58,318 ./wsems: Starting HTTP Server.

[INFO ] 2018-04-18 22:13:58,318 Main: Using custom certificate and private key for HTTP Server

[WARN ] 2018-04-18 22:13:58,318 Main: Encryption is disabled on HTTP Server.

[WARN ] 2018-04-18 22:13:58,318 Main: Authentication is disabled on the HTTP Server.

[FORCE] 2018-04-18 22:13:58,319 httpServer: starting http server port=8080

[INFO ] 2018-04-18 22:13:58,319 ./wsems:

[INFO ] 2018-04-18 22:13:58,319 wsEmsProxy::initialize: FIPS is disabled.

[DEBUG] 2018-04-18 22:13:58,319 httpServer: http server bound to port=8080.

[INFO ] 2018-04-18 22:13:58,319 wsEmsProxy::initialize: Encryption is enabled on Web Socket connection.

[WARN ] 2018-04-19 03:43:58,321 SDK: SDK Version: 2.0.4

[WARN ] 2018-04-19 03:43:58,321 SDK: TLS Library: OpenSSL

[WARN ] 2018-04-19 03:43:58,321 SDK: TLS Library Version: 1.0.2l

[WARN ] 2018-04-19 03:43:58,321 SDK: FIPS Capable

[DEBUG] 2018-04-19 03:43:58,321 SDK: twWs_Create: Initializing Websocket Client for PP-18042606269R.devportal.ptc.Io:443//Thingworx/WS

[DEBUG] 2018-04-19 03:43:58,321 SDK: twTlsClient_Create: Initializing TLS Client

[DEBUG] 2018-04-19 03:43:58,371 SDK: twTlsClient_Close: Disconnecting from server

[ERROR] 2018-04-19 03:43:58,371 SDK: twWs_Create: Error creating BSD socket to be used for the websocket

[ERROR] 2018-04-19 03:43:58,371 SDK: twApi_Initialize: Error creating websocket structure, retrying

[DEBUG] 2018-04-19 03:44:03,371 SDK: twWs_Create: Initializing Websocket Client for PP-18042606269R.devportal.ptc.Io:443//Thingworx/WS

[DEBUG] 2018-04-19 03:44:03,371 SDK: twTlsClient_Create: Initializing TLS Client

 

 

2 REPLIES 2
supandey
19-Tanzanite
(To:pponraj)

Hi @pponraj it appears to be similar to this thread here CSDK Connnection issue. Even though the thread is for C SDK but it appears that your issue is more related to the platform itself than with the EMS.

Can you change log level from INFO to DEBUG or even TRACE? It will give us more information. One more question. Which specific version of EMS are you using? Best, Adam
Announcements


Top Tags