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

Web socket initializing problem in raspberry pi

  • November 7, 2016
  • 3 replies
  • 6984 views

I am using raspberry pi , after launching exmaple three agent in node.js ( in order to connect to thingworx composer) I get intializing web socket error ( response code:400). what should I do?

3 replies

5-Regular Member
November 7, 2016

Are you sure you have configured the EMS properly? Have you check out the Edge Help Center?

fms11-VisitorAuthor
1-Visitor
November 8, 2016

I am new to iot and Raspberry pi, I have used step by step thingworx raspberry pi quick start for setting up thingworx composer connection to pi; I am using the ip address provided beneath the thingworx platform server launch button, at thingworx dashboard on web. I think everything is ok but the connection couldn't get stablished.

5-Regular Member
November 8, 2016

Can you post the contents of your config.json file from the EMS? Did you create an application key on the Platform?

12-Amethyst
November 8, 2016

Are you using the node.js sdk?

fms11-VisitorAuthor
1-Visitor
November 9, 2016

yes, as I told

12-Amethyst
November 9, 2016

Please post a log file or your console output or some kind of error message so we can help you further.

1-Visitor
October 31, 2017

Hi Forough MS​ 

Do you solve this issue? I am having a similar problem.

Thanks