アーティクル - CS318801

エラー「[xxx] の MQTT に接続できません: サーバーからの応答を待機中にタイムアウトしました」が発生し、ThingWorx プラットフォームで接続済みとして表示されない Things の MQTT/MQTTConnection に影響します

修正日: 01-Nov-2024   


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

適用対象

  • ThingWorx Platform 8.5 to 9.4

説明

  • Things のMQTT / MQTTConnectionテンプレートが接続済みとして表示されない
  • MQTT 拡張機能 v2.1.0 は ThingWorx 9.x では動作しません
    • ThingWorx 8.4.xでは問題は発生しません
  • MQTTまたはMQTTConnectionテンプレートのプロパティisConnectedlastConnection が更新されない
  • ThingWorx <ThingworxStorage>\logs\ApplicationLog.logのエラー:
    • MQTTテンプレートのもの(xxxはMQTTテンプレートのものの名前)
    • [L: WARN] [O: c.t.t.m.MQTTThing] [I: ] [U: ] [S: ] [P: ] [T: MQTT Rec: /Thingworx//xxx] Lost MQTT Connection For [xxx] : Exception Was Connection lost
      [L: WARN] [O: c.t.t.m.MQTTThing] [I: ] [U: ] [S: ] [P: ] [T: MQTT Rec: /Thingworx//xxx] Lost MQTT Connection For [xxx] : Cause Was null
      [L: ERROR] [O: c.t.t.m.MQTTThing] [I: ] [U: ] [S: ] [P: ] [T: Thread-53] Unable to connect to MQTT in [xxx] : Timed out waiting for a response from the server
      [L: ERROR] [O: c.t.t.m.MQTTThing] [I: ] [U: ] [S: ] [P: ] [T: Thread-53] Unable to close client in MQTT Thing <xxx> : Connect already in progress
    • MQTTConnectionテンプレートのもの(xxxはMQTTConnectionテンプレートのものの名前)
    • [L: WARN] [O: c.t.t.m.MQTTConnectionThing] [I: ] [U: ] [S: ] [P: ] [T: MQTT Rec: /Thingworx//xxx] Lost MQTT Connection For [xxx] : Cause Was Connection lost
  • MQTT サーバーが継続的に接続と切断を繰り返す
最新バージョンはこちらを参照ください CS318801