Re: mbedtls_ssl_handshake returned -0x7780 Postbysentionic»Mon Apr 21, 2025 12:46 pm Some servers require SNI and if ```config.skip_cert_common_name_check = true;``` is set, this can also lead to the -0x7780 error. 4 posts • Page1of1 Return to “General Discussion” Jump to Who is online Users browsing this forum:Baidu ...
Then I tracked the source code and ran and found that each request took less than esp_mbedtls_handshake E (9881) esp-tls-mbedtls: ---start = 9270ms esp_mbedtls_handshake I (10691) esp-x509-crt-bundle: Certificate validated E (15741) esp-tls-mbedtls: ---end =15130ms esp_mbedtls_hand...
E (35630) My_https_client: mbedtls_ssl_handshake returned -0x6c00E (35630) My_https_client: last error was: -0x6c00 - SSL - Internal error (eg, unexpected failure in lower-level module)这是log,怀疑是CA证书不对,因为试了另外一个官方样例 https_request 能正常请求到这个url那么我在样例 ...
更改动态申请后有时也会出现 Dynamic Impl: alloc(zu bytes) failed I (11916) coreMQTT: Establishing a TLS session to a22kpq659tmps7-ats.iot.us-west-2.amazonaws.com:8883. E (14496) Dynamic Impl: alloc(zu bytes) failed E (14496) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x7F00 ...
Re: mbedtls_ssl_handshake returned -0x7200 Fri May 06, 2022 11:51 am 你好,我想请问一下你在这个esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x7200; esp-tls: Failed to open new connection;TRANSPORT_BASE: Failed to open a new connection这些问题中你是如何解决的,可以告诉我吗,因为我也遇...
ESP_LOGE(TAG,"mbedtls_ssl_handshake returned -0x%04X", -ret); mbedtls_print_error_msg(ret); tls->conn_state = ESP_TLS_FAIL;returnret; } }return0; }
tls->write = esp_mbedtls_write; int ret; while ((ret = mbedtls_ssl_handshake(&tls->ssl)) != 0) { if (ret != ESP_TLS_ERR_SSL_WANT_READ && ret != ESP_TLS_ERR_SSL_WANT_WRITE) { ESP_LOGE(TAG, "mbedtls_ssl_handshake returned -0x%04X", -ret); ...
Googling I foundthiswhich suggests to enable mbedtls debugging. Please, how can I do this, or can you suggest what could be causing the mbedtls_ssl_handshake returned -0x7280? Thanks for any help Sketch //This sketch provide the functionality of OTA Firmware Upgrade#include"WiFi.h"#include"...
E (546560) esp-x509-crt-bundle: PK verify failed with error FFFFBD70 E (546560) esp-x509-crt-bundle: Failed to verify certificate E (546560) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x3000 E (546570) esp-tls: Failed to open new connection E (546570) TRANSPORT_BASE: Failed to...
在轮训调用mbedtls_ssl_handshake的时候,SSL底层会自动的执行握手协议的发送,接收和解析 发送和接收解析就是使用的这两个函数 11.SSL握手成功以后发送连接MQTT消息 注:握手成功以后加密已经协商好了,咱只需要把数据传递给mbedtls_ssl_write函数 然后底层把数据加密之后通过咱配置的发送数据函数发送出去 ...