Description of problem:
Hello,
I can't figure out why I got an error
[api.connection: 670]: Cannot send message because of TCP buffer space
when I exceed a certain number of sensors on the yaml of my esp.
I discovered the coding of home assistant and esphome, I am not sure that it is a bugg (but I think seen what I found on the subject) or an error on my part. If you ever need, I put my code on github:
https://github.com/jeelabs/esp-link/releases/tag/v2.2.3
The problem happens to me when I transfer the image number for the rain icons every 5 minutes over 1 hour of weather in France, but I'm not sure it will be linked ....
Operating environment/Installation (Hass.io/Docker/pip/etc.):
In docker, Debian 10.3 in box internet (VM). ESP (ESP32/ESP8266, Board/Sonoff):
ESP8266 nodemcuv2 uart screen Nextion Affected component:
https://esphome.io/devices/nodemcu_esp32.html
Description of problem: Hello, I can't figure out why I got an error [api.connection: 670]: Cannot send message because of TCP buffer space when I exceed a certain number of sensors on the yaml of my esp. I discovered the coding of home assistant and esphome, I am not sure that it is a bugg (but I think seen what I found on the subject) or an error on my part. If you ever need, I put my code on github: https://github.com/jeelabs/esp-link/releases/tag/v2.2.3 The problem happens to me when I transfer the image number for the rain icons every 5 minutes over 1 hour of weather in France, but I'm not sure it will be linked ....
Problem-relevant YAML-configuration entries:
PASTE DEBUG LOG HERE
[07:46:43][C][status_led:019]: Status LED: [07:46:43][C][status_led:020]: Pin: GPIO0 (Mode: OUTPUT, INVERTED)
[redacted] [07:46:43][C][wifi:284]: IP Address: 192.168.0.10
[redacted]
[07:46:43][C][wifi:291]: Signal strength: -66 dB ▂▄▆█ [07:46:43][C][wifi:295]: Channel: 13 [07:46:43][C][wifi:296]: Subnet: 255.255.255.0 [07:46:43][C][wifi:297]: Gateway: 192.168.0.254 [07:46:43][C][wifi:298]: DNS1: 192.168.0.23 [07:46:43][C][wifi:299]: DNS2: 192.168.0.254 [07:46:43][C][uart:140]: UART Bus: [07:46:43][C][uart:142]: TX Pin: GPIO1 [07:46:43][C][uart:145]: RX Pin: GPIO3 [07:46:43][C][uart:147]: Baud Rate: 9600 baud [07:46:43][C][uart:148]: Stop bits: 2 [07:46:43][C][uart:150]: Using hardware serial interface.
[07:46:43][C][logger:176]: Level: VERBOSE [07:46:43][C][logger:177]: Log Baud Rate: 0 [07:46:43][C][logger:178]: Hardware UART: UART0 [07:46:43][C][homeassistant.text_sensor:011]: Homeassistant Text Sensor 'uptime_ha' [07:46:43][C][homeassistant.text_sensor:012]: Entity ID: 'sensor.uptime_ha' (......) [07:46:44][C][homeassistant.sensor:024]: Accuracy Decimals: 1 [07:46:44][C][homeassistant.sensor:025]: Entity ID: 'sensor.gauge_ram' [07:46:45][V][api.connection:586]: Hello from client: 'Home Assistant 0.106.5 (192.168.0.27)' [07:46:45][D][api.connection:602]: Client 'Home Assistant 0.106.5 (192.168.0.27)' connected successfully! [07:46:46][V][api.connection:670]: Cannot send message because of TCP buffer space [07:46:46][V][api.connection:691]: Error: Disconnecting Home Assistant 0.106.5 (192.168.0.27) [07:46:46][D][api:067]: Disconnecting Home Assistant 0.106.5 (192.168.0.27) [07:46:48][V][api.connection:586]: Hello from client: 'Home Assistant 0.106.5 (192.168.0.23)' [07:46:48][D][api.connection:602]: Client 'Home Assistant 0.106.5 (192.168.0.23)' connected successfully! [07:46:48][V][api.connection:670]: Cannot send message because of TCP buffer space [07:46:48][V][api.connection:691]: Error: Disconnecting Home Assistant 0.106.5 (192.168.0.23) [07:46:48][D][api:067]: Disconnecting Home Assistant 0.106.5 (192.168.0.23) [07:46:52][V][api.connection:586]: Hello from client: 'Home Assistant 0.106.5 (192.168.0.27)' [07:46:52][D][api.connection:602]: Client 'Home Assistant 0.106.5 (192.168.0.27)' connected successfully! [07:46:53][V][api.connection:670]: Cannot send message because of TCP buffer space [07:46:53][V][api.connection:691]: Error: Disconnecting Home Assistant 0.106.5 (192.168.0.27) [07:46:53][D][api:067]: Disconnecting Home Assistant 0.106.5 (192.168.0.27) [07:46:54][V][api.connection:586]: Hello from client: 'Home Assistant 0.106.5 (192.168.0.23)' (....)
Additional information and things you've tried:
Sorry for my English, I use Google, and also for my working code.