You are reading a single comment by @Robin and its replies. Click here to read the full conversation.
  • |  __|___ ___ ___ _ _|_|___ ___
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v04 (c) 2019 G.Williams
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    >Saving ca
    Saving key
    Saving cert
    Connecting to Wifi
    Connected...
    { "free": 2155, "usage": 145, "total": 2300, "history": 485,
      "gc": 0, "gctime": 2.03 }
    {
      "VERSION": "2v04",
      "GIT_COMMIT": "3956264e",
      "BOARD": "ESP32",
      "FLASH": 0, "RAM": 524288,
      "SERIAL": "a4cf1275-31c8",
      "CONSOLE": "Serial1",
      "MODULES": "Flash,Storage,heatshrink,fs,net,dgram,tls,http,NetworkJS,Wifi,TelnetServer,crypto,neopixel",
      "EXPTR": 1073484860 }
    Acessing AWS IOT
    Connecting...
    Uncaught InternalError: HTTPS init failed! mbedtls_x509_crt_parse of 'ca': Invalid format
     at line 75 col 10
      }).end();
             ^
    in function called from system
    >
    

    Source code
    https://www.dropbox.com/s/3i0cig5pl9qtd7e/code.js?dl=0

    Let me know if runs in your ESP32

  • Confirming: Is the amount of free mem that after the entire upload of source code?

    "free": 2155, "usage": 145
    

    The usage seems to suggest that no certificate code has been uploaded?

About

Avatar for Robin @Robin started