|
Logs are very useful for debugging and troubleshooting an issue. Setting the log level to Trace, and re-running the application may help you find a problem quickly.
|
Logger Name
|
Message
|
Probable Cause
|
Action to Take
|
---|---|---|---|
com.thingworx.connectionserver.metrics.MetricsReporterManager
|
Metrics are enabled but no reporters are configured.
|
The metrics are enabled in the configuration file, but no metrics reporters were configured. No metrics are reported.
|
Enable the metrics reporter in the configuration file and restart the Connection Server.
|
com.thingworx.connectionserver.metrics.MetricsReporterManager
|
Graphite metrics reporter enabled without service discovery but no endpoints are configured.
|
No explicit endpoint has been defined in the configuration file. No metrics are reported to Graphite.
|
Define the endpoint in the configuration file and restart the Connection Server.
|
com.thingworx.fabric.impl.AbstractManyPlatformWebSocketFabric
|
Platform still alive, so not removing: endpoint={}
|
The Connection Server received a notification that the ThingWorx Platform is no longer available, but the Connection Server is still connected to it.
|
Verify whether the ThingWorx Platform specified is still available.
|
Logger Name
|
Message
|
Probable Cause
|
Action to Take
|
---|---|---|---|
com.thingworx.connectionserver.ConnectionServer
|
Unable to start Connection Server
|
The Connection Server encountered an error that prevented it from starting up. The exception appears after the log message.
|
Resolve the issue mentioned in the exception and restart the Connection Server.
|
com.thingworx.connectionserver.metrics.MetricsReporterManager
|
Unable to create stream for metrics console reporter, defaulting to standard-out: intended file={}
|
The file specified for the metrics console reporter could not be created.The exception appears after the log message. The Connection Server will continue functioning, but the metrics are written to standard out rather than the intended metrics file.The output file is specified in the configuration file at the following key: cx-server.metrics.reporters.console.outfile.
|
Fix the underlying issue specified in the exception, and restart the Connection Server. Possible causes are non-existent base directories and permissions issues.
|
com.thingworx.connectionserver.metrics.MetricsReporterManager
|
Unable to create directory for metrics CSV reporter, disabling reporter: directory={}
|
The directory specified for the metrics CSV reporter could not be created. The exception appears after the log message. The Connection Server continues to operate, but the CSV metrics reporter is disabled. If the CSV metrics reporter is the only configured reporter, no metrics information is available.
|
Fix the underlying issue specified in the exception and restart the Connection Server. Possible causes are base directories not existing and permissions issues.
|
com.thingworx.fabric.impl.AbstractManyPlatformWebSocketFabric
|
Failure while connecting to platform: endpoint={}
|
The attempt to connect to the ThingWorx Platform failed. The exception appears after the log message. The Connection Server will not start.
|
Resolve the issue mentioned in the exception and restart the Connection Server. Possible causes are:
• The wrong ThingWorx Platform endpoint (host/port) is specified in the configuration.
• The endpoint is not accessible over the network from the Connection Server.
• The ThingWorx Platform is not running.
|