The ESP8266 port does not have the TLS component compiled in that is required for https. There is not enough free memory for the buffers required. You reduce the number of jsvars and compile this in, but depending on how complex your code is, you might not have enough space left to do what you want to achieve.
You could use a http to https proxy service as a helper.
The ESP32 build has enough resources, so that https:// works.
© Espruino, powered by microcosm.
Report a problem