I'm getting a MQTT disconnect message from AWS when trying to publish from the IoT > MQTT > Publish. I've duplicated setup with Node-RED locally and everything is working fine.
Code: Select all
{
"clientId": "knot",
"timestamp": 1630672799775,
"eventType": "disconnected",
"clientInitiatedDisconnect": false,
"disconnectReason": "DUPLICATE_CLIENTID",
"versionNumber": 1
}
AWS Policy below...
Code: Select all
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "iot:*",
"Resource": "*"
}
]
}