Connector Exception 5: Connector Disconnected from the ThingWorx Platform
If ThingWorx Platform stops, eMessage Connector cannot connect and this exception is generated at the Connector. Runtime exceptions appear for the Connector. Refer to Observation 12: Connector websocket connection errors with ThingWorx Platform.
Here is a scenario that would result in this exception:
1. Start ThingWorx Platform.
2. Start the Connector.
3. Agent starts sending data item messages to the Connector.
4. Stop ThingWorx Platform.
In this scenario, several errors are logged. They include a couple of different types of runtime exceptions. Here are a few lines from the log message:
ERROR c.t.p.e.EmessageRequestContext -
... failure occurred: failureMessage=Exception caught
while trying to perform a bind.
java.lang.RuntimeException: No connected clients available.
...
failure occurred: failureMessage=Error writing properties
during Data Item conversion
java.lang.RuntimeException: Platform not connected.
Awaiting reconnection.
...
Was this helpful?