2
我正在嘗試訂閱aws中的mqtt broker。訂閱亞馬遜aws iot mqtt
對於訂閱我使用蚊子客戶端(版本1.4.11)。
命令是這樣的
mosquitto_sub.exe --cafile "path_to_ca" --cert "path_to_cert" --key "path_to_key" -h id1234.iot.ap-northeast-1.amazonaws.com -p 8883 -q 1 -d -t '$aws/things/DeviceTokyo/shadow/get' -i DeviceTokyoCMD
但我發現了以下回應
Client DeviceTokyoCMD sending CONNECT
Error: The connection was lost.