Closed pegasus-automation closed 2 years ago
Hi @pegasus-automation,
It looks like the core is discovered but the MQTT connection is unable to be established. Have you configured your device with sufficient permissions, as described here? You might be missing a statement like
{
"Effect": "Allow",
"Action": [
"greengrass:*"
],
"Resource": "*"
}
for Greengrass or a similar one for IoT in your device's policy
Yes this permission is given in the policy @muneebahmed10
Can you review this document and make sure the "Client device auth" component is configured? https://docs.aws.amazon.com/greengrass/v2/developerguide/client-devices-tutorial.html#enable-client-device-support
@n9wxu as you can see in the image attached the "client device auth" is running.
@pegasus-automation you still need to configure the component. Simply deploying it is not enough. I'd suggest going through the tutorial. It's very likely you're missing something that will be outlined there.
Are you still facing this issue?
Hello @pegasus-automation , I am closing this issue now, please reopen on the same topic or create a new one for other.
greengrass_discovery demo unable to make MQTT connection.
I am trying to run greengrass connectivity demo. With the components as shown in the attached image below. But while running the demo it is unable to make MQTT Connection.
System information
References
The image has all the components active in my core device.
Below is the error printed while running the demo code