[ESP32 WROVER] esp_http_client.c socket problem.

keesus
Posts: 2
Joined: Thu Mar 14, 2019 8:51 am

[ESP32 WROVER] esp_http_client.c socket problem.

Postby keesus » Thu Mar 14, 2019 8:52 am

Hi. With esp_http_client.c,
When I try to make http connections over 10, I always see following error.

E (51355) TRANS_TCP: Error create socket
E (51365) HTTP_CLIENT: Connection failed, sock < 0
E (51365) HTTP_CLIENT: HTTP POST request failed: ESP_ERR_HTTP_CONNECT


I tried esp_http_client_cleanup() but nothing changed. Also I'm aware of that there is an related option in sdkconfig to increase maximum socket number but not perfect solution due to my application requirements.

what am i supposed to do ?

Thanks.

Return to “ESP32 IDF”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 15 guests