Unexpected revc length error
Closed this issue · 3 comments
Hphipps commented
Hphipps commented
Looks like this line is causing the error. Does anyone know how to fix this?
auto connect_status = IotMqtt_Connect(&network_info, &connect_info, /* timeout ms */ MQTT_TIMEOUT_MS, &connection);
boraozgen commented
This seems to be a issue with your AWS IoT policy. Test if it works with a less strict policy, such as:
{
"Effect": "Allow",
"Action": "iot:*",
"Resource": "*"
}
Hphipps commented
Looks like that fixed the issue. Thanks for the help.
