You are reading a single comment by @cmo and its replies. Click here to read the full conversation.
  • So I've been very happy with the level of support and efficiency of Espruino on both a ESP32 and ESP8266. However I get an error when I try to download a HTTPS site.

    This works on an ESP8266 but not an ESP32:

    var http = require("http");
    http.get("https://httpbin.org/ip", function(res) {
      res.on('data', function(data) {
        console.log(data);
      });
    });
    

    The error I get on my ESP32 is:

    Uncaught InternalError: Failed! mbedtls_ssl_handshake returned -0x7780
    

    Per mbed, I believe this relates to:

    MBEDTLS_ERR_SSL_FATAL_ALERT_MESSAGE -0x7780 /**< A fatal alert message was received from our peer. */
    

    I see a video showing it working and this link: https://github.com/espruino/Espruino/iss­ues/960

    Maybe it broke in the latest release? I have 1v94.

    Any help is very much appreciated. Thanks.

About

Avatar for cmo @cmo started