Skip to main content
1-Visitor
Nov 24, 2016 10:41 AM UTC
Question

i want to connect raspberry pi and thingworx

i am getting the error as :

error creating BSD socket to be used for the websocket

This topic has been closed for replies.

8 replies

5-Regular Member
Nov 24, 2016 5:15 PM UTC

Hi Gaurav,

Could you please provide more details as how you are trying to connect Thingworx & Raspberry Pi like using Thingworx Java SDK, C SDK, etc.

Please share code snippet and provide full log?

Translate
1-Visitor
Nov 30, 2016 8:12 AM UTC

I have Thingworx on my machine .I am not getting how to configure Raspberry pi to Thingworx Java SDK.

I read it from the PTCU but not understand  well.

can you provide  demo video on that?

Translate
5-Regular Member
Nov 30, 2016 8:53 AM UTC

Gaurav,

You can check out below demo video available related to the topic.

How to Configure Your Raspberry Pi  Board Instructions

https://www.thingworx.com/wp-content/uploads/academic-program_weather-app-raspberry-pi_configure_EN.pdf

How to Read Temperature and Humidity from Am2302 Sensor Using ThingWorx Edge Java SKD for Raspberry Pi Instructions

https://www.thingworx.com/ecosystem/academic-program/iot-projects/weather-app-raspberry-pi/

For complete reference of material please check out below URL:

https://www.thingworx.com/ecosystem/academic-program/iot-projects/weather-app-raspberry-pi/

In case you face any specific error do let us know.

Thanks,

Durgesh

Translate
5-Regular Member
Nov 25, 2016 8:50 AM UTC

Hi Gaurav, is the connection to TW running over a specific firewall or is there a reverse proxy? Could also check for the support for websocket?

Translate
1-Visitor
Dec 23, 2016 5:18 AM UTC

yes,

I forgot to disable the firewall .

when I disable firewall Thingworx connection is established.

Thanks,

Gaurav

Translate
5-Regular Member
Dec 23, 2016 12:49 PM UTC

Thanks for updating the thread! glad it works now.

Translate