Search found 2 matches

by janav1
Fri Apr 23, 2021 3:09 pm
Forum: ESP8266 SDK
Topic: esp_http_client returns error (cant connect)
Replies: 2
Views: 1259

Re: esp_http_client returns error (cant connect)

Thank you for your response. I am using the latest version (v3.4) and I figured out, that the issue is with TLS component, enabling TLS in MQTTClient causes same issue. As I am not providing the certificate in the config (because I dont need to verify the server), the connection fails. This should b...
by janav1
Tue Dec 29, 2020 4:32 pm
Forum: ESP8266 SDK
Topic: esp_http_client returns error (cant connect)
Replies: 2
Views: 1259

esp_http_client returns error (cant connect)

Hi, I am trying to use esp_http_client with ESP8266 RTOS SDK v3.3 to perform HTTP POST using TLS, but the library fails with error: <ESC>[0;31mE (127251) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x4c<ESC>[0m<CR><LF> <ESC>[0;31mE (127255) esp-tls: Failed to open new connection<ESC>[0m<CR><LF>...

Go to advanced search