アーティクル - CS318801
エラー「[xxx] の MQTT に接続できません: サーバーからの応答を待機中にタイムアウトしました」が発生し、ThingWorx プラットフォームで接続済みとして表示されない Things の MQTT/MQTTConnection に影響します
修正日: 01-Nov-2024
適用対象
- ThingWorx Platform 8.5 to 9.4
説明
- Things のMQTT / MQTTConnectionテンプレートが接続済みとして表示されない
- MQTT 拡張機能 v2.1.0 は ThingWorx 9.x では動作しません
- ThingWorx 8.4.xでは問題は発生しません
- MQTTまたはMQTTConnectionテンプレートのプロパティisConnected 、 lastConnection が更新されない
- 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