blynkkk / blynk-library

Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, ARM Mbed, etc.
https://blynk.io
MIT License
3.81k stars 1.38k forks source link

Fix SSL connection on ESP8266 #501

Closed tomikaa87 closed 3 years ago

tomikaa87 commented 3 years ago

Description

This PR addresses an issue where the BearSSL-based secure WiFi client on ESP8266 requires the fingerprint to be set before calling connect() if fingerprint-based check is being used. Also in case of a fairly complex application, the default RX/TX buffer sizes are too large and cause OOM errors, so they have been reduced.

Espressif platform version: 2.6.2 Blynk library: latest (at the time of opening this PR) in the PlatformIO repository

Issues Resolved

There is no open issue associated to this problem, I've discovered it with my setup.

vshymanskyy commented 3 years ago

With the latest updates, we dropped support of axTLS in favor of BearSSL. This also should fix your issues. Please check it out and let us know. Thanks for your contribution!