Closed
Description
P
Hardware:
Board: ESP32 Dev Module
Core Installation/update date: 11/jul/2017
IDE name: Arduino IDE
Flash Frequency: 40Mhz
Upload Speed: 115200
Description:
The WifiClientSecure class is missing the peek() method, so the peek() from the parent class (WifiClient) is called instead.
The problem with this is that if you are using WifiClientSecure with the Update library to do OTA updates it will fail with a "Invalid Magic Byte" error when Update tries to read the stream and do a peek() at the first magic byte. Likely because the byte isn't being decrypted.
This means that you currently cannot do an OTA update over HTTPS/SSL. :-(
Metadata
Metadata
Assignees
Labels
No labels