Skip to main content
1-Visitor
December 14, 2017
Solved

How to Connect TW to KepWare

  • December 14, 2017
  • 2 replies
  • 11528 views

Dear community,

 

I Installed yesterday the ThingWorx Manufacturing Apps on my computer and I tried to connect it to my KepWare server (KEPServerEX 6) without success.

I always got the same message: error: Could not initialize a secure socket connection.

 

I followed exactly the tutorial video, verified  the host, port, resource, application key, and Thing name.

I even ping to hostname to verify it receives something.

I already tried several times to uninstall and install everything again without sucess.

 

Could someone have a clue?

 

Thanks for your help.

 

Marc

Best answer by stmarchessault

Hi  Marc,

That menu you are in is for the Config API service. The host and port are different from what you have been testing, but it may be a firewall blocking connections in both instances.

Are ThingWorx and KEPServerEX on different PCs? If they are, we will still want to try the test mentioned before. Open a web browser on the KEPServerEX PC and try connecting with either of these URLs:

lcipmpa17792.ad.compa.corp:9080/Thingworx/Composer

-or-

lcipmpa17792.ad.compa.corp:9080/Thingworx/FormLogin/Welcome

What are the results of those tests?

If neither URL succeds, can you try testing the socket connection, using Telnet? Here is a link to instructions on this:

How to use Telnet to test TCP connections​

-Steven M

2 replies

5-Regular Member
December 14, 2017

Hi Marc,

What versions of KEPServer (6.x) and ThingWorx Manufacturing Apps (8.x) are you using?  In addition, can you provide the screenshot of your KEPServer ThingWorx configuration and the Controls Advisor screen where you connect a KEPServer?

Thanks,

Milan

mgimat1-VisitorAuthor
1-Visitor
December 14, 2017

Thanks for your Feedback Milan,

I'm using KEPServer EX 6.4 and ThingWorx-Manufacturing-Apps-8.1.2

Here are my screenshots:

Capture KEPServer.PNG

Capture TW.PNG

Thanks for your help.

Marc

5-Regular Member
December 14, 2017

Hi Marc,

Can you do me a favor and try to use KEPServerEx 6.3?

Thanks,

Milan

5-Regular Member
January 15, 2018

Greetings Marc GIMAT,

  

Following up with you on the original question posted here, can you please indicate if any of the recommendations given above answered this for you?

If any of these posts adequately answered your question, you can mark the reply as the "Correct Answer."

Or, if you are still unresolved on your original question, let us know and we can continue troubleshooting this with you. This feedback is a key step toward ensuring Community users with a similar issue are able to locate the information they need.

Best regards,

Steven M