我正在尝试部署一个 greengrass 组,但部署仍在继续(正在进行中)。我面临的错误是:
- “MQTT 客户端无法连接到代理”
- MQTT[client] x509: 未知权威签署的证书
- 请求的证书加载 [file:///greengrass/certs/a9029bd10f.cert.pem] 错误:[]
- [INFO] - 未找到代理 URL。
- 请求的证书加载 [file:///greengrass/certs/root.ca.pem] 错误:[] 我认为这些是在部署中造成问题。下面是
runtime.log
. 我在 Windows 10 上使用 AWS IOT Greengrass。请帮助我。
[2020-01-18T04:49:58.036Z][DEBUG]-[3]Requested certificate load [file:///greengrass/certs/root.ca.pem] with error: [<nil>]
[2020-01-18T04:49:58.037Z][DEBUG]-[3]Requested key load [file:///greengrass/certs/a9029bd10f.private.key] with error: [<nil>]
[2020-01-18T04:49:58.038Z][DEBUG]-[3]Requested certificate load
[file:///greengrass/certs/a9029bd10f.cert.pem] with error: [<nil>]
[2020-01-18T04:49:58.038Z][INFO]-Started Deployment Agent to listen for updates.
[2020-01-18T04:49:58.038Z][INFO]-Connecting with MQTT. {"endpoint": "a2fhwgkt3lz1ij-ats.iot.us-east-1.amazonaws.com:8883", "clientId": "myproject_Core"}
[2020-01-18T04:49:58.038Z][DEBUG]-MQTT connection attempt. {"attemptId": "YNTA", "clientId": "myproject_Core"}
[2020-01-18T04:49:58.038Z][DEBUG]-New MQTT connection attempt
[2020-01-18T04:49:58.038Z][DEBUG]-Acquired lock for connection attempt
[2020-01-18T04:49:58.038Z][DEBUG]-Disconnect client {"force": false}
[2020-01-18T04:49:58.648Z][WARN]-MQTT[client] x509: certificate signed by unknown authority
[2020-01-18T04:49:58.648Z][WARN]-MQTT[client] Failed to connect to a broker