Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS OTA Example Core MQTT Error WiFi Disconnect (CA-314) #201

Open
plajarma opened this issue Oct 9, 2023 · 0 comments
Open

AWS OTA Example Core MQTT Error WiFi Disconnect (CA-314) #201

plajarma opened this issue Oct 9, 2023 · 0 comments

Comments

@plajarma
Copy link

plajarma commented Oct 9, 2023

I'm running the demo code provided with esp-aws-iot (mqtt_demo) and after the firmware update is finished, it appears to first disconnect from the wireless access point and then try to close the MQTT connection resulting in error. Is this an issue with the library or are the disconnections done in the wrong order in the example provided? Has anyone else experienced this issue?

W (20147) wifi:idx
I (20147) wifi : new : <9,0>, old:<9,1>, ap:<255,255>, sta:<9,1>, prof:1
W (20157) wifi:hmac tx: ifx0 stop, discard
W (20157) wifi:hmac tx: ifx0 stop, discard
E (20157) esp-tls-mbedtls: read error :-0x004C:
E (20167) coreMQTT: Call to receiveSingleIteration failed. Status=MQTTRecvFailed
I (20157) OTA_MQTT: retry to connect to the AP
I (20177) OTA_MQTT: connect to the AP fail
E (20177) AWS_OTA: MQTT_ProcessLoop returned with status = MQTTRecvFailed.
I (20187) AWS_OTA: Disconnecting the MQTT connection with [endpoint].iot.us-east-1.amazonaws.com.
E (20197) esp-tls-mbedtls: write error :-0x004E:
E (20207) coreMQTT: sendBuffer: Unable to send packet: Network Error.
E (20207) coreMQTT: Transport send failed for DISCONNECT packet.
I (20207) wifi:flush txq
I (20217) wifi:stop sw txq
I (20227) wifi:lmac stop hw txq
ets Jun 8 2016 00:22:57

Any kind of help will be appreciated.
Thanks in advance.
Best regards.

@github-actions github-actions bot changed the title AWS OTA Example Core MQTT Error WiFi Disconnect AWS OTA Example Core MQTT Error WiFi Disconnect (CA-314) Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant