cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Azure IOT connecter error 9.3

VS_10112707
11-Garnet

Azure IOT connecter error 9.3

while using this command

set AZURE_IOT_OPTS=-Dconfig.file="C:\\Program Files (x86)\\ThingWorxFoundation\\_ThingWorx-Azure-IoT-Hub-Connector-4-2-0-5\\connector\\conf\\azure-iot.conf -Dlogback.configurationFile=C:\\Program Files (x86)\\ThingWorxFoundation\\_ThingWorx-Azure-IoT-Hub-Connector-4-2-0-5\\connector\\conf\\logback.xml"

 

2022-02-16 12:21:25.901 INFO Configure injector
2022-02-16 12:21:25.904 INFO Checking for protocol Guice module
2022-02-16 12:21:25.905 INFO Loading configuration
2022-02-16 12:21:25.961 ERROR Error loading config
java.lang.RuntimeException: Error encountered when loading configuration. This error was probably caused by a misconfiguration with the encrypted config file.
at com.thingworx.connectionserver.ConfigProvider.getOrLoadConfig(ConfigProvider.java:52)
at com.thingworx.connectionserver.ConnectionServer.createControlPlane(ConnectionServer.java:94)
at com.thingworx.connectionserver.ConnectionServer.start(ConnectionServer.java:111)
at com.thingworx.connectionserver.ConnectionServer.main(ConnectionServer.java:198)
Caused by: com.typesafe.config.ConfigException$IO: C:\Program Files (x86)\ThingWorxFoundation\_ThingWorx-Azure-IoT-Hub-Connector-4-2-0-5\connector\conf\azure-iot.conf -Dlogback.configurationFile=C:\Program Files (x86)\ThingWorxFoundation\_ThingWorx-Azure-IoT-Hub-Connector-4-2-0-5\connector\conf\logback.xml: java.io.FileNotFoundException: C:\Program Files (x86)\ThingWorxFoundation\_ThingWorx-Azure-IoT-Hub-Connector-4-2-0-5\connector\conf\azure-iot.conf -Dlogback.configurationFile=C:\Program Files (x86)\ThingWorxFoundation\_ThingWorx-Azure-IoT-Hub-Connector-4-2-0-5\connector\conf\logback.xml (The filename, directory name, or volume label syntax is incorrect)
at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:188)
at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:174)
at com.typesafe.config.impl.Parseable.parse(Parseable.java:299)
at com.typesafe.config.ConfigFactory.parseFile(ConfigFactory.java:688)
at com.thingworx.connectionserver.ConfigProvider.loadConfiguration(ConfigProvider.java:89)
at com.thingworx.connectionserver.ConfigProvider.getOrLoadConfig(ConfigProvider.java:37)
... 3 common frames omitted
Caused by: java.io.FileNotFoundException: C:\Program Files (x86)\ThingWorxFoundation\_ThingWorx-Azure-IoT-Hub-Connector-4-2-0-5\connector\conf\azure-iot.conf -Dlogback.configurationFile=C:\Program Files (x86)\ThingWorxFoundation\_ThingWorx-Azure-IoT-Hub-Connector-4-2-0-5\connector\conf\logback.xml (The filename, directory name, or volume label syntax is incorrect)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
at com.typesafe.config.impl.Parseable$ParseableFile.reader(Parseable.java:638)
at com.typesafe.config.impl.Parseable.reader(Parseable.java:99)
at com.typesafe.config.impl.Parseable.rawParseValue(Parseable.java:231)
at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:180)
... 8 common frames omitted
2022-02-16 12:21:25.961 ERROR Unable to start ConnectionServer
java.lang.RuntimeException: Error encountered when loading configuration. This error was probably caused by a misconfiguration with the encrypted config file.
at com.thingworx.connectionserver.ConfigProvider.getOrLoadConfig(ConfigProvider.java:52)
at com.thingworx.connectionserver.ConnectionServer.createControlPlane(ConnectionServer.java:94)
at com.thingworx.connectionserver.ConnectionServer.start(ConnectionServer.java:111)
at com.thingworx.connectionserver.ConnectionServer.main(ConnectionServer.java:198)
Caused by: com.typesafe.config.ConfigException$IO: C:\Program Files (x86)\ThingWorxFoundation\_ThingWorx-Azure-IoT-Hub-Connector-4-2-0-5\connector\conf\azure-iot.conf -Dlogback.configurationFile=C:\Program Files (x86)\ThingWorxFoundation\_ThingWorx-Azure-IoT-Hub-Connector-4-2-0-5\connector\conf\logback.xml: java.io.FileNotFoundException: C:\Program Files (x86)\ThingWorxFoundation\_ThingWorx-Azure-IoT-Hub-Connector-4-2-0-5\connector\conf\azure-iot.conf -Dlogback.configurationFile=C:\Program Files (x86)\ThingWorxFoundation\_ThingWorx-Azure-IoT-Hub-Connector-4-2-0-5\connector\conf\logback.xml (The filename, directory name, or volume label syntax is incorrect)
at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:188)
at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:174)
at com.typesafe.config.impl.Parseable.parse(Parseable.java:299)
at com.typesafe.config.ConfigFactory.parseFile(ConfigFactory.java:688)
at com.thingworx.connectionserver.ConfigProvider.loadConfiguration(ConfigProvider.java:89)
at com.thingworx.connectionserver.ConfigProvider.getOrLoadConfig(ConfigProvider.java:37)
... 3 common frames omitted
Caused by: java.io.FileNotFoundException: C:\Program Files (x86)\ThingWorxFoundation\_ThingWorx-Azure-IoT-Hub-Connector-4-2-0-5\connector\conf\azure-iot.conf -Dlogback.configurationFile=C:\Program Files (x86)\ThingWorxFoundation\_ThingWorx-Azure-IoT-Hub-Connector-4-2-0-5\connector\conf\logback.xml (The filename, directory name, or volume label syntax is incorrect)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
at com.typesafe.config.impl.Parseable$ParseableFile.reader(Parseable.java:638)
at com.typesafe.config.impl.Parseable.reader(Parseable.java:99)
at com.typesafe.config.impl.Parseable.rawParseValue(Parseable.java:231)
at com.typesafe.config.impl.Parseable.parseValue(Parseable.java:180)
... 8 common frames omitted

1 REPLY 1

 Hi,

 

A similar error is described in this article - "ThingWorx IntegrationRuntime fails to connect to ThingWorx with "Error loading config"": https://www.ptc.com/en/support/article/CS325527 

Top Tags