使用https下载文件,浏览器可以正常下载。但是设备端(stm32f411)无法下载,报错显示mbedtls_client_read data error, return -0x7200
但已经将配置改为下列所示:
#define PKG_USING_MBEDTLS_DEBUG
#define MBEDTLS_AES_ROM_TABLES
#define MBEDTLS_ECP_WINDOW_SIZE 2
#define MBEDTLS_SSL_MAX_CONTENT_LEN 8192
#define MBEDTLS_MPI_MAX_SIZE 1024
#define MBEDTLS_CTR_DRBG_KEYSIZE 32
#define PKG_USING_MBEDTLS_V2710
调试日志如下
[D/mbedtls.clnt] Set debug level (2)
[D/mbedtls.clnt] mbedtls client struct init success...
[D/mbedtls.clnt] Loading the CA root certificate success...
[D/mbedtls.clnt] mbedtls client context init success...
[D/mbedtls.clnt] Connected t-cloud.ikeenon.com:443 success...
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:6850: => handshake
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3400: client state: 0
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2586: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3400: client state: 1
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2586: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:0777: => write client hello
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2867: => write record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2592: message length: 66, out_left: 66
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2599: ssl->f_send() returned 66 (-0xffffffbe)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2626: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3025: <= write record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:1100: <= write client hello
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3400: client state: 2
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2586: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:1493: => parse server hello
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3904: => read record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2358: => fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2515: in_left: 0, nb_want: 5
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2539: in_left: 0, nb_want: 5
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2541: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2561: <= fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2358: => fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2515: in_left: 5, nb_want: 86
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2539: in_left: 5, nb_want: 86
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2541: ssl->f_recv(_timeout)() returned 81 (-0xffffffaf)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2561: <= fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3937: <= read record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:1775: server hello, total extension length: 5
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:1964: <= parse server hello
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3400: client state: 3
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2586: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:4513: => parse certificate
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3904: => read record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2358: => fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2515: in_left: 0, nb_want: 5
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2539: in_left: 0, nb_want: 5
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2541: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2561: <= fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2358: => fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2515: in_left: 5, nb_want: 2773
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2539: in_left: 5, nb_want: 2773
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2541: ssl->f_recv(_timeout)() returned 1957 (-0xfffff85b)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2539: in_left: 1962, nb_want: 2773
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2541: ssl->f_recv(_timeout)() returned 811 (-0xfffffcd5)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2561: <= fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3937: <= read record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:4786: x509_verify_cert() returned -9984 (-0x2700)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:4883: <= parse certificate
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3400: client state: 4
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2586: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:2311: => parse server key exchange
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:2316: <= skip parse server key exchange
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3400: client state: 5
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2586: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:2645: => parse certificate request
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3904: => read record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2358: => fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2515: in_left: 0, nb_want: 5
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2539: in_left: 0, nb_want: 5
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2541: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2561: <= fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2358: => fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2515: in_left: 5, nb_want: 9
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2539: in_left: 5, nb_want: 9
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2541: ssl->f_recv(_timeout)() returned 4 (-0xfffffffc)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2561: <= fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3937: <= read record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:2794: <= parse certificate request
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3400: client state: 6
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2586: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:2804: => parse server hello done
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3904: => read record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3933: <= reuse previously read message
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3937: <= read record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:2834: <= parse server hello done
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3400: client state: 7
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2586: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:4396: => write certificate
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:4413: <= skip write certificate
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3400: client state: 8
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2586: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:2846: => write client key exchange
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2867: => write record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2592: message length: 267, out_left: 267
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2599: ssl->f_send() returned 267 (-0xfffffef5)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2626: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3025: <= write record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3088: <= write client key exchange
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3400: client state: 9
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2586: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3139: => write certificate verify
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:0513: => derive keys
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:0985: <= derive keys
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3160: <= skip write certificate verify
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3400: client state: 10
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2586: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:4899: => write change cipher spec
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2867: => write record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2592: message length: 6, out_left: 6
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2599: ssl->f_send() returned 6 (-0xfffffffa)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2626: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3025: <= write record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:4913: <= write change cipher spec
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3400: client state: 11
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2586: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:5432: => write finished
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:5257: => calc finished tls sha256
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:5287: <= calc finished
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2867: => write record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:1313: => encrypt buf
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:1635: <= encrypt buf
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2592: message length: 45, out_left: 45
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2599: ssl->f_send() returned 45 (-0xffffffd3)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2626: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3025: <= write record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:5541: <= write finished
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3400: client state: 12
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2586: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:4922: => parse change cipher spec
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3904: => read record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2358: => fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2515: in_left: 0, nb_want: 5
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2539: in_left: 0, nb_want: 5
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2541: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2561: <= fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2358: => fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2515: in_left: 5, nb_want: 6
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2539: in_left: 5, nb_want: 6
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2541: ssl->f_recv(_timeout)() returned 1 (-0xffffffff)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2561: <= fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3937: <= read record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:5000: <= parse change cipher spec
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3400: client state: 13
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2586: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:5558: => parse finished
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:5257: => calc finished tls sha256
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:5287: <= calc finished
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3904: => read record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2358: => fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2515: in_left: 0, nb_want: 5
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2539: in_left: 0, nb_want: 5
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2541: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2561: <= fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2358: => fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2515: in_left: 5, nb_want: 45
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2539: in_left: 5, nb_want: 45
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2541: ssl->f_recv(_timeout)() returned 40 (-0xffffffd8)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2561: <= fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:1649: => decrypt buf
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2198: <= decrypt buf
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3937: <= read record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:5626: <= parse finished
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3400: client state: 14
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2586: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3511: handshake: done
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_cli.c:3400: client state: 15
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2586: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:6860: <= handshake
[E/mbedtls.clnt] verify peer certificate fail....
[E/mbedtls.clnt] verification info: ! The certificate Common Name (CN) does not match with the expected CN
! The certificate is not correctly signed by the trusted CA
[D/mbedtls.clnt] Certificate verified success...
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:7422: => write
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2867: => write record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:1313: => encrypt buf
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:1635: <= encrypt buf
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2592: message length: 148, out_left: 148
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2599: ssl->f_send() returned 148 (-0xffffff6c)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2626: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3025: <= write record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:7450: <= write
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:7036: => read
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3904: => read record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2358: => fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2515: in_left: 0, nb_want: 5
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2539: in_left: 0, nb_want: 5
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2541: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2561: <= fetch input
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3701: bad message length
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3912: mbedtls_ssl_read_record_layer() returned -29184 (-0x7200)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:7100: mbedtls_ssl_read_record() returned -29184 (-0x7200)
[E/mbedtls.clnt] mbedtls_client_read data error, return -0x7200
[E/web.file] get file failed, wrong response: -29184 (-0xFFFF8E00).
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:7465: => write close notify
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:4317: => send alert message
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2867: => write record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:1313: => encrypt buf
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:1635: <= encrypt buf
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2574: => flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2592: message length: 31, out_left: 31
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2599: ssl->f_send() returned 31 (-0xffffffe1)
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:2626: <= flush output
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c:3025: <= write record
[D/mbedtls.clnt] packages\mbedtls-v2.7.10\mbedtls\library\ssl_tls.c