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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Error creating BSD socket to be used for the websocket

krish2019
2-Explorer

Error creating BSD socket to be used for the websocket

I am trying to connect to Rspberry Pi and getting the below error - any idea how to fix this.  I am able to connect to Raspberri Pi remotely using VNC Connect but not able to proceed any further due to this error.  The Raspberri Py and my PC are both connected to my home wifi.

pi@raspberrypi:~/microserver $ sudo ./wsems
[FORCE] 2019-06-08 18:32:31,230 ./wsems: Initializing EMS ....
[FORCE] 2019-06-08 18:32:31,230 main: Using config file /home/pi/microserver/etc/config.json
[INFO ] 2019-06-08 18:32:31,230 ./wsems: Creating the WsEms proxy.
[INFO ] 2019-06-08 18:32:31,230 ./wsems: Starting HTTP Server.
[WARN ] 2019-06-08 18:32:31,231 Main: Encryption is disabled on HTTP Server.
[WARN ] 2019-06-08 18:32:31,231 Main: Authentication is disabled on the HTTP Server.
[INFO ] 2019-06-08 18:32:31,231 ./wsems: Initializing the ThingWorx REST interface.
[FORCE] 2019-06-08 18:32:31,231 httpServer:
[INFO ] 2019-06-08 18:32:31,232 wsEmsProxy::initialize: FIPS is disabled.
[INFO ] 2019-06-08 18:32:31,232 wsEmsProxy::initialize: Encryption is enabled on Web Socket connection.
[WARN ] 2019-06-08 14:32:31,234 SDK: SDK Version: 2.2.0
[WARN ] 2019-06-08 14:32:31,234 SDK: TLS Library: OpenSSL
[WARN ] 2019-06-08 14:32:31,234 SDK: TLS Library Version: 1.0.2l-fips
[WARN ] 2019-06-08 14:32:31,234 SDK: FIPS Capable
[ERROR] 2019-06-08 14:32:31,298 SDK: twWs_Create: Error creating BSD socket to be used for the websocket
[ERROR] 2019-06-08 14:32:31,298 SDK: twApi_Initialize: Error creating websocket structure, retrying
[ERROR] 2019-06-08 14:32:36,370 SDK: twWs_Create: Error creating BSD socket to be used for the websocket
[ERROR] 2019-06-08 14:32:36,370 SDK: twApi_Initialize: Error creating websocket structure, retrying
[ERROR] 2019-06-08 14:32:41,425 SDK: twWs_Create: Error creating BSD socket to be used for the websocket
[ERROR] 2019-06-08 14:32:41,425 SDK: twApi_Initialize: Error creating websocket structure, retrying
[ERROR] 2019-06-08 14:32:46,492 SDK: twWs_Create: Error creating BSD socket to be used for the websocket
[ERROR] 2019-06-08 14:32:46,492 SDK: twApi_Initialize: Error creating websocket structure, retrying
[ERROR] 2019-06-08 14:32:51,560 SDK: twWs_Create: Error creating BSD socket to be used for the websocket
[ERROR] 2019-06-08 1

1 REPLY 1
mnarang
17-Peridot
(To:krish2019)

There was a same issue reported earlier .Please check this post for more details .

https://community.ptc.com/t5/ThingWorx-Developers/CSDK-Connnection-issue/m-p/527039#M21009

 

 

Thanks,

Mukul Narang

Announcements


Top Tags