Skip to main content
Jan 8, 2019 2:57 AM UTC
Solved

Connection to Thingworx failed

I installed both Thinngworx foundation server and Industrial Connectivity, version 8.3 trial. The Thingworx foundation server is working well, I can connect to composer in Browser. However, I tried to configure IC to connect to Thingworx, and then get an error: 

 

Date Time Level Source Event
1/8/2019 10:50:18 AM Error ThingWorx Native Interface Connection to ThingWorx failed. | Platform = localhost:80/Thingworx/WS, error = could not initialize a secure socket connection.

 

Thanks a lot!

001.png

hchananaAnswer
May 16, 2019 12:00 PM UTC

Hi @RV_7 ,

 

Can you set Disable Encryption to yes and try to connect.

If this does not work, additionally change localhost to 127.0.0.1 in the host property.

 

Thanks,

Himanshu

33 replies

Jan 8, 2019 6:05 AM UTC

Hi @grantji,

 

Can you please validate your ThingWorx tomcat server port (80 in your case) is correct, the app key is valid. Also enable Trust all certificates and Trust self-sign certificates and reinitialize the KepServerEX

Regards,

Himanshu

grantjiAuthor
Jan 8, 2019 6:26 AM UTC
Thanks for your reply. The port is 80, I connect to foundation server via "http://localhost/Thingworx/Composer/Apps/Composer/index.html#/modeler/details/ApplicationKey~Demo/attributes" The application key is correct as well. I have enabled Trust all certificates and Trust self-sign certificates. so fat it still doesn't work. how to reinitialize the KepServerEX? I exit the industrial connection and the start it again, right?
Jan 8, 2019 7:09 AM UTC

Hi @grantji,

 

You need to right click on KepServerEx icon on bottom right of your machine, you will get reinitialize option there.

 

Capture.JPG

 

 

Thanks,

Himanshu

Mar 26, 2019 6:00 PM UTC

Hi @grantji ,

 

Hope you are doing good.

In regard to this post, 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.

 

Thanks,

Himanshu

May 16, 2019 11:38 AM UTC

Hi Himanshu,

I just installed both Industrial connectivity(8.4.66) and Thingworx foundation trial(8.4). Getting the same error as discussed in this thread. I have attached both my Thingworx instance and property of IC.

 Please help me out!!!!logofIC.pngPropertyofIC.pngThingworxHost.png

 

Regards,

Raj

 

 

hchananaAnswer
May 16, 2019 12:00 PM UTC

Hi @RV_7 ,

 

Can you set Disable Encryption to yes and try to connect.

If this does not work, additionally change localhost to 127.0.0.1 in the host property.

 

Thanks,

Himanshu

May 22, 2019 6:21 PM UTC

Hi @grantji.

 

Since a solution was found for the issue you were experiencing, please mark the appropriate reply as the Accepted Solution for the benefit of others with the same issue.

 

Regards.

 

--Sharon