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 called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Possible bug connecting KEPServerEX to Thingworx using localhost as server name!!

hilliamonks
4-Participant

Possible bug connecting KEPServerEX to Thingworx using localhost as server name!!

Just downloaded Thingworx demo and KEPServerEX 6.6

When I tried to connect KepServerEX, I got the following error:

"ThingWorx Native Interface Connection to ThingWorx failed. | Platform = <servername>:<server port="">/Thingworx/WS, error = unknown error."

 

In summary, I think the issue was that you can not use the name "localhost" for your server name.

 

I checked that I had correctly setup all my ThingWorx items in Property Editor (Enabled, host name, port, application key, etc.) However, I kept having problems. I thought the problem was the application key, so i entered a bad application key and I got a different error (authentication error). I tried changing the socket from 9080 to the example's 8080 and got a socket error.

 

After going into the thingworx controls advisor and deleting the server and then adding a new server called "TestServer" instead of "localhost", it now works.

 

I'm writing this post in hope that either someone experiencing the same issue finds this useful, or that someone from thingworx comes across this post and is able to test if it is indeed an issue using the name "localhost" and then takes the appropriate action.</server></servername>

1 REPLY 1

Hi @hilliamonks ,

 

Can you check if your composer already have a thing created with name localhost. If yes please delete it and then try to add servername as localhost in Kepserver configuration.

 

If this is not working,  please provide the screenshot of your ThingWorx Properties from KepServer Configuration.

We will validate the information provided at our end and if required, we will report it to Project Management team for further review.

 

Thanks,

Himanshu

Announcements


Top Tags