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

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

! mbedtls_ssl_read returned -0x7880 #1842

Closed sandipmaurya closed 1 year ago

sandipmaurya commented 1 year ago

after ota with http get request getiing this error while publishing message

rawalexe commented 1 year ago

Can you please provide more information on the problem? Is it before the OTA completion or after the OTA completion. Furthermore do you also have logs on the problem?

johnrhen commented 1 year ago

That particular error code represents MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY, which indicates that you may be doing some sort of publish which IoT Core rejects, and they close the connection as a result. You'll might get this error code if you try to publish without publishing permissions, for example. What message are you trying to publish?

Reference: https://siliconlabs.github.io/Gecko_SDK_Doc/mbedtls/html/ssl_8h.html#ac5e16e4c94a7e4ba0cf6b95c4547ddb1

johnrhen commented 1 year ago

Hello - I'm closing this issue due to inactivity. Please feel free to reopen if you have any further questions.