如上图!
mqttx提示如下:
[2024-09-29 16:26:13] [ERROR] Connection for xxx.xxx.xxx.xxx failed, MQTT.js onError trigger, Error: Error: unable to get local issuer certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)
at TLSSocket.emit (events.js:315:20)
at TLSSocket._finishInit (_tls_wrap.js:932:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)
[2024-09-29 16:26:13] [WARN] MQTTX force closed the connection xxx.xxx.xxx.xxx(Client ID: mqttx_5a0da6df)
[2024-09-29 16:26:13] [INFO] Connection for xxx.xxx.xxx.xxx closed, MQTT.js onClose trigger