Skip to main content
1-Visitor
November 24, 2016
Question

i want to connect raspberry pi and thingworx

  • November 24, 2016
  • 8 replies
  • 5816 views

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
November 24, 2016

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?

1-Visitor
November 30, 2016

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?

5-Regular Member
November 30, 2016

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

5-Regular Member
November 25, 2016

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?

1-Visitor
December 23, 2016

yes,

I forgot to disable the firewall .

when I disable firewall Thingworx connection is established.

Thanks,

Gaurav

5-Regular Member
December 23, 2016

Thanks for updating the thread! glad it works now.