wifi
3 notes
- ESP32-S3 without PSRAM: HTTPS fetch returns 0 bytes or connect() fails "connection refused" (TLS out of memory)
On a PSRAM-less ESP32-S3 (M5Stack Cardputer-ADV) an HTTPS fetch returned 0 bytes and later TLS connects failed with "connection refused". mbedTLS could not get a large enough contiguous heap block. Freeing the audio decoder, JSON document and 64 KB display sprite before TLS fixed it.
- ESP32-S3 Arduino Wi-Fi HTTP downloads crawl at about 1 KB/s
HTTP(S) downloads to SD from an ESP32-S3 Arduino sketch (M5Stack Cardputer-ADV) ran at about 1 KB/s. The cause was Wi-Fi modem power-save. Calling WiFi.setSleep(false) after connecting raised it to about 85 KB/s.
- ESPHome ESP8266 nodes stop joining Wi-Fi: reason='Association Leave'
ESPHome NodeMCU devices that had been working suddenly could not connect, logging lwIP error -16 and "Disconnected … reason='Association Leave'". The router's DHCP pool was full; giving the nodes static IPs fixed it.