Errore "Impossibile connettersi a MQTT in [<Thing Name> ] : Timeout in attesa di una risposta dal server che influisce su MQTT/MQTTConnection in Things non visualizzato come connesso in ThingWorx Platform
Si applica a
- ThingWorx Platform 8.5 to 9.4
Descrizione
- Il modello MQTT/MQTTConnection in Things non viene visualizzato come connesso
- L'estensione MQTT v2.1.0 non funziona con ThingWorx 9.x
- Il problema non si verifica con ThingWorx 8.4.x
- Proprietà isConnected , lastConnection di MQTT o modello MQTTConnection Thing non vengono mai aggiornate
- Errori in ThingWorx <ThingworxStorage>\logs\ApplicationLog.log :
- Con il modello MQTT (xxx è il nome del modello MQTT )
[L: WARN] [O: c.t.t.m.MQTTThing] [I: ] [U: ] [S: ] [P: ] [T: MQTT Rec: /Thingworx//xxx] Lost MQTT Connection For [<Thing Name>] : 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 [<Thing Name>] : Cause Was null [L: ERROR] [O: c.t.t.m.MQTTThing] [I: ] [U: ] [S: ] [P: ] [T: Thread-53] Unable to connect to MQTT in [<Thing Name>] : 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 <Thing Name> : Connect already in progress
- Con il modello MQTTConnection (xxx è il nome del modello MQTTConnection )
[L: WARN] [O: c.t.t.m.MQTTConnectionThing] [I: ] [U: ] [S: ] [P: ] [T: MQTT Rec: /Thingworx//<Thing Name> Lost MQTT Connection For [<Thing Name>] : Cause Was Connection lost
- Il server MQTT si connette e si disconnette continuamente