aws / aws-iot-device-sdk-embedded-C

SDK for connecting to AWS IoT from a device using embedded C.
MIT License
978 stars 625 forks source link

SHADOW_ACK_TIMEOUT in response to shadow update via aws_iot_shadow_update #1800

Closed rinkuwithsingh1 closed 2 years ago

rinkuwithsingh1 commented 2 years ago

Hi,

Looks like whenever our device is updating the shadow via AWS IOT Embedded C SDK library's aws_iot_shadow_update() API, the callback always returning SHADOW_ACK_TIMEOUT error. All other devices on the same firmware and on the same wifi network are working fine. Se because of this callback timeout error, the device firmware is always trying to update the shadow in the cloud continuously. We also found that the when the device updates the shadow, the shadows's desired and reported states are getting updated successfully by the device every time, but still the response ACK is not reaching to the device and the corresponding callback always returning the timeout error.

Thank you!

johnrhen commented 2 years ago

Thanks for reaching out - we're looking into this issue. What version of the SDK are you using?

Can you provide more information about the device? You mentioned that other devices with the same firmware and on the same wifi network are working fine - are these devices identical?

Additionally, if you could post your logs which contain the error (and remove any private information), that would help us with debugging.

johnrhen commented 2 years ago

Closing due to inactivity. Please re-open if you have any further questions.