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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠