Skip to main content
1-Visitor
March 11, 2019
Solved

Trouble when trying to connect OPC Aggregator to ThingWorx Composer

  • March 11, 2019
  • 1 reply
  • 2806 views

Hello, I am getting this error in OPC Aggregator configuration: ThingWorx Native Interface Connection to ThingWorx failed. | Platform 127.0.0.1:8080/ThingworxWS, error: could not establish a websocket connection.

 

I have created the thing name in thingworx with the correct template. I have also created an application key. Then I have followed the tutorial. It seems everything is correct, thing name, key ID, host and port. I have also tryied to enable legacy mode, change the host from name to IP and change the certificate settings.

 

There is a print of the configuration attached to the post.

 

Thanks for any help

Best answer by hchanana

Hi @GabrielSoftenge ,

 

Please change the Resource to "/Thingworx/WS" in your settings and validate.

You current value is "/ThingworxWS".

 

Thanks,

Himanshu

1 reply

hchanana16-PearlAnswer
16-Pearl
March 11, 2019

Hi @GabrielSoftenge ,

 

Please change the Resource to "/Thingworx/WS" in your settings and validate.

You current value is "/ThingworxWS".

 

Thanks,

Himanshu

1-Visitor
March 12, 2019

Thanks, it worked. When I changed the localhost to IP I didn't see this little mistake there.

16-Pearl
March 12, 2019

Hi @GabrielSoftenge ,

 

Hope you are doing good.

 

If the previous response provided you with the guidance you were looking for, please mark it as the Accepted Solution, for the benefit of others who may have the same question.

 

Regards,

Himanshu