技術文章 - CS311902

ThingWorx Analytics - Edge.log reports HTTP 401 error and is unable to establish connection with ThingWorx Platform Server

修改時間: 16-Aug-2019   


套用到

  • ThingWorx Analytics 8.4 SP3

描述

  • ThingWorx Analytics Server Edge microservice cannot establish a connection to ThingWorx Platform Server
  • Error in Edge.log:
    • [vert.x-eventloop-thread-0] ERROR c.t.a.e.a.AnalyticsEdgeVerticle - Failed during startup
      com.thingworx.analytics.ccc.platform.http.BadResponseException: HTTP [401] : 
          at com.thingworx.analytics.ccc.platform.http.RestService.httpSubmitAsJson(RestService.java:133)
          at com.thingworx.analytics.ccc.platform.http.RestService.httpGetAsJson(RestService.java:36)
          at com.thingworx.analytics.ccc.platform.services.ThingService.getThing(ThingService.java:101)
          at com.thingworx.analytics.edge.application.AnalyticsGateway.safeGetThing(AnalyticsGateway.java:124)
          at com.thingworx.analytics.edge.application.AnalyticsGateway.safeCreateThing(AnalyticsGateway.java:106)
          at com.thingworx.analytics.edge.application.AnalyticsGateway.registerToFoundation(AnalyticsGateway.java:83)
          at com.thingworx.analytics.edge.application.AnalyticsEdgeVerticle.start(AnalyticsEdgeVerticle.java:88)
          at io.vertx.core.impl.DeploymentManager.lambda$doDeploy$10(DeploymentManager.java:481)
          at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:344)
          at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
          at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403)
          at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
          at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
          at java.lang.Thread.run(Thread.java:748)
  • No errors reported in ThingWorx Platform Server logs
This is a PDF version of Article 311902 and may be out of date. For the latest version CS311902