Page 1 of 1

HTTP CALL FAILS

Posted: Fri Apr 19, 2019 1:23 pm
by Ritu21
Hi,

All Http call fails after below error:

esp-tls: mbedtls_ssl_setup returned -0x7f00
E (1099343) esp-tls: Failed to open new connection
E (1099343) TRANS_SSL: Failed to open a new connection
E (1099353) HTTP_CLIENT: Connection failed, sock < 0
E (1099353) http_client: Device Health request failed: ESP_ERR_HTTP_CONNECT
E (1099443) esp-tls: mbedtls_ssl_setup returned -0x7f00


E (1099443) esp-tls: Failed to open new connection
E (1099453) TRANS_SSL: Failed to open a new connection
E (1099453) HTTP_CLIENT: Connection failed, sock < 0


What does this means?? How to handle such errors as it happens many a times with different error no??

Thanks
Ritu.

Re: HTTP CALL FAILS

Posted: Mon Apr 22, 2019 10:09 am
by Ritu21
Waiting for your response!!!

Re: HTTP CALL FAILS

Posted: Mon Apr 22, 2019 1:36 pm
by fly135
Do you know if the Wifi connected when those errors occur?

Re: HTTP CALL FAILS

Posted: Mon Apr 22, 2019 1:58 pm
by Ritu21
Yes, wifi is connected.

Re: HTTP CALL FAILS

Posted: Mon Apr 11, 2022 10:52 pm
by efisio.bova
Try incrementing MAX_HTTP_RECV_BUFFER. It resolved for me.

Code: Select all

#define MAX_HTTP_RECV_BUFFER 2048