me-no-dev / AsyncTCP

Async TCP Library for ESP32
GNU Lesser General Public License v3.0
714 stars 426 forks source link

Problem when connecting via WIFIAP #179

Closed butaikis closed 6 months ago

butaikis commented 7 months ago

Hi @me-no-dev , there is a problem when connecting to ESP32 via WiFiAp, the page does not load. It freezes constantly and then reboots. I tried to turn off the watchdog timer, but it didn't do anything. The problem is with WIFIAp, when accessed via ETH, WI-FI STA, everything loads well. Below are the last lines of the log. Maybe there is a way to solve it?

V (34276) esp_littlefs: ------------------------ Sem Taking [async_tcp]␛[0m
V (34283) esp_littlefs: --------------------->>> Sem Taken [async_tcp]␛[0m
V (34290) esp_littlefs: ---------------------<<< Sem Give [async_tcp]␛[0m
V (34296) esp_littlefs: ------------------------ Sem Taking [async_tcp]␛[0m
V (34303) esp_littlefs: --------------------->>> Sem Taken [async_tcp]␛[0m
V (34309) esp_littlefs: ---------------------<<< Sem Give [async_tcp]␛[0m
V (34316) esp_littlefs: ------------------------ Sem Taking [async_tcp]␛[0m
V (34323) esp_littlefs: --------------------->>> Sem Taken [async_tcp]␛[0m
V (34329) esp_littlefs: ---------------------<<< Sem Give [async_tcp]␛[0m
V (34336) esp_littlefs: ------------------------ Sem Taking [async_tcp]␛[0m
V (34342) esp_littlefs: --------------------->>> Sem Taken [async_tcp]␛[0m
V (34349) esp_littlefs: ---------------------<<< Sem Give [async_tcp]␛[0m
␛[0;31mE (43394) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:␛[0m
␛[0;31mE (43394) task_wdt:  - async_tcp (CPU 0/1)␛[0m
␛[0;31mE (43394) task_wdt: Tasks currently running:␛[0m
␛[0;31mE (43394) task_wdt: CPU 0: IDLE␛[0m
␛[0;31mE (43394) task_wdt: CPU 1: IDLE␛[0m
␛[0;31mE (43394) task_wdt: Aborting.␛[0m

abort() was called at PC 0x4015c8d8 on core 0
butaikis commented 6 months ago

The problem is solved by changing the file https://github.com/me-no-dev/AsyncTCP/blob/ca8ac5f919d02bea07b474531981ddbfd64de97c/src/AsyncTCP.cpp#L98

change 32 to 64

stevesch commented 6 months ago

Where are these fixes going? I don’t see any recent commits in the main repo.

On Wed, Mar 20, 2024 at 1:43 AM butaikis @.***> wrote:

Closed #179 https://github.com/me-no-dev/AsyncTCP/issues/179 as completed.

— Reply to this email directly, view it on GitHub https://github.com/me-no-dev/AsyncTCP/issues/179#event-12181318403, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF4UI3T3FEPGBXF236XHUITYZFD3HAVCNFSM6AAAAABEJBB7SKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGE4DCMZRHA2DAMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>