Thingworx Server does not respond to connections from edge SDK
- August 22, 2016
- 2 replies
- 4160 views
Hello,
I have been playing around with the edge SDK and I have encountered a problem. I have been able to authenticate, bind, connect, and see the values updating.​ However, I am experiencing a problem running any of the Java SDK applications for longer than 7 minutes.
The first time I run the application, it runs fine. If I stop it and run it again, it runs fine. If I run it for a few minutes, it runs fine.
However, if I run it for longer than about 7 minutes, the server starts refusing connections. Even if I wait for days, it does not work. It only starts functioning again once I restart the tomcat service. The thing does show up as connected, but then promptly disconnects without any data having been transmitted.
I am almost 100% certain this is a config issue with tomcat, rather than a code issue, because the examples exhibit the same problems.
The server is an instance of ThingWorx on a computer in the local network (not localhost) and I have uninterrupted access between it and the application via wired connection.
I have attached an excerpt from the console, if you do a quick search for "unable" you will see that at 16:53:13, the server stopped responding.

