-
Notifications
You must be signed in to change notification settings - Fork 7.6k
WiFiClientSecure
handshake fails after client.stop()
. Regression in 2.0.2
#6077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The work around is working!
|
Hi!, i´m having the same issue, after a wifi reconect the client doesn´t connect back due to the timeout set to 0, i also added the client.setHandshakeTimeout() before each connect and it works, hopefully this can be fixed! |
Hello folks, can you please retest this on v2.0.3-rc1? |
any news on this, thanks! |
@vshymanskyy do you still face the issue on v2.0.4? |
Seems to be fixed in 2.0.3 |
Board
ESP32
Device Description
Any board
Hardware Configuration
Any configuration
Version
latest master
IDE Name
Arduino IDE
Operating System
Linux
Flash frequency
40
PSRAM enabled
no
Upload speed
921600
Description
Related to this report: https://community.blynk.cc/t/new-esp32-arduino-2-0-2-board-update-package-may-be-incompatible-with-blynksimpleesp32-ssl-h/58248
#5945 clears
ssl_client
in several places, which setshandshake_timeout
to 0.Consequently,
start_ssl_client
always fails here:arduino-esp32/libraries/WiFiClientSecure/src/ssl_client.cpp
Line 266 in caef400
Sketch
Debug Message
Other Steps to Reproduce
As a workaround for the issue, one can add
client.setHandshakeTimeout(30);
before every connection attempt.I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: