You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have the same problem with my app, it works well with platformio 3.0.0 but make ssl error with upper version 3.1.x and 3.2.0 with this error [E][WiFiClientSecure.cpp:133] connect(): start_ssl_client: -1
All other code working well except this.
Thanks for your help
In the linked topic it was found out that this is purely dependent on the Arduino-ESP32 core version. Core 1.0.4 is good but after that it's bad (1.0.5 and 1.0.6), and core 1.0.4 is used in Espressif32 platform 3.0.0, 1.0.5 in 3.1.x and 1.0.6 in 3.2.x.
Or rather, as can be seen in espressif/arduino-esp32#4992, "bad" in the sense that you now have to call an extra function .setInsecure() to get the old behavior again.
Not an issue in PlatformIO, hence closing.
Addendum: If you do not want to adapt your code, you can use the older Arduino core either by reverting the whole platform version using
Per 3 user reports from https://community.platformio.org/t/wificlientsecure-doesnt-work-in-espressif-32-v3-1-0/19877, establishing SSL connections may be broken in platform code or Arduino core that 3.1.x uses.
I am attempting to get more details on this and a reproduction, but since 3 users independently reported it I figured I should track it here.
The text was updated successfully, but these errors were encountered: