Article - CS378797

IOT Gateway fails communicating with error "MQTT agent <agentName> disconnected - reason 'null' " in PTC Kepware Products

Modified: 17-Jan-2025   


Applies To

  • Kepware Server (formerly KEPServerEX) 5.20.396.0 to 6.17
  • ThingWorx Kepware Server (legacy) 8.0 to 6.17

Description

  • IoT Gateway Agent with an MQTT Client Type connecting to Azure IoT Hub receiving "MQTT agent <agentName> disconnected - reason 'null'" error in event log
  • Communication stops after some time after initially working fine
  • Azure is closing the TCP socket after windows host of Kepware does a client key exchange / change cipher spec as part of SSL/TLS negotiation
This is a printer-friendly version of Article 378797 and may be out of date. For the latest version click CS378797