Article - CS325527

ThingWorx IntegrationRuntime fails to connect to ThingWorx with "Error loading config"

Modified: 27-Nov-2025   


Applies To

  • Windchill Navigate (formerly ThingWorx Navigate) 1.8.0 to 9.7

Description

  • ThingWorx IntegrationRuntime fails to connect to ThingWorx with Error loading config
  • Error in IntegrationRuntime.log
[vert.x-eventloop-thread-0] INFO  c.t.i.IntegrationRuntimeConfiguration - Reading from config file C:\ptc\ThingWorxNavigate\ThingWorxNavigate-8.5.3\integration-runtime\integrationRuntime-settings.json.encrypted
[vert.x-eventloop-thread-0] INFO  c.t.i.IntegrationRuntimeConfiguration - Attempting to read secret.management.config.file property file:"C:\ptc\ThingWorxNavigate\ThingWorxNavigate-8.5.3\ThingworxPlatform\/twx-sec-cli.conf" for encryption configuration file.
[vert.x-eventloop-thread-0] INFO  c.t.s.SecurityManagerBootstrapper - initializing KeyStore provider
[vert.x-eventloop-thread-0] WARN  c.t.i.IntegrationRuntimeConfiguration - Error loading config, possible cause: This error was probably caused by a misconfiguration with the encrypted config.
org.json.JSONException: Illegal escape. at 436 [character 16 line 18]
                at org.json.JSONTokener.syntaxError(JSONTokener.java:505)
                at org.json.JSONTokener.nextString(JSONTokener.java:353)
                at org.json.JSONTokener.nextValue(JSONTokener.java:428)
                at org.json.JSONObject.<init>(JSONObject.java:245)
                at org.json.JSONTokener.nextValue(JSONTokener.java:431)
                at org.json.JSONObject.<init>(JSONObject.java:245)
                at org.json.JSONTokener.nextValue(JSONTokener.java:431)
                at org.json.JSONObject.<init>(JSONObject.java:245)
                at org.json.JSONObject.<init>(JSONObject.java:399)
                at com.twx.integration.IntegrationRuntimeConfiguration.readEncryptedConfiguration(IntegrationRuntimeConfiguration.java:214)
                at com.twx.integration.IntegrationRuntimeConfiguration.getInstance(IntegrationRuntimeConfiguration.java:145)
                at com.twx.integration.route.IntegrationEngine.<init>(IntegrationEngine.java:53)
                at com.twx.integration.Entrypoint.start(Entrypoint.java:37)
                at io.vertx.core.AbstractVerticle.start(AbstractVerticle.java:106)
                at io.vertx.core.Verticle.start(Verticle.java:66)
                at io.vertx.core.impl.DeploymentManager.lambda$doDeploy$8(DeploymentManager.java:556)
                at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
                at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38)
                at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
                at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:510)
                at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:518)
                at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044)
                at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
                at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
                at java.lang.Thread.run(Unknown Source)
This is a printer-friendly version of Article 325527 and may be out of date. For the latest version click CS325527