アーティクル - CS271012

ThingWorx Analytics アプリケーション キーが間違っているため、ThingWorx でモノが作成されない

修正日: 07-Feb-2024   


注記:ここに記載されている情報は、お客様の利便性向上のため機械翻訳ソフトを使用しています。PTCは、ここに記載されている情報の翻訳の正確性について、一切の責任を負いませんので、ご了承ください。英語の原文を参照するには、こちら。この機械翻訳に関する詳細は、こちら。
お知らせいただき、ありがとうございます。この機械翻訳をレビューします。

適用対象

  • ThingWorx Analytics 8.1 to 9.5

説明

  • <prefix>-AnalyticsServer-DataThing などの予期されるマイクロ サービス モノがインストール後に作成されない
  • ThingWorx Analytics サーバーにアクセスできません
  • ThingWorx Analytics サーバーを再起動できません
  • ThingWorx Analytics Builder 経由でデータをアップロードできない
    • TWA_Upload401.png
  • シナリオとバージョンに応じて、次のようなさまざまなエラーが表示される場合があります。
  • ThingWorx Analytics Builder で次のエラーが発生しました
    An Analytics Server is not configured. Navigate to the Settings page and configure a ThingWorx Analytics Server adapter
  • twas-twx-adapter.logファイルのレポート
    • com.thingworx.analytics.css.platform.http.BadResponseException: HTTP [401] :
          at com.thingworx.analytics.css.platform.http.RestService.httpSubmitAsJson(RestService.java:133)
          at com.thingworx.analytics.css.platform.http.RestService.httpGetAsJson(RestService.java:36)
          at com.thingworx.analytics.css.platform.services.ThingService.getThing(ThingService.java:100)
          at com.thingworx.analytics.edge.application.AnalyticsGateway.safeGetThing(AnalyticsGateway.java:153)
          at com.thingworx.analytics.edge.application.AnalyticsGateway.safeCreateThing(AnalyticsGateway.java:135)
          at com.thingworx.analytics.edge.application.AnalyticsGateway.registerToFoundation(AnalyticsGateway.java:111)
          at com.thingworx.analytics.edge.application.AnalyticsEdgeVerticle.start(AnalyticsEdgeVerticle.java:96)

  • twas-twx-adapter.logに他のエラーが記録されている可能性があります
    • Error registering and binding to the platform HTTP [404] : Thing Template [PredictionMicroserver] does not exist

    • ERROR c.t.c.c.e.ClientCommunicationEndpoint - Refilling connections on [endpoint 0, uri: ws://XXXX/Thingworx/WS] failed : Connection authentication/registration FAILED [code: STATUS_UNAUTHORIZED, reason: Error [context: authenticating connection][cause: Application key 'TW.AnalysisServices.ApplicationUserKey' expired!]]

  • Tomcat アクセス ログ レポート
"GET /Thingworx/Things/<AnalyticsServer Thing Name> HTTP/1.1" 401 –

  • 考えられる関連エラー:
com.thingworx.analytics.ccc.platform.http.BadResponseException: HTTP [401] Unauthorized: Not authorized for Read



 com.thingworx.analytics.ccc.platform.http.BadResponseException: HTTP [401] Unauthorized: Not authorized for Create



 c.t.a.e.a.AnalyticsEdgeVerticle - Failed during startup
com.thingworx.analytics.ccc.platform.http.BadResponseException: HTTP [404] : Entity Not Found : [EntityServices]
    at com.thingworx.analytics.ccc.platform.http.RestService.httpSubmitAsJson(RestService.java:133)
    at com.thingworx.analytics.ccc.platform.http.RestService.httpPostAsJson(RestService.java:50)
    at com.thingworx.analytics.ccc.platform.services.ThingService.createThing(ThingService.java:63)
    at com.thingworx.analytics.edge.application.AnalyticsGateway.safeCreateThing(AnalyticsGateway.java:117)
    at com.thingworx.analytics.edge.application.AnalyticsGateway.registerToFoundation(AnalyticsGateway.java:83)
    at com.thingworx.analytics.edge.application.AnalyticsEdgeVerticle.start(AnalyticsEdgeVerticle.java:87)
    at io.vertx.core.impl.DeploymentManager.lambda$doDeploy$10(DeploymentManager.java:481)
    at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:344)
  • データセットのアップロード中にエラーを受け取りました
Creating copy of Data File...
Creating copy of Configuration File...
Submitting Create Dataset request...
Dataset Create Job with jobId: 1f622740-562b-4ad7-9b55-54733c9c31c6 in progress...
Dataset Create Job with jobId: 1f622740-562b-4ad7-9b55-54733c9c31c6 failed with error:
java.io.IOException: Unable to initialize FileRepository [AnalyticsUploadStorage] Unable to initialize FileRepository [AnalyticsUploadStorage] HTTP [401] : For issues, contact Technical Support and provide the following log tag: b596067f-8ea3-47a9-a975-dac08cb523b4

最新バージョンはこちらを参照ください CS271012