esp-mesh-lite icon indicating copy to clipboard operation
esp-mesh-lite copied to clipboard

mesh lite use http client call api error (AEGHB-702)

Open yel-best opened this issue 8 months ago • 5 comments

use esp-idf v5.1 use http client

When using http client to call API, there is a certain probability that the following error will appear. Although it is not 100%, it will appear occasionally. And it is found that if the node is at the front of the hierarchy, it is not easy to appear, but when it is at the back of the hierarchy, such as 5th and 6th layers, the problem will occur with a high probability, which makes me unable to understand


I (44236) MEM:    Biggest /     Free /    Total
         IRAM : [    1536 /     2819 /   347919]
         PSRAM : [ 6422528 /  6551512 /  6772424]

E (297708) esp-aes: Failed to allocate memory
E (297708) esp-tls-mbedtls: write error :-0x0001:
E (297708) transport_base: esp_tls_conn_write error, errno=Connection already in progress
E (297716) HTTP_CLIENT: Error write request
E (297722) app_lvgl_http: Failed to open connection to https://xxxxxxxx/api/xxxx/xxxxxxx?paging=true&page=1&limit=20
E (297735) app_lvgl_http: Failed to terminal api reponse.

yel-best avatar Jun 20 '24 08:06 yel-best