You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am lacking experience from Lets Encrypt, so it is quite possible that I am doing something wrong here… I did see that you had a thread https://community.letsencrypt.org/t/increasing-tls-sni-01-server-timeout/47208/28 in Nov-2017 with LetsEncrypt where it seemed that you got it to work, so I guess it is suppose to work now as well.
When building/flashing/running the factory app with the latest commit (from June 20th) and trying to use the Lets Encrypt function, it stops at the first step (green circle, does not turn red). Log below, where I replaced the true URL-text that I was using.
As a comparison, I rolled back the esp-idf and LWs-esp32-factory to "March 14th" commit status (This was not trivial, since it seems that libwebsocket old commits was rewritten in Apr 6th, why I had to use new commit-references (I Think I got it right...). Using this (old) version, I now was able to reach the 3rd step "Auth", which turned red in the webinterface. Log below:
So even though it does not work on the older release, it goes much further. I am using Firefox on Windows if it matters..
I also notice regular "tcp_connect: can only connect from state CLOSED" in both versions (I do not see these in the "test-demo" app), but I guess that this is unrelated.
Any idea on what is the problem with the Lets Encrypt function?
The text was updated successfully, but these errors were encountered:
I am lacking experience from Lets Encrypt, so it is quite possible that I am doing something wrong here… I did see that you had a thread https://community.letsencrypt.org/t/increasing-tls-sni-01-server-timeout/47208/28 in Nov-2017 with LetsEncrypt where it seemed that you got it to work, so I guess it is suppose to work now as well.
When building/flashing/running the factory app with the latest commit (from June 20th) and trying to use the Lets Encrypt function, it stops at the first step (green circle, does not turn red). Log below, where I replaced the true URL-text that I was using.
`?[35;1m[2018/08/12 10:34:42:8840] NOTICE: _realloc: size 1024: ah data (free heap 151952)
{"job":"start-le","cn":"myexternal.url.here","email":"[email protected]","staging":"true"}cko/20100101 Firefox/61.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: sv-SE,sv;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate, br
Sec-WebSocket-Version: 13
Origin: https://192.168.0.53
Sec-WebSocket-Protocol: esplws-scan
Sec-WebSockeHTTP/1.1 101 Switching Protocols
Upgrade: WebSocket
Connection: Upgrade
Sec-WebSocket-Accept: Azt/o2L/fJ1cch4lZiZCPlp101M=
Sec-WebSocket-Protocol: esplws-scan
?[35;1m[2018/08/12 10:34:42:9440] NOTICE: staging: ,"staging":"true"}cko/20100101 Firefox/61.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: sv-SE,sv;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate, br
Sec-WebSocket-Version: 13
Origin: ht?[35;1m[2018/08/12 10:34:42:9670] NOTICE: cn: myexternal.url.here, email: [email protected], staging: 1
?[35;1m[2018/08/12 10:34:42:9778] NOTICE: _realloc: size 616: fake wsi (free heap 150852)
?[35;1m[2018/08/12 10:34:42:9861] NOTICE: starting acme acquisition on ap: https://acme-staging.api.letsencrypt.org/directory
?[35;1m[2018/08/12 10:34:42:9975] NOTICE: lws_acme_start_acquisition: ACME cert needs creating / updating: vhost ap
?[35;1m[2018/08/12 10:34:43:0079] NOTICE: _realloc: size 616: fake wsi (free heap 143944)
?[35;1m[2018/08/12 10:34:43:0160] NOTICE: LWS_CALLBACK_VHOST_CERT_UPDATE: 1
?[35;1m[2018/08/12 10:34:43:0236] NOTICE: _realloc: size 616: fake wsi (free heap 144076)
?[35;1m[2018/08/12 10:34:43:0311] NOTICE: LWS_CALLBACK_VHOST_CERT_UPDATE: 4
?[35;1m[2018/08/12 10:34:43:0380] NOTICE: acme_msg: Generating keys, please wait
?[35;1m[2018/08/12 10:34:43:0457] NOTICE: _realloc: size 4096: jwk-load (free heap 140596)
?[35;1m[2018/08/12 10:34:43:0578] NOTICE: lws_plat_read_file: read le-auth-jwk (1615)
?[35;1m[2018/08/12 10:34:43:0620] NOTICE: _realloc: size 7: jwk (free heap 140561)
?[35;1m[2018/08/12 10:34:43:0697] NOTICE: _realloc: size 260: jwk (free heap 140300)
?[35;1m[2018/08/12 10:34:43:0776] NOTICE: _realloc: size 260: jwk (free heap 140036)
?[35;1m[2018/08/12 10:34:43:0851] NOTICE: _realloc: size 132: jwk (free heap 139900)
?[35;1m[2018/08/12 10:34:43:0947] NOTICE: _realloc: size 132: jwk (free heap 139764)
?[35;1m[2018/08/12 10:34:43:1008] NOTICE: _realloc: size 132: jwk (free heap 139628)
?[35;1m[2018/08/12 10:34:43:1082] NOTICE: _realloc: size 132: jwk (free heap 139492)
?[35;1m[2018/08/12 10:34:43:1160] NOTICE: _realloc: size 132: jwk (free heap 139356)
?[35;1m[2018/08/12 10:34:43:1238] NOTICE: _realloc: size 616: fake wsi (free heap 142832)
?[35;1m[2018/08/12 10:34:43:1318] NOTICE: LWS_CALLBACK_VHOST_CERT_UPDATE: 4
?[35;1m[2018/08/12 10:34:43:1387] NOTICE: acme_msg: Auth keys created
?[35;1m[2018/08/12 10:34:43:1456] NOTICE: _realloc: size 616: client wsi (free heap 142832)
?[35;1m[2018/08/12 10:34:43:1537] NOTICE: _realloc: size 32: client stash (free heap 142796)
?[35;1m[2018/08/12 10:34:43:1621] NOTICE: _realloc: size 33: strdup (free heap 142759)
?[35;1m[2018/08/12 10:34:43:1700] NOTICE: _realloc: size 11: strdup (free heap 142741)
?[35;1m[2018/08/12 10:34:43:1780] NOTICE: _realloc: size 33: strdup (free heap 142707)
?[35;1m[2018/08/12 10:34:43:1859] NOTICE: _realloc: size 33: strdup (free heap 142667)
?[35;1m[2018/08/12 10:34:43:1940] NOTICE: _realloc: size 16: strdup (free heap 142644)
?[35;1m[2018/08/12 10:34:43:2020] NOTICE: _realloc: size 4: strdup (free heap 142640)
?[35;1m[2018/08/12 10:34:43:2096] NOTICE: _realloc: size 744: ah struct (free heap 141896)
?[35;1m[2018/08/12 10:34:43:2179] NOTICE: _realloc: size 1024: ah data (free heap 140868)
?[35;1m[2018/08/12 10:34:43:2591] NOTICE: heap :140764 (-18264)
?[35;1m[2018/08/12 10:34:43:2625] NOTICE: lws_esp32_get_image_info: bad image header magic
tcp_connect: can only connect from state CLOSED
tcp_connect: can only connect from state CLOSED
?[35;1m[2018/08/12 10:34:44:2963] NOTICE: heap :104232 (-36532)
?[35;1m[2018/08/12 10:34:46:1776] NOTICE: heap :90424 (-13808)
?[35;1m[2018/08/12 10:34:46:1840] NOTICE: callback_acme_client: CLIENT_CONNECTION_ERROR: 0x3ffdac88
?[35;1m[2018/08/12 10:34:46:1851] NOTICE: callback_acme_client: CLOSED_CLIENT_HTTP: 0x3ffdac88
?[35;1m[2018/08/12 10:34:46:2215] NOTICE: _realloc: size 196: h2n (free heap 121164)
?[35;1m[2018/08/12 10:34:46:2224] NOTICE: _realloc: size 780: dynamic table entries (free heap 120380)
?[35;1m[2018/08/12 10:34:46:2285] NOTICE: Client connection error server's cert didn't look good, X509_V_ERR = 24: CA is not trusted
?[35;1m[2018/08/12 10:34:47:0009] NOTICE: heap :151504 (+61080)`
As a comparison, I rolled back the esp-idf and LWs-esp32-factory to "March 14th" commit status (This was not trivial, since it seems that libwebsocket old commits was rewritten in Apr 6th, why I had to use new commit-references (I Think I got it right...). Using this (old) version, I now was able to reach the 3rd step "Auth", which turned red in the webinterface. Log below:
?[35;1m[2018/08/12 09:17:27:0083] NOTICE: heap :91972 (-160)
{"job":"start-le","cn":"myexternal.url.here","email":"[email protected]","staging":"true"}
?[35;1m[2018/08/12 09:17:27:0643] NOTICE: staging: ,"staging":"true"}
?[35;1m[2018/08/12 09:17:27:0652] NOTICE: cn: myexternal.url.here, email: [email protected], staging: 1
?[35;1m[2018/08/12 09:17:27:0754] NOTICE: _realloc: size 560: fake wsi (free heap 91412)
?[35;1m[2018/08/12 09:17:27:0838] NOTICE: starting acme acquisition on ap: https://acme-staging.api.letsencrypt.org/directory
?[35;1m[2018/08/12 09:17:27:0947] NOTICE: lws_acme_start_acquisition: ACME cert needs creating / updating: vhost ap
?[35;1m[2018/08/12 09:17:27:1053] NOTICE: _realloc: size 560: fake wsi (free heap 84580)
?[35;1m[2018/08/12 09:17:27:1134] NOTICE: LWS_CALLBACK_VHOST_CERT_UPDATE: 1
?[35;1m[2018/08/12 09:17:27:1207] NOTICE: _realloc: size 560: fake wsi (free heap 84396)
?[35;1m[2018/08/12 09:17:27:1285] NOTICE: LWS_CALLBACK_VHOST_CERT_UPDATE: 4
?[35;1m[2018/08/12 09:17:27:1354] NOTICE: acme_msg: Generating keys, please wait
?[35;1m[2018/08/12 09:17:27:1429] NOTICE: _realloc: size 4096: jwk-load (free heap 80860)
?[35;1m[2018/08/12 09:17:27:1558] NOTICE: lws_plat_read_file: read le-auth-jwk (1615)
?[35;1m[2018/08/12 09:17:27:1592] NOTICE: _realloc: size 7: jwk (free heap 80829)
?[35;1m[2018/08/12 09:17:27:1667] NOTICE: _realloc: size 260: jwk (free heap 80564)
?[35;1m[2018/08/12 09:17:27:1744] NOTICE: _realloc: size 260: jwk (free heap 80300)
?[35;1m[2018/08/12 09:17:27:1821] NOTICE: _realloc: size 132: jwk (free heap 80164)
?[35;1m[2018/08/12 09:17:27:1897] NOTICE: _realloc: size 132: jwk (free heap 80028)
?[35;1m[2018/08/12 09:17:27:1973] NOTICE: _realloc: size 132: jwk (free heap 79892)
?[35;1m[2018/08/12 09:17:27:2054] NOTICE: _realloc: size 132: jwk (free heap 79936)
?[35;1m[2018/08/12 09:17:27:2127] NOTICE: _realloc: size 132: jwk (free heap 79800)
?[35;1m[2018/08/12 09:17:27:2206] NOTICE: _realloc: size 560: fake wsi (free heap 83332)
?[35;1m[2018/08/12 09:17:27:2283] NOTICE: LWS_CALLBACK_VHOST_CERT_UPDATE: 4
?[35;1m[2018/08/12 09:17:27:2355] NOTICE: acme_msg: Auth keys created
?[35;1m[2018/08/12 09:17:27:2421] NOTICE: _realloc: size 560: client wsi (free heap 83252)
?[35;1m[2018/08/12 09:17:27:2501] NOTICE: _realloc: size 28: client stash (free heap 83220)
?[35;1m[2018/08/12 09:17:27:2584] NOTICE: _realloc: size 33: strdup (free heap 83183)
?[35;1m[2018/08/12 09:17:27:2663] NOTICE: _realloc: size 11: strdup (free heap 83165)
?[35;1m[2018/08/12 09:17:27:2741] NOTICE: _realloc: size 33: strdup (free heap 83131)
?[35;1m[2018/08/12 09:17:27:2819] NOTICE: _realloc: size 33: strdup (free heap 83091)
?[35;1m[2018/08/12 09:17:27:2898] NOTICE: _realloc: size 16: strdup (free heap 83068)
?[35;1m[2018/08/12 09:17:27:2976] NOTICE: _realloc: size 4: strdup (free heap 83064)
?[35;1m[2018/08/12 09:17:27:3054] NOTICE: _realloc: size 996: ah struct (free heap 82068)
?[35;1m[2018/08/12 09:17:27:3136] NOTICE: _realloc: size 4096: ah data (free heap 77968)
?[35;1m[2018/08/12 09:17:27:3855] NOTICE: lws_esp32_get_image_info: bad image header magic
?[35;1m[2018/08/12 09:17:28:0119] NOTICE: heap :116600 (+24628)
?[35;1m[2018/08/12 09:17:28:5307] NOTICE: SYSTEM_EVENT_SCAN_DONE
?[35;1m[2018/08/12 09:17:28:5318] NOTICE: scan_finished: count 6
?[35;1m[2018/08/12 09:17:28:5409] NOTICE: lws_esp32_get_image_info: bad image header magic
?[35;1m[2018/08/12 09:17:29:0084] NOTICE: heap :117512 (+912)
tcp_connect: can only connect from state CLOSED
?[35;1m[2018/08/12 09:17:29:4506] NOTICE: ssl_pm_handshake
?[35;1m[2018/08/12 09:17:29:4514] NOTICE: mbedtls_handshake: ssl ret -0 state 1
?[35;1m[2018/08/12 09:17:29:4576] NOTICE: mbedtls_handshake: ssl ret -0 state 2
?[35;1m[2018/08/12 09:17:29:4623] NOTICE: mbedtls_handshake: ssl ret -6900 state 2
?[35;1m[2018/08/12 09:17:29:4824] NOTICE: ssl_pm_handshake
?[35;1m[2018/08/12 09:17:29:4843] NOTICE: mbedtls_handshake: ssl ret -0 state 3
?[35;1m[2018/08/12 09:17:29:4889] NOTICE: mbedtls_handshake: ssl ret -0 state 4
?[35;1m[2018/08/12 09:17:29:5922] NOTICE: mbedtls_handshake: ssl ret -0 state 5
?[35;1m[2018/08/12 09:17:29:5936] NOTICE: mbedtls_handshake: ssl ret -0 state 6
?[35;1m[2018/08/12 09:17:29:5964] NOTICE: mbedtls_handshake: ssl ret -0 state 7
?[35;1m[2018/08/12 09:17:29:6038] NOTICE: mbedtls_handshake: ssl ret -0 state 8
?[35;1m[2018/08/12 09:17:30:5209] NOTICE: mbedtls_handshake: ssl ret -0 state 9
?[35;1m[2018/08/12 09:17:30:5288] NOTICE: mbedtls_handshake: ssl ret -0 state 10
?[35;1m[2018/08/12 09:17:30:5315] NOTICE: mbedtls_handshake: ssl ret -0 state 11
?[35;1m[2018/08/12 09:17:30:5403] NOTICE: mbedtls_handshake: ssl ret -0 state 12
?[35;1m[2018/08/12 09:17:30:5429] NOTICE: mbedtls_handshake: ssl ret -6900 state 17
?[35;1m[2018/08/12 09:17:30:5506] NOTICE: heap :70480 (-47032)
?[35;1m[2018/08/12 09:17:30:5565] NOTICE: ssl_pm_handshake
?[35;1m[2018/08/12 09:17:30:5624] NOTICE: mbedtls_handshake: ssl ret -0 state 12
?[35;1m[2018/08/12 09:17:30:5692] NOTICE: mbedtls_handshake: ssl ret -0 state 13
?[35;1m[2018/08/12 09:17:30:5794] NOTICE: mbedtls_handshake: ssl ret -0 state 14
?[35;1m[2018/08/12 09:17:30:5837] NOTICE: mbedtls_handshake: ssl ret -0 state 15
?[35;1m[2018/08/12 09:17:30:5916] NOTICE: mbedtls_handshake: ssl ret -0 state 16
?[35;1m[2018/08/12 09:17:30:8835] NOTICE: lws_client_interpret_server_handshake: incoming content length 704
?[35;1m[2018/08/12 09:17:30:8844] NOTICE: lws_http_client_http_response 200
?[35;1m[2018/08/12 09:17:30:8901] NOTICE: lws_client_interpret_server_handshake: client connection up
?[35;1m[2018/08/12 09:17:30:8996] NOTICE: callback_acme_client: LWS_CALLBACK_RECEIVE_CLIENT_HTTP
{
"7KgZItPxVO4": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417",
"key-change": "https://acme-staging.api.letsencrypt.org/acme/key-change",
"meta": {
"caaIdentities": [
"letsencrypt.org"
],
"terms-of-service": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf",
"website": "https://letsencrypt.org/docs/staging-environment/"
},
"new-authz": "https://acme-staging.api.letsencrypt.org/acme/new-authz",
"new-cert": "https://acme-staging.api.letsencrypt.org/acme/new-cert",
"new-reg": "https://acme-staging.api.letsencrypt.org/acme/new-reg",
"revoke-cert": "https://acme-staging.api.letsencrypt.org/acme/revoke-cert"
}
?[35;1m[2018/08/12 09:17:30:9709] NOTICE: callback_acme_client: COMPLETED_CLIENT_HTTP
?[35;1m[2018/08/12 09:17:30:9779] NOTICE: 0: https://acme-staging.api.letsencrypt.org/acme/key-change
?[35;1m[2018/08/12 09:17:30:9874] NOTICE: 1: https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf
?[35;1m[2018/08/12 09:17:30:9976] NOTICE: 2: https://acme-staging.api.letsencrypt.org/acme/new-authz
?[35;1m[2018/08/12 09:17:31:0073] NOTICE: 3: https://acme-staging.api.letsencrypt.org/acme/new-cert
?[35;1m[2018/08/12 09:17:31:0163] NOTICE: 4: https://acme-staging.api.letsencrypt.org/acme/new-reg
?[35;1m[2018/08/12 09:17:31:0256] NOTICE: 5: https://acme-staging.api.letsencrypt.org/acme/revoke-cert
?[35;1m[2018/08/12 09:17:31:0353] NOTICE: _realloc: size 560: fake wsi (free heap 80736)
?[35;1m[2018/08/12 09:17:31:0434] NOTICE: LWS_CALLBACK_VHOST_CERT_UPDATE: 5
?[35;1m[2018/08/12 09:17:31:0510] NOTICE: _realloc: size 560: client wsi (free heap 80736)
?[35;1m[2018/08/12 09:17:31:0587] NOTICE: _realloc: size 28: client stash (free heap 80704)
?[35;1m[2018/08/12 09:17:31:0670] NOTICE: _realloc: size 33: strdup (free heap 80671)
?[35;1m[2018/08/12 09:17:31:0748] NOTICE: _realloc: size 14: strdup (free heap 80654)
?[35;1m[2018/08/12 09:17:31:0826] NOTICE: _realloc: size 33: strdup (free heap 80615)
?[35;1m[2018/08/12 09:17:31:0905] NOTICE: _realloc: size 33: strdup (free heap 80575)
?[35;1m[2018/08/12 09:17:31:0983] NOTICE: _realloc: size 16: strdup (free heap 80552)
?[35;1m[2018/08/12 09:17:31:1062] NOTICE: _realloc: size 5: strdup (free heap 80547)
?[35;1m[2018/08/12 09:17:31:1143] NOTICE: _realloc: size 996: ah struct (free heap 79544)
?[35;1m[2018/08/12 09:17:31:1222] NOTICE: _realloc: size 4096: ah data (free heap 75444)
?[35;1m[2018/08/12 09:17:31:1347] NOTICE: callback_acme_client: CLOSED_CLIENT_HTTP: 0x3ffdeb0c
?[35;1m[2018/08/12 09:17:31:1459] NOTICE: lws_esp32_get_image_info: bad image header magic
?[35;1m[2018/08/12 09:17:31:1524] NOTICE: heap :115488 (+45008)
tcp_connect: can only connect from state CLOSED
?[35;1m[2018/08/12 09:17:31:1599] NOTICE: ssl_pm_handshake
?[35;1m[2018/08/12 09:17:31:1649] NOTICE: mbedtls_handshake: ssl ret -0 state 1
?[35;1m[2018/08/12 09:17:31:1735] NOTICE: mbedtls_handshake: ssl ret -0 state 2
?[35;1m[2018/08/12 09:17:31:1784] NOTICE: mbedtls_handshake: ssl ret -6900 state 2
?[35;1m[2018/08/12 09:17:31:1981] NOTICE: ssl_pm_handshake
?[35;1m[2018/08/12 09:17:31:2001] NOTICE: mbedtls_handshake: ssl ret -0 state 3
?[35;1m[2018/08/12 09:17:31:2048] NOTICE: mbedtls_handshake: ssl ret -0 state 4
?[35;1m[2018/08/12 09:17:31:3092] NOTICE: mbedtls_handshake: ssl ret -0 state 5
?[35;1m[2018/08/12 09:17:31:3106] NOTICE: mbedtls_handshake: ssl ret -0 state 6
?[35;1m[2018/08/12 09:17:31:3138] NOTICE: mbedtls_handshake: ssl ret -0 state 7
?[35;1m[2018/08/12 09:17:31:3208] NOTICE: mbedtls_handshake: ssl ret -0 state 8
?[35;1m[2018/08/12 09:17:32:2832] NOTICE: mbedtls_handshake: ssl ret -0 state 9
?[35;1m[2018/08/12 09:17:32:2910] NOTICE: mbedtls_handshake: ssl ret -0 state 10
?[35;1m[2018/08/12 09:17:32:2938] NOTICE: mbedtls_handshake: ssl ret -0 state 11
?[35;1m[2018/08/12 09:17:32:3021] NOTICE: mbedtls_handshake: ssl ret -0 state 12
?[35;1m[2018/08/12 09:17:32:3052] NOTICE: mbedtls_handshake: ssl ret -6900 state 17
?[35;1m[2018/08/12 09:17:32:3170] NOTICE: heap :68812 (-46676)
?[35;1m[2018/08/12 09:17:32:3196] NOTICE: ssl_pm_handshake
?[35;1m[2018/08/12 09:17:32:3247] NOTICE: mbedtls_handshake: ssl ret -0 state 12
?[35;1m[2018/08/12 09:17:32:3314] NOTICE: mbedtls_handshake: ssl ret -0 state 13
?[35;1m[2018/08/12 09:17:32:3419] NOTICE: mbedtls_handshake: ssl ret -0 state 14
?[35;1m[2018/08/12 09:17:32:3460] NOTICE: mbedtls_handshake: ssl ret -0 state 15
?[35;1m[2018/08/12 09:17:32:3538] NOTICE: mbedtls_handshake: ssl ret -0 state 16
{"resource":"new-reg","contact":["mailto:[email protected]"],"agreement":"https://letsencrypt.org/documents/LE-SA-v1.2-November-15-20
17.pdf"}
?[35;1m[2018/08/12 09:17:32:3748] NOTICE: _realloc: size 172: genrsa (free heap 72088)
?[35;1m[2018/08/12 09:17:32:3822] NOTICE: _realloc: size 256: jws sign (free heap 70648)
?[35;1m[2018/08/12 09:17:32:6861] NOTICE: prepare to send ACME_STATE_NEW_REG
?[35;1m[2018/08/12 09:17:32:6941] NOTICE: LWS_CALLBACK_CLIENT_HTTP_WRITEABLE
?[35;1m[2018/08/12 09:17:32:6983] NOTICE: realloc: size 653: truncated send alloc (free heap 70543)
?[35;1m[2018/08/12 09:17:32:7017] NOTICE: wrote 1185
?[35;1m[2018/08/12 09:17:33:0082] NOTICE: heap :73664 (+4852)
?[35;1m[2018/08/12 09:17:33:0374] NOTICE: lws_client_interpret_server_handshake: incoming content length 671
?[35;1m[2018/08/12 09:17:33:0383] NOTICE: lws_http_client_http_response 201
?[35;1m[2018/08/12 09:17:33:0440] NOTICE: lws_client_interpret_server_handshake: client connection up
?[35;1m[2018/08/12 09:17:33:0550] NOTICE: callback_acme_client: LWS_CALLBACK_RECEIVE_CLIENT_HTTP
{
"id": 6634542,
"key": {
"kty": "RSA",
"n": "kwxpza-ZP2PdHjMi95JAOeFNVKJ4XLL3G_TOaVHeKA5ebBAwxNIY1jklD7oi265mHRk6IY2E7BoVzd5NogM9Pe2onhzQ7qkBUitdak1IJSDRzy1i9ZYRT7n3aUi71ise5vA
4_HyBhVO7gmPkqrsosrOh_DYJ4WYF1aJyTPO3h8KvSPp5zEma7EMgEFjyY1SlQByFNusve0n7-dCF7db9zQsTpZz97DIGZ_TIVasuWBaWFvpICpswfdfJ7z-eZyh3paj2wx19Yr1fURrtD
E1bkWsnBnFsQ63xUzOhHlCY1NoOkrqcZ6V8yx22G8NiPpa2T5qN3dPpgsJsKbpuigN1w",
"e": "AQAB"
},
"contact": [
"mailto:[email protected]"
],
"agreement": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf",
"initialIp": "176.10.148.226",
"createdAt": "2018-08-12T09:17:32.898718935Z",
"status": "valid"
}
?[35;1m[2018/08/12 09:17:33:1214] NOTICE: callback_acme_client: COMPLETED_CLIENT_HTTP
?[35;1m[2018/08/12 09:17:33:1291] NOTICE: _realloc: size 560: fake wsi (free heap 78396)
?[35;1m[2018/08/12 09:17:33:1372] NOTICE: LWS_CALLBACK_VHOST_CERT_UPDATE: 6
?[35;1m[2018/08/12 09:17:33:1444] NOTICE: _realloc: size 560: client wsi (free heap 78396)
?[35;1m[2018/08/12 09:17:33:1525] NOTICE: _realloc: size 28: client stash (free heap 78364)
?[35;1m[2018/08/12 09:17:33:1611] NOTICE: _realloc: size 33: strdup (free heap 78331)
?[35;1m[2018/08/12 09:17:33:1686] NOTICE: _realloc: size 16: strdup (free heap 78312)
?[35;1m[2018/08/12 09:17:33:1765] NOTICE: _realloc: size 33: strdup (free heap 78275)
?[35;1m[2018/08/12 09:17:33:1843] NOTICE: _realloc: size 33: strdup (free heap 78239)
?[35;1m[2018/08/12 09:17:33:1922] NOTICE: _realloc: size 16: strdup (free heap 78216)
?[35;1m[2018/08/12 09:17:33:2002] NOTICE: _realloc: size 5: strdup (free heap 78211)
?[35;1m[2018/08/12 09:17:33:2079] NOTICE: _realloc: size 996: ah struct (free heap 77212)
?[35;1m[2018/08/12 09:17:33:2160] NOTICE: _realloc: size 4096: ah data (free heap 73112)
?[35;1m[2018/08/12 09:17:33:2285] NOTICE: callback_acme_client: CLOSED_CLIENT_HTTP: 0x3ffdfd00
?[35;1m[2018/08/12 09:17:33:2432] NOTICE: lws_esp32_get_image_info: bad image header magic
tcp_connect: can only connect from state CLOSED
?[35;1m[2018/08/12 09:17:33:2549] NOTICE: ssl_pm_handshake
?[35;1m[2018/08/12 09:17:33:2558] NOTICE: mbedtls_handshake: ssl ret -0 state 1
?[35;1m[2018/08/12 09:17:33:2637] NOTICE: mbedtls_handshake: ssl ret -0 state 2
?[35;1m[2018/08/12 09:17:33:2683] NOTICE: mbedtls_handshake: ssl ret -6900 state 2
?[35;1m[2018/08/12 09:17:33:2831] NOTICE: ssl_pm_handshake
?[35;1m[2018/08/12 09:17:33:2850] NOTICE: mbedtls_handshake: ssl ret -0 state 3
?[35;1m[2018/08/12 09:17:33:2923] NOTICE: mbedtls_handshake: ssl ret -0 state 4
?[35;1m[2018/08/12 09:17:33:3957] NOTICE: mbedtls_handshake: ssl ret -0 state 5
?[35;1m[2018/08/12 09:17:33:3971] NOTICE: mbedtls_handshake: ssl ret -0 state 6
?[35;1m[2018/08/12 09:17:33:4000] NOTICE: mbedtls_handshake: ssl ret -0 state 7
?[35;1m[2018/08/12 09:17:33:4075] NOTICE: mbedtls_handshake: ssl ret -0 state 8
?[35;1m[2018/08/12 09:17:34:2991] NOTICE: mbedtls_handshake: ssl ret -0 state 9
?[35;1m[2018/08/12 09:17:34:3070] NOTICE: mbedtls_handshake: ssl ret -0 state 10
?[35;1m[2018/08/12 09:17:34:3097] NOTICE: mbedtls_handshake: ssl ret -0 state 11
?[35;1m[2018/08/12 09:17:34:3179] NOTICE: mbedtls_handshake: ssl ret -0 state 12
?[35;1m[2018/08/12 09:17:34:3211] NOTICE: mbedtls_handshake: ssl ret -6900 state 17
?[35;1m[2018/08/12 09:17:34:3359] NOTICE: heap :69960 (-3704)
?[35;1m[2018/08/12 09:17:34:3370] NOTICE: ssl_pm_handshake
?[35;1m[2018/08/12 09:17:34:3405] NOTICE: mbedtls_handshake: ssl ret -0 state 12
?[35;1m[2018/08/12 09:17:34:3472] NOTICE: mbedtls_handshake: ssl ret -0 state 13
?[35;1m[2018/08/12 09:17:34:3572] NOTICE: mbedtls_handshake: ssl ret -0 state 14
?[35;1m[2018/08/12 09:17:34:3618] NOTICE: mbedtls_handshake: ssl ret -0 state 15
?[35;1m[2018/08/12 09:17:34:3697] NOTICE: mbedtls_handshake: ssl ret -0 state 16
?[35;1m[2018/08/12 09:17:34:3779] NOTICE: realloc: size 172: genrsa (free heap 72012)
?[35;1m[2018/08/12 09:17:34:3872] NOTICE: realloc: size 256: jws sign (free heap 70568)
?[35;1m[2018/08/12 09:17:34:6930] NOTICE: prepare to send ACME_STATE_NEW_REG
?[35;1m[2018/08/12 09:17:34:7014] NOTICE: LWS_CALLBACK_CLIENT_HTTP_WRITEABLE
?[35;1m[2018/08/12 09:17:34:7048] NOTICE: realloc: size 567: truncated send alloc (free heap 68253)
?[35;1m[2018/08/12 09:17:34:7083] NOTICE: wrote 1099
?[35;1m[2018/08/12 09:17:34:9722] NOTICE: lws_client_interpret_server_handshake: incoming content length 1006
?[35;1m[2018/08/12 09:17:34:9731] NOTICE: lws_http_client_http_response 201
?[35;1m[2018/08/12 09:17:34:9788] NOTICE: lws_client_interpret_server_handshake: client connection up
?[35;1m[2018/08/12 09:17:34:9884] NOTICE: callback_acme_client: LWS_CALLBACK_RECEIVE_CLIENT_HTTP
{
"identifier": {
"type": "dns",
"value": "myexternal.url.here"
},
"status": "pending",
"expires": "2018-08-19T09:17:34Z",
"challenges": [
{
"type": "http-01",
"status": "pending",
"uri": "https://acme-staging.api.letsencrypt.org/acme/challenge/U5bQAZ3PRU4MWIZCKjbb1R4N5fPuJYcngDkLEk-EEA/158817397",
"token": "CAzz95X6-POwYToRMvsCgVk1LTqrZdAvrRpzykyQjCo"
},
{
"type": "dns-01",
"status": "pending",
"uri": "https://acme-staging.api.letsencrypt.org/acme/challenge/U5bQAZ3PRU4MWIZCKjbb1R4N5fPuJYcngDkLEk-EEA/158817398",
"token": "3oDruE5Ejjn2Y42w4lOxnwjTHtZlhRrIidbiQ7bfGJ4"
},
{
"type": "tls-alpn-01",
"status": "pending",
"uri": "https://acme-staging.api.letsencrypt.org/acme/challenge/U5bQAZ3PRU4MWIZCKjbb1R4N5fPuJYcngDkLEk-EEA/158817399",
"token": "gDYFryJSJeU-bm8uwzDmksjT0eude8hdGtom_81UWxc"
}
],
"combinations": [
[
2
],
[
0
],
[
1
]
]
}
?[35;1m[2018/08/12 09:17:35:0877] NOTICE: JAAZ_CHALLENGES_TOKEN: CAzz95X6-POwYToRMvsCgVk1LTqrZdAvrRpzykyQjCo 0
?[35;1m[2018/08/12 09:17:35:0971] NOTICE: JAAZ_CHALLENGES_TOKEN: 3oDruE5Ejjn2Y42w4lOxnwjTHtZlhRrIidbiQ7bfGJ4 0
?[35;1m[2018/08/12 09:17:35:1074] NOTICE: JAAZ_CHALLENGES_TOKEN: gDYFryJSJeU-bm8uwzDmksjT0eude8hdGtom_81UWxc 0
?[35;1m[2018/08/12 09:17:35:1172] NOTICE: callback_acme_client: COMPLETED_CLIENT_HTTP
?[35;1m[2018/08/12 09:17:35:1248] NOTICE: chall: (201)
?[35;1m[2018/08/12 09:17:35:1300] NOTICE: no challenge
?[31;1m[2018/08/12 09:17:35:1352] ERR: callback_acme_client: failed out
?[35;1m[2018/08/12 09:17:35:1420] NOTICE: _realloc: size 560: fake wsi (free heap 79964)
?[35;1m[2018/08/12 09:17:35:1502] NOTICE: LWS_CALLBACK_VHOST_CERT_UPDATE: 3
?[34;1m[2018/08/12 09:17:35:1571] DEBUG: lws_acme_finished
?[35;1m[2018/08/12 09:17:35:1629] NOTICE: callback_acme_client: CLOSED_CLIENT_HTTP: 0x3ffe32a4
?[35;1m[2018/08/12 09:17:35:1786] NOTICE: lws_esp32_get_image_info: bad image header magic
?[35;1m[2018/08/12 09:17:35:1843] NOTICE: heap :129396 (+59436)
So even though it does not work on the older release, it goes much further. I am using Firefox on Windows if it matters..
I also notice regular "tcp_connect: can only connect from state CLOSED" in both versions (I do not see these in the "test-demo" app), but I guess that this is unrelated.
Any idea on what is the problem with the Lets Encrypt function?
The text was updated successfully, but these errors were encountered: