ESP8266 Developer Zone The Official ESP8266 Forum 2017-12-14T20:00:42+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=8256 2017-12-14T20:00:42+08:00 2017-12-14T20:00:42+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8256&p=18699#p18699 <![CDATA[Re: Does anyone have an HTTPS server running?]]> Statistics: Posted by blubb — Thu Dec 14, 2017 8:00 pm


]]>
2017-12-14T18:59:23+08:00 2017-12-14T18:59:23+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8256&p=18698#p18698 <![CDATA[Re: Does anyone have an HTTPS server running?]]>
Please have a try with the ESP8266_NONOS_SDK commit a1fa90.

And add espconn_tcp_set_max_con(1); on your demo.

If your problem is still unsolved, please feel free to let us know.

Thanks.

Statistics: Posted by ESP_Faye — Thu Dec 14, 2017 6:59 pm


]]>
2017-11-07T07:36:27+08:00 2017-11-07T07:36:27+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8256&p=18024#p18024 <![CDATA[Re: Does anyone have an HTTPS server running?]]>

Code:

E:M 1584
E:M 1584
server handshake failed!
Reason:[-0x 1]
reconnect callback, error code -1!
server handshake start.
E:M 1584
E:M 1584
server handshake failed!
Reason:[-0x 1]
reconnect callback, error code -1!
server handshake start.
E:M 1584
E:M 1584
server handshake failed!
Reason:[-0x 1]
reconnect callback, error code -1!
server handshake start.
E:M 1584
E:M 1584
server handshake failed!
Reason:[-0x 1]
reconnect callback, error code -1!
server handshake start.
E:M 1584
E:M 1584
server handshake failed!
Reason:[-0x 1]
reconnect callback, error code -1!
server handshake start.
E:M 1584
E:M 1584
E:M 1584
E:M 1584
E:M 1584
E:M 1584
server handshake failed!
Reason:[-0x 1]
reconnect callback, error code -1!
server handshake start.
E:M 1584
E:M 1584
E:M 1584
E:M 1584
E:M 1584
E:M 1584
server handshake failed!
Reason:[-0x 1]
reconnect callback, error code -1!


The server does not recover from this state. I have to reboot.

Can you please try if this happens for you, too?

Edit: I can even provoke an exception by hitting F5 fast enough. LoadProhibitedCause. According to map file it is somewhere in recv_tcp in libmbedtls.a

Edit: Exceptions can also be in tcp_recved or ringbuf_memcpy_into (both in liblwip.a).

Statistics: Posted by blubb — Tue Nov 07, 2017 7:36 am


]]>
2017-11-06T22:18:29+08:00 2017-11-06T22:18:29+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8256&p=18017#p18017 <![CDATA[Re: Does anyone have an HTTPS server running?]]>
thanks. That is indeed a very simple demo. I am going to test if the same problem occurs.
Is that the standard mbedtls and lwip that is also included in the SDK (as lib) or did you make some modifications?

Statistics: Posted by blubb — Mon Nov 06, 2017 10:18 pm


]]>
2017-11-06T14:01:08+08:00 2017-11-06T14:01:08+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8256&p=18008#p18008 <![CDATA[Re: Does anyone have an HTTPS server running?]]>
SSL_Test.zip

Statistics: Posted by Her Mary — Mon Nov 06, 2017 2:01 pm


]]>
2017-11-06T02:27:11+08:00 2017-11-06T02:27:11+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8256&p=17994#p17994 <![CDATA[Does anyone have an HTTPS server running?]]>


* besides the usual

server's data invalid protocol
Reason:[-0x7880]

that happens all the time.

Statistics: Posted by blubb — Mon Nov 06, 2017 2:27 am


]]>