esp32吧 关注:1,691贴子:2,578
  • 0回复贴,共1

求问官方样例https_mbedtls无法运行怎么解决

只看楼主收藏回复

I (34280) My_https_client: 0...
I (35280) My_https_client: starting again! !
I (35280) My_https_client: connecting to http://www.howsmyssl.com:443...
I (35630) My_https_client: connected.
I (35630) My_https_client: performing the SSL/TLS handshake...
E (35630) My_https_client: mbedtls_ssl_handshake returned -0x6c00
E (35630) My_https_client: last error was: -0x6c00 - SSL - Internal error (eg, unexpected failure in lower-level module)
这是 log,怀疑是CA证书不对,因为试了另外一个官方样例 https_request 能正常请求到这个url
那么我在样例 https_request 想要请求"cn.bing.com/"返回了0x2700, 因为什么原因连接失败呢?


IP属地:广东1楼2024-04-14 23:49回复