アーティクル - CS401148

ThingWorx Navigate で ODataConnector を使用してカスタム サービスを実行すると、「ルート交換に失敗しました。リソース エラー [読み取りタイムアウト]」が発生する

修正日: 03-Jan-2025   


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

適用対象

  • Windchill Navigate (formerly ThingWorx Navigate) 9.3 to 9.6
  • ThingWorx Platform 9.3 to 9.6

説明

  • 以下のスクリーンショットに示すように、ODataConnector の読み取りタイムアウトのエラーが発生し、カスタム サービスを実行できません。
Your route exchange has failed.  Resource Error [Read timed out]
カスタムサービス GetDownloadZip.jpg
  • 統合ランタイム サービスは次のエラーを報告します:
ERROR c.t.i.r.IntegrationEngine - Exchange process failed with exception thrown : Your route exchange has failed.  Resource Error [Read timed out]
java.lang.RuntimeException: Your route exchange has failed.  Resource Error [Read timed out]
at com.twx.integration.route.exceptions.ExceptionHelper.convertToRuntimeException(ExceptionHelper.java:77)
at com.twx.integration.route.IntegrationEngine.dispatchRoute(IntegrationEngine.java:164)
at com.twx.integration.client.things.IntegrationRuntimeServer.Invoke(IntegrationRuntimeServer.java:72)
at jdk.internal.reflect.GeneratedMethodAccessor133.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.thingworx.common.processors.ReflectionProcessor.processService(ReflectionProcessor.java:230)
at com.thingworx.communications.client.things.VirtualThing.invokeService(VirtualThing.java:1126)
at com.thingworx.communications.client.things.VirtualThing.handleServiceRequest(VirtualThing.java:1034)
at com.thingworx.communications.client.ConnectedThingClient.handleRequest(ConnectedThingClient.java:315)
at com.thingworx.communications.client.processor.ClientProcessorTask.run(ClientProcessorTask.java:55)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
  • WSCommunicationsSubsystem のアイドル接続タイムアウトは 300 秒 (5 分) に設定されています
  • OutboundTimeout はintegrationRuntime-settings.jsonで設定されていないため、デフォルトで 30 秒になります。
  • サービスを実行すると、ルート交換が失敗し、読み取りタイムアウトエラーが発生します。
最新バージョンはこちらを参照ください CS401148