Open OilSlick opened 3 years ago
@OilSlick I was able to reproduce this on my end. It seems like declaring < 20 feeds does not cause this issue. Also the ESP32 does not have this issue, if you have one.
This looks to be an issue within the ESP8266's board package's SSL module, BearSSL. It looks like an allocation failure occurs within BearSSL (similar to https://github.com/esp8266/Arduino/issues/5815) when you allocate over 19 feeds on the ESP8266.
It also looks similar to this issue: https://github.com/esp8266/Arduino/issues/7801 which I am now following.
Thank you for the update.
Arduino board: Adafruit Feather HUZZAH with ESP8266
Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.13
List the steps to reproduce the problem below (if possible attach a sketch or copy the sketch code in too):
Configure 20+ AdafruitIO_Feeds. I'm not sure if there is any correlation between the number of feeds configured for sub vs pub vs pub/sub.
The number of feeds that produces the exception seems relatively constant for me at 20+. However, the reason I found the issue was general, inconsistent lock-ups (that may be completely unrelated).
The sketch I am using to reproduce the error is below. The only information in config.h is my WiFi and AIO authentication information.
The exception that I get from the ESP8266 is below:
Thank you in advance for your help!