cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Trouble when trying to connect OPC Aggregator to ThingWorx Composer

GabrielSoftenge
4-Participant

Trouble when trying to connect OPC Aggregator to ThingWorx Composer

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

ACCEPTED SOLUTION

Accepted Solutions

Hi @GabrielSoftenge ,

 

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

You current value is "/ThingworxWS".

 

Thanks,

Himanshu

View solution in original post

3 REPLIES 3

Hi @GabrielSoftenge ,

 

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

You current value is "/ThingworxWS".

 

Thanks,

Himanshu

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

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

Announcements


Top Tags