首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >ThingWorx Azure物联网集线器连接器未入门

ThingWorx Azure物联网集线器连接器未入门
EN

Stack Overflow用户
提问于 2018-01-04 14:23:36
回答 1查看 322关注 0票数 1

我正在使用ThingWorx Azure IOT集线器连接器将thingworx连接到azure集线器。

我正在一台ThingWorx计算机上配置linux集线器连接器。

我的远程thingworx服务器在azure IOT连接器的conf文件中的配置如下:

代码语言:javascript
运行
复制
 transport.websockets {
    // ThingWorx platform application key
    app-key = "app-key"

    // One or more platforms can be specified here, comma separated
    platforms = "remote thingworx url here"
}

和健康检查也如下所示:

代码语言:javascript
运行
复制
health-check{
port =9009
}

现在,当我从终端运行azure-iot文件时,我在终端上没有得到输出。

当我尝试向浏览器中的9009端口发送请求时,它不工作。

我得到的错误日志是

代码语言:javascript
运行
复制
Error injecting constructor, java.lang.RuntimeException: Unable to bootstrap 
required extensions; see log for details
at com.thingworx.connectionserver.PlatformExtensionBootstrapImpl.<init>
(PlatformExtensionBootstrapImpl.java:51)
at 
com.thingworx.connectionserver.PlatformExtensionBootstrapImpl.class
(PlatformExtensionBootstrapImpl.java:40)
while locating com.thingworx.connectionserver.PlatformExtensionBootstrapImpl
at com.thingworx.connectionserver.ConnectionServerModule.configure
(ConnectionServerModule.java:47)
while locating com.thingworx.connectionserver.PlatformExtensionBootstrap
for the 4th parameter of com.thingworx.connectionserver.CXThingImpl.<init>(CXThingImpl.java:77)
at com.thingworx.connectionserver.CXThingImpl.class(CXThingImpl.java:47)
while locating com.thingworx.connectionserver.CXThingImpl
at 
com.thingworx.connectionserver.ConnectionServerModule.configure
(ConnectionServerModule.java:43)
 while locating com.thingworx.connectionserver.CXThing
Caused by: java.lang.RuntimeException: Unable to bootstrap required 
extensions; see log for details
    at com.thingworx.connectionserver.PlatformExtensionBootstrapImpl.abort
  (PlatformExtensionBootstrapImpl.java:285)
     at com.thingworx.connectionserver.PlatformExtensionBootstrapImpl.queryInstalledExtensions(PlatformExtensionBootstrapImpl.java:190)
    at com.thingworx.connectionserver.PlatformExtensionBootstrapImpl.<init>(PlatformExtensionBootstrapImpl.java:60)
    at com.thingworx.connectionserver.PlatformExtensionBootstrapImpl$$FastClassByGuice$$be072900.newInstance(<generated>)
    at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get
  (InternalFactoryToProviderAdapter.java:41)
    at 
 com.google.inject.internal.SingleParameterInjector.inject
 (SingleParameterInjector.java:38)
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-01-18 18:30:21

我终于能够解决这个问题了。

Thingworx的应用程序密钥不正确。

我更正了密钥,但这个错误不再出现。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48089761

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档