3 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
2
You need to check whether the policy attached to that certificate allows the device to perform the operation your code is doing on the necessary resources. Assuming you're publishing into a specific topic, the policy needs to allow an iot:Publish
action on that topic (or covered by a wildcard).
1
Hello Eric,
you should enable logging for IoT Core. Then you might find information about what happens in CloudWatch logs.
You should also validate the IoT policy attached to your device certificate. If the MQTT client violates this policy, for example by sending a not permitted client ID it will be disconnected.
Cheers,
Philipp
0
Thank you both for your quick answers. I had not actually attached my certificates to the policy I created... Regards, Eric
beantwortet vor einem Jahr
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
- Wie veröffentliche ich MQTT-Nachrichten von meinem Gerät auf AWS IoT Core, wenn ich Python verwende?AWS OFFICIALAktualisiert vor 3 Jahren