-
Notifications
You must be signed in to change notification settings - Fork 96
Intermittent exception thrown when validating client cert #86
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
Update: Sometimes I'm seeing the exception in other places now, e.g when trying to write data. I seem to be able to work around this by either reflashing the sketch or resetting the board with the reset button. |
@8none1, please, decode the exception and stack dump using EspExceptionDecoder. What version of this library do you use? |
Here's a couple of decoded exceptions. They both seem to crash at the same point in BearSSLHelpers.cpp
I'm using library version: Checking the SDK version prompted me to upgrade it to I think this issue can be closed, sorry about that. If I can recreate the problem I will open a new issue with the decoded exceptions attached. |
Thanks for the update. I haven't tested the latest updates (2.7.3, 2.7.4). It seems this issue was fixed by Esp8266 Arduino #7478. |
On an ESP8266 (Node MCU v1 clone) calling
client.validateConnection();
usually results in an exception being thrown.
Most of the time it is this
but some times it is this:
This reboots the board and then it gets in to an exception reboot loop. Some times it will get itself out of this loop and then once the main loop starts running things are generally pretty stable.
If I comment out the validateConnection() function call things seem to work fine.
Thanks for all your work on this excellent library. Let me know if I can help debug some more.
The text was updated successfully, but these errors were encountered: