I'am using Thingworx 8 and Java 8.
Trying to install PhilipsHue given on PTC Marketplace on Thingworx platform. However, i get connection on endpoint 0 failed. Here is a screenshot.
My agent.properties is the following
twx_appkey=c7bf635a-2dd2-4bef-9b62-fb66868aa8d2 (Defined in THWS studio)
hue_user=VbcME6P86nMKKcYyVHRQTC5XHuzuxPaeNIbt27Tl (given via phillips Hue API)
I have verified Websocket on my browser using websocket.org Echo Test - Powered by Kaazing and it is working.
I am not behind a proxy. I have tried to access communication.log but i don't have anything in it :/
Can anyone help me please.
Amal, can you try using your IP or even 127.0.0.1 instead of localhost? There shouldn't be an issue with loopback connections, but that is worth checking.
Hello, thank you for your help,
when i try with localhost and loop adresse i get waiting for websocket handshake to complete.
I'am guessing that this is a SSL problem in my Tomcat.
I'am trying to upgrade from composer 6 to 8 so having some problem.
I'll keep you posted when i get everything in order.
The resolution of this problem is within the agent.properties of the PhilipsHue plugin. In fact, in the PhilipsHue tutorial, there is a mistake where instead of using wss it is noted ws in twx_uri and the port number to add is 443, at least in my case.
So, this works for me.