New ESP32 Arduino 2.0.2 board update package may be incompatible with BlynkSimpleEsp32_SSL.h

Using Arduino IDE v 1.8.15 on Win 10.
Using WiFiMulti.h
Using BlynkSimpleEsp32_SSL.h
Compiling to Adafruit ESP32 Feather (love Adafruit products!)

Just updated to ESP32 Board package 2.0.2.
BlynkSimpleEsp32_SSL.h no longer connects to Blynk.
This is new behavior

BlynkSimpleEsp32.h still works fine.
BlynkSimpleEsp8266_SSL.h works fine.
BlynkSimpleEsp8266.h works fine.
Reverting to previous version of ESP32 2.0.1-RC1 board package works, too.

This seems to have just happened since upgrading to ESP32 v 2.0.2

1 Like

I’ve retested the new Arduino ESP32 Board package 2.0.2 with a different ESP32 processor and observed the same bad behavior with BlynkSimpleEsp32_SSL.h.

I connect to WiFi using WiFiMulti.h.

BlynkSimpleEsp32_SSL.h no longer connects to Blynk.

BlynkSimpleEsp32.h still connects fine. (No SSL connection to Blynk.)
Reverting to previous version of ESP32 2.0.1-RC1 board package works, too.

BlynkSimpleEsp8266_SSL.h works fine on an ESP8266.
BlynkSimpleEsp8266.h works fine on an ESP8266

Here’s the Blynk printout…
Hope this is helpful.

[15619] 
    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v1.0.1 on ESP32

[15624] Connecting to blynk.cloud:443
[15845] Secure connection failed
[20625] Connecting to blynk.cloud:443
[20827] Secure connection failed
[25626] Connecting to blynk.cloud:443
[25827] Secure connection failed
[30627] Connecting to blynk.cloud:443
[30831] Secure connection failed

... my code sends a diagnostic to IFTTT - connection works ...

postToIFTTT called...
JSON POST is     <{ "value1" : " CANDLE-LAMP-32: checkBlynkAndWiFiConnections WiFi ON - Blynk OFF" }>
POST return code: 200
Response: Congratulations! You've fired the CANDLE_Signal event

... my code ...

[35633] Connecting to blynk.cloud:443
[35835] Secure connection failed

I can confirm the issue, however it’s not clear why.
Working on this

Reported a bug in ESP32 Arduino Core:

Thanks for pushing on this.

I think we have found a workaround for this, preparing a new library update.

Very nice. Thanks.

My guess it that may Be A While before Espressif releases a new Arduino ESP32 library to correct this.

I prefer SSL for longer-term connections, like with Blynk, and am sticking with Espressif’s ESP32 v2.0.1 release for now. A library update from you would let me update to Espressif’s latest 2.0.2.

I’d still love to be able to make quick SSL connections for rapid inter-device communications, but they appear to take seconds to connect on the ESP8266 and ESP32 platforms. Non-SSL connections take microseconds.

Thanks again for keeping this all moving. It is much appreciated.

Gently inquiring if you had have been able to make progress on this Espressif issue.

I understand that it’s Not Your Problem, and…
if you have a workaround to the SSL glitch in the ESP32 2.0.2 Arduino Core, I would use it happily.
(There are problems with the 2.0.1 Core that have forced me to 2.0.2.)

Thanks.