Skip to main content
1-Visitor
January 8, 2019
Solved

Connection to Thingworx failed

  • January 8, 2019
  • 3 replies
  • 23020 views

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

Best answer by hchanana

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

3 replies

16-Pearl
January 8, 2019

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

grantji1-VisitorAuthor
1-Visitor
January 8, 2019
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?
16-Pearl
January 8, 2019

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

16-Pearl
March 26, 2019

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

1-Visitor
May 16, 2019

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

 

 

hchanana16-PearlAnswer
16-Pearl
May 16, 2019

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

Community Manager
May 22, 2019

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