Рукопожатие NodeMCU не удалось и успех
Это моя конфигурация прошивки NodeMCU
NodeMCU custom build by frightanic.com
branch: master
commit: 2e67ff5a639a13260fd4fb3c3b627ccdc2845616
SSL: true
modules: crypto,encoder,file,gpio,http,mqtt,net,node,rtcfifo,rtcmem,rtctime,sntp,tmr,uart,wifi,tls
build built on: 2017-09-14 11:11
powered by Lua 5.1.4 on SDK 2.1.0(116b762)
lua: cannot open init.lua
Я пытался подключиться к безопасному серверу Google @443, используя ключ PEM от launchsl. Я подключился в первый раз получил сообщение
client handshake start.
espconn_mbedtls.c 652, type[certificate],length[655]
client handshake failed!
Reason:[-0x7f00]
А потом, когда я попытался восстановить соединение, я получил ответ 302, как показано ниже
client handshake start.
please start sntp first !
please start sntp first !
client handshake ok!
Connected..
HTTP/1.1 302 Found
Cache-Control: private
Content-Type: text/html; charset=UTF-8
Referrer-Policy: no-referrer
Location: https://www.google.co.in/?gfe_rd=cr&dcr=0&ei=Ml-7Wb7ZL4TVXu_UjaAP
Content-Length: 270
Date: Fri, 15 Sep 2017 05:03:46 GMT
Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,35"
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="https://www.google.co.in/?gfe_rd=cr&dcr=0&ei=Ml-7Wb7ZL4TVXu_UjaAP">here</A>.
</BODY></HTML>
Теперь, когда я пытаюсь подключиться снова, я получаю ошибку сбоя рукопожатия, как в первый раз.
Кто-нибудь может помочь мне понять причину!