When running any of the simulator batch files included with the ThingWorx 8 training modules they all produce a lot of DEBUG results and a single Error. The Error is:
14:19:42.191 [NettyClient-NIO-1] ERROR c.t.c.c.c.n.ThingworxClientConnectionHand
ler - WebSocket error: Invalid Protocol Version , closing connection!
The TrainingConfig.Json file contains the following:
ServerLocation has been confirmed accurate, using 127.0.0.1 produces the same result.
Port 8080 is accurate
AppKey has been confirmed to exist in ThingWorx under security
and the RemoteRepo directory exists.
Running the files from C:\MicroServer_Java directoy
Not sure why it's throwing this error. A search shows similar errors but not the exact one being encountered.
Can you check if AppKey is still valid?
You will find expiration date parameter in ThingWorx under your specific AppKey entity:
I tested with the MicroServer_Java simulators and had no issues so we need to look at your environment as the possible cause of the problem.
Are you running the simulators from the same machine that ThingWorx is installed on? What o/s are you running on? Do you possibly have a 32-bit version of java installed that it's trying to use? Is the JAVA_HOME environment variable pointing to a 32-bit version?