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

How to Connect TW to KepWare

SOLVED
Highlighted
Level 1

How to Connect TW to KepWare

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to Connect TW to KepWare

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

16 REPLIES 16

Re: How to Connect TW to KepWare

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

Re: How to Connect TW to KepWare

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

Re: How to Connect TW to KepWare

Hi Marc,

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

Thanks,

Milan

Re: How to Connect TW to KepWare

Unfortunately I can't.

I have the demo version, and I can only download the the latest version.

Is there an issue with the last update?

Re: How to Connect TW to KepWare

HelloMilan Thakker​​,

Is there an issue with the fact that my version is a free demo?

Thanks for your feedback.

Marc

Re: How to Connect TW to KepWare

Hi Marc,

No this is not an issue with the fact that you're on the demo version.  I haven't validated KEPServer 6.4 with the ThingWorx manufacturing apps, and I've seen a similar error when my versioning was a problem.  If you log into myKepware.com you should be able to download an older version of KEPServer with the same limitations.

Thanks,

Milan

Re: How to Connect TW to KepWare

Thanks, I managed to download it. Will keep you posted.

Marc

Re: How to Connect TW to KepWare

Didn't work, still got the same message with the 6.3 version

Re: How to Connect TW to KepWare

Hi Marc and Milan,

I would not suspect there being a problem with the current version of KEPServerEX. The progression through releases of KEPServerEX is usually pretty stable, and there have not been any major changes made to fundamental connection aspects, like forming a socket connection; especially not without rigorous testing.

Can you please confirm, can you launch a web browser local to KEPServerEX and form the connection to ThingWorx Composer?

Best regards,

Steven M