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

Cannot exit OTA when disconnect with wifi hostpot (IDFGH-2916) #4960

Closed
binhla opened this issue Mar 19, 2020 · 3 comments
Closed

Cannot exit OTA when disconnect with wifi hostpot (IDFGH-2916) #4960

binhla opened this issue Mar 19, 2020 · 3 comments

Comments

@binhla
Copy link

binhla commented Mar 19, 2020

Environment

  • Module or chip used: ESP32-WROOM-32D
  • IDF version: v4.1-dev-2055-gf5b82c5b1
  • Build System: Make
  • Compiler version: xtensa-esp32-elf-gcc.exe (crosstool-NG esp-2019r2) 8.2.0
  • Operating System: Windows
  • (Windows only) environment type: MSYS2 mingw32
  • Using an IDE: NO
  • Power Supply: external 5V

Problem Description

When tried to FOTA my ESP32 device via a HTTP server, i tested to turn off my wifi hostpot (from my pc). And it seem like ESP32 stucked in this error

E (53821) TRANS_TCP: tcp_poll_read select error 0, errno = Success, fd = 55
E (53831) TRANS_TCP: tcp_poll_read select error 0, errno = Success, fd = 55
E (53831) TRANS_TCP: tcp_poll_read select error 0, errno = Success, fd = 55
E (53841) TRANS_TCP: tcp_poll_read select error 0, errno = Success, fd = 55
E (53851) TRANS_TCP: tcp_poll_read select error 0, errno = Success, fd = 55
E (53861) TRANS_TCP: tcp_poll_read select error 0, errno = Success, fd = 55
E (53861) TRANS_TCP: tcp_poll_read select error 0, errno = Success, fd = 55

any idea, and how to fix this. I dont want to have reset the ESP32 by reset button or turn off the device

Steps to reproduce

  1. step1: running native ota example with your wifi hostpot or router ssid/pass
  2. step2: turn off your hostpot or router
@github-actions github-actions bot changed the title Cannot exit OTA when disconnect with wifi hostpot Cannot exit OTA when disconnect with wifi hostpot (IDFGH-2916) Mar 19, 2020
@Alvin1Zhang
Copy link
Collaborator

@binhla Thanks for reporting. Would you please help provide more details as suggested in the issue template? Information like elf, sdk configuration, backtrace, log outputs, commit ID, hardware and etc. would help us debug further. Thanks.

@binhla binhla closed this as completed Mar 19, 2020
@binhla binhla reopened this Mar 19, 2020
@binhla
Copy link
Author

binhla commented Mar 19, 2020

@binhla Thanks for reporting. Would you please help provide more details as suggested in the issue template? Information like elf, sdk configuration, backtrace, log outputs, commit ID, hardware and etc. would help us debug further. Thanks.

Dears, thanks for replying, i added some information, sorry that i cannot share my code

@Alvin1Zhang
Copy link
Collaborator

@binhla Thanks for reporting, we have a fix internally under reviewing now, will update once it is available on GitHub. Thanks.

espressif-bot pushed a commit that referenced this issue Jul 18, 2020
espressif-bot pushed a commit that referenced this issue Sep 10, 2020
espressif-bot pushed a commit that referenced this issue Sep 10, 2020
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

2 participants