技术文章 - CS315765

无法连接到平台 "超时"。当 attmepting 连接 ThingWorx Connection Server 到 ThingWorx Platform 时,会出现错误

已修改: 13-Nov-2019   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • ThingWorx Connection Server 8.2 to 8.5
  • ThingWorx Platform 8.2 to 8.5

说明

  • 配置不正确 connection-server-<version>\conf\cxserver.conf 正在阻止连接服务器连接到平台
  • 无法将 ThingWorx Connection Server 连接到 ThingWorx Platform
    • ThingWorx Connection Server 控制台中观察到超时错误
  • ThingWorx Connection Server 控制台输出显示以下连接错误:
    • RuntimeException:无法连接到平台
      在 thingworx connectionserver PlatformImpl initializeOneTime (PlatformImpl .java:106)
      在 thingworx connectionserver 工具. initialize (AbstractLifecycle:16)
      在 thingworx connectionserver。 ConnectionServerDataPlane initPlatformClient (ConnectionServerDataPlane .java:92)
      在 thingworx 的 DispatchingEventChannel doEvent (DispatchingEventChannel:36)
      在 thingworx 中 AbstractEventChannel 应用(AbstractEventChannel .java:50)
      在 rx. 工具 ActionSubscriber onNext (ActionSubscriber java:39)
      在 rx. SafeSubscriber onNext (SafeSubscriber:134)
      在 rx 上。 OperatorObserveOn $ ObserveOnSubscriber,call (OperatorObserveOn:227)
      在 rx. ScheduledAction 运行(ScheduledAction:55)
      在 rx. ExecutorScheduler $ ExecutorSchedulerWorker。运行(ExecutorScheduler .java:107)
      在工具 ThreadPoolExecutor runWorker (ThreadPoolExecutor:1149)
      在工具 ThreadPoolExecutor $ Worker。运行(ThreadPoolExecutor .java:624)
      在 .java. run (Thread:748)
      由工具引起的: ExecutionException:工具并发。 TimeoutException:已超时
      在工具 CompletableFuture reportGet (CompletableFuture:357)
      工具并发 CompletableFuture get (CompletableFuture .java:1895)
      在 thingworx connectionserver PlatformImpl initializeOneTime (PlatformImpl .java:104)
      ...12个更多
      由工具引起的: TimeoutException:超时
      在 thingworx 中。 CompletableFutureDeadlineAdapter. notifyOfTimeout (CompletableFutureDeadlineAdapter .java:32)
      在 thingworx 中。 DeadlineManager notifyOfTimeout (实施)(DeadlineManager .java:133)
      在 thingworx。 DeadlineManager processDeadlines (DeadlineManager .java:79(实施)
      在 thingworx 中。 DeadlineManager (实施)。运行(DeadlineManager java:48)
      ...1个
这是文章 315765 的 PDF 版本,可能已过期。最新版本 CS315765