BasicDiscovery.py unable to publish messages

0

Seeing below error in GGConnManager.log -

For the device -publisher, I used AmazonRootCA1.pem for rootCA. not sure why the connection error says unknow CA

[ERROR]-MQTT message decoding error: unable to decode received MQTT message. {"errorString": "remote error: tls: unknown certificate authority"}

Any help is appreciated

質問済み 2年前223ビュー
1回答
0

Hi. It seems you are using GGv1. Please be aware that GGv1 is now in maintenance mode and GGv2 is recommended for any new development. Please consider to follow this tutorial instead: https://docs.aws.amazon.com/greengrass/v2/developerguide/client-devices-tutorial.html

That said, the BasicDiscovery.py script in the Python V1 SDK should perform Greengrass discovery and retrieve the GGv1 group CA (https://github.com/aws/aws-iot-device-sdk-python/blob/master/samples/greengrass/basicDiscovery.py#L106). It should then use the group CA to connect to the GGv1 core (https://github.com/aws/aws-iot-device-sdk-python/blob/master/samples/greengrass/basicDiscovery.py#L150). But it looks like it's finding and using the wrong group CA.

profile pictureAWS
エキスパート
Greg_B
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ