-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
Fatal Exception (29) cycling Client Secure (both SHA1 and CACert validation) #4673
Comments
UPDATE: Thank you in advance all those who want to get interested. EDIT: EDIT2: |
I understand that there was a memleak fixed with WiFiCLient|Secure after 2.4.1 release, which could be relevant. |
I'm using latest release 2.4.1. |
BearSSL is merged in #4273 , with alternate BearSSL::WiFi* classes. Although axtls-based classes are still available and even the default, they are planned for deprecation and then retirement, hence won't be fixed. Any issues with BearSSL-based classes should be reported in new issues.
which you have ticked. |
Basic Infos
Platform
Settings in IDE
Problem Description
Hello,
I get an error with the "client secure" library (both with SHA1 and CACert validation).
In practice, in my sketch I have to use the secure client to communicate with two different hosts, so I have to use two different root certificates.
I have compiled the sketch as attached, but after 4 loops I get an error on the serial monitor (Fatal Exception 29), that seems to be memory issue.
I have tried to modify the sketch using CACert for first host and SHA1 fingerprint for second host (avoiding the repeating of certificates loading), and in this way it reaches 28 loops, then again the same error.
UPDATE: see next post.
MCVE Sketch
Debug Messages
The text was updated successfully, but these errors were encountered: