SSL on ESP32 #7167
Replies: 1 comment
-
Posted at 2019-01-24 by Wilberforce The esp32 build supports https. That dns name does not resolve: https://firebaseio.com/ - in the browser it for sure if you prefix with www. It looks like it's next trying to do some login/authentication - they might be quite tricky... Posted at 2019-01-31 by Will This is the exact URL: Posted at 2019-02-01 by Wilberforce Please post your code, a simple example would be best. Posted at 2019-02-02 by Will Hi - thank you for any help you might provide. Dev board is running other code, so I pulled this from notes, not a working board.
Posted at 2019-02-04 by Wilberforce Hi, Looking at your code above - the headers is not doing what you think it is... - the parameters need to be part of the path.
Without this you get 600k of data back and this is too much! However - this is not the issue. It looks like since the esp-idf version of the mBed TLS was added that https is no longer working... This simple case fails:
Added a new issue: Posted at 2019-06-24 by Will thank you! Posted at 2019-08-25 by DamianMontero As you can see BOTH the ESP32 (in this case an ESP32-CAM module) and a D1 Mini ESP8266 BOTH where able to connect httpS://google.com successfully so v2.04 of Espruino for both of these works perfectly with SSL. Hopefully we can close this issue in Github and mark this thread as (SOLVED) for those interested in playing along here's the code for copying and pasting:
Attachments: Posted at 2019-12-21 by maze1980 For my ESP-WROOM-32 it doesn't work. Posted at 2019-12-22 by @allObjects If - or - since it is working: how much space / vars is / are left for the app? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2019-01-23 by Will
Is SSL available on ESP32? I know it wasn't at one point. If not, does anyone know URL/service that can be used to translate?
I'm trying to pull information from https://firebaseio.com
I get out of memory error, and have tried turning off bluetooth with no avail. Perhaps I should look into building my own?
Using version 2.01.
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions