Page 1 of 1

https 握手后崩溃。

Posted: Mon Nov 05, 2018 1:19 am
by rockywei
Hello, any one has https experience? It crashed when call espconn_secure_connect(), why?

大家好,有用过https的吗?调用espconn_secure_connect 时就崩溃了,这是为什么???

Code: Select all

QBIQ: now() = 1541378203, secure buff size = 8192
QBIQ: connect to SSL 443
QBIQ: connection ok
TLS.ca_x509.cer 3d5
the file is a PEM file.
client handshake start.
distinguished names: [RapidSSL RSA CA 2018], []
before 1541030400, tv_sec 1541378203, after 1572566400
distinguished names: [RapidSSL RSA CA 2018], [RapidSSL RSA CA 2018]
distinguished names: [DigiCert Inc], [DigiCert Inc]
distinguished names: [], []
E:M 528
Fatal exception 29(StoreProhibitedCause):
epc1=0x4000e1b2, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 2408, room 16
tail 8
chksum 0xe5
load 0x3ffe8000, len 776, room 0
tail 8
chksum 0x84
load 0x3ffe8310, len 632, room 0
tail 8
chksum 0xd8
csum 0xd8

Also is it possible to call system_upgrade_start() over https? I am using port 443 but found no SSL/TLS handshake - it was just sending plain http request.


Re: https 握手后崩溃。

Posted: Wed Nov 07, 2018 6:47 pm
by Her Mary

Code: Select all

E:M 528
就是 error malloc 528 bytes.