MtSamsonite / ha-cbus2mqtt

A Home Assistant Add-on for connecting CBUS
GNU General Public License v3.0
11 stars 1 forks source link

Memory error and containers/addon_a9f92ca1_cbus2mqtt/json: Not Found - pls help #7

Open danielperez505 opened 1 month ago

danielperez505 commented 1 month ago

Hi Guys Im tried to run the add-on but it disconnected after some time. Im getting the following errors in the addon logs and also a memory issue in mqtt Im running HA in a VM with 5Gb memory with the latest version: Core 2024.5.2 Supervisor 2024.05.1 Operating System 12.3 Frontend 20240501.1

Any help would be really appreciated!!

Log Details (ERROR) Logger: homeassistant.components.hassio Source: components/hassio/websocket_api.py:135 integration: Home Assistant Supervisor (documentation, issues) First occurred: 14:51:10 (1 occurrences) Last logged: 14:51:10

Failed to to call /addons/a9f92ca1_cbus2mqtt/stats - 404 Client Error for http+docker://localhost/v1.44/containers/addon_a9f92ca1_cbus2mqtt/json: Not Found ("No such container: addon_a9f92ca1_cbus2mqtt")

Error 2 [14:48:22] INFO: Successfully send discovery information to Home Assistant. [14:48:23] INFO: Successfully send service information to the Supervisor. 2024-05-10 14:49:34: New connection from 172.30.32.1:35383 on port 1883. 2024-05-10 14:49:34: New client connected from 172.30.32.1:35383 as 5PibQBFE7NADYGcV134Ll7 (p2, c1, k60, u'homeassistant'). 2024-05-10 14:50:25: New connection from 172.30.33.2:59055 on port 1883. 2024-05-10 14:50:25: New client connected from 172.30.33.2:59055 as auto-63AED485-B542-233D-7BD1-1E3508752201 (p2, c1, k60, u'mqtt'). 2024-05-10 14:50:25: Client auto-63AED485-B542-233D-7BD1-1E3508752201 closed its connection. 2024-05-10 14:50:37: New connection from 172.30.33.2:48111 on port 1883. 2024-05-10 14:50:37: New client connected from 172.30.33.2:48111 as auto-6596022D-1222-A437-82A1-FFA2F70F988B (p2, c1, k60, u'mqtt'). 2024-05-10 14:50:38: Client auto-6596022D-1222-A437-82A1-FFA2F70F988B disconnected due to out of memory. 2024-05-10 14:50:54: New connection from 172.30.33.2:50285 on port 1883. 2024-05-10 14:50:54: New client connected from 172.30.33.2:50285 as auto-D241E015-407A-26C8-AA66-804E069410C8 (p2, c1, k60, u'mqtt'). 2024-05-10 14:50:54: Client auto-D241E015-407A-26C8-AA66-804E069410C8 disconnected due to out of memory. 2024-05-10 14:51:04: New connection from 172.30.33.2:40429 on port 1883. 2024-05-10 14:51:04: New client connected from 172.30.33.2:40429 as auto-207AE035-C029-2F89-3F8A-D08CCA77B66F (p2, c1, k60, u'mqtt'). 2024-05-10 14:51:04: Client auto-207AE035-C029-2F89-3F8A-D08CCA77B66F disconnected due to out of memory. 2024-05-10 14:51:14: New connection from 172.30.33.2:34187 on port 1883. 2024-05-10 14:51:14: New client connected from 172.30.33.2:34187 as auto-3DF20FE4-4D67-84CD-B90A-796A3E5B12CC (p2, c1, k60, u'mqtt'). 2024-05-10 14:51:14: Client auto-3DF20FE4-4D67-84CD-B90A-796A3E5B12CC disconnected due to out of memory. 2024-05-10 14:51:26: New connection from 172.30.33.2:42987 on port 1883. 2024-05-10 14:51:26: New client connected from 172.30.33.2:42987 as auto-40A2C009-B591-2DCE-1BD8-745AB64B9072 (p2, c1, k60, u'mqtt'). 2024-05-10 14:51:26: Client auto-40A2C009-B591-2DCE-1BD8-745AB64B9072 disconnected due to out of memory. 2024-05-10 14:51:37: New connection from 172.30.33.2:41781 on port 1883. 2024-05-10 14:51:37: New client connected from 172.30.33.2:41781 as auto-A8752B63-100E-A63A-4422-47E5AAC56362 (p2, c1, k60, u'mqtt'). 2024-05-10 14:51:37: Client auto-A8752B63-100E-A63A-4422-47E5AAC56362 disconnected due to out of memory. 2024-05-10 14:51:47: New connection from 172.30.33.2:56271 on port 1883. 2024-05-10 14:51:47: New client connected from 172.30.33.2:56271 as auto-8A5B3F50-4A18-FE8E-C922-2DA3A78C1A35 (p2, c1, k60, u'mqtt'). 2024-05-10 14:51:48: Client auto-8A5B3F50-4A18-FE8E-C922-2DA3A78C1A35 disconnected due to out of memory. 2024-05-10 14:51:57: New connection from 172.30.33.2:43861 on port 1883. 2024-05-10 14:51:57: New client connected from 172.30.33.2:43861 as auto-96DDDF0D-E6A7-52D3-146E-4D53D49DDB20 (p2, c1, k60, u'mqtt'). 2024-05-10 14:51:57: Client auto-96DDDF0D-E6A7-52D3-146E-4D53D49DDB20 disconnected due to out of memory. 2024-05-10 14:52:08: New connection from 172.30.33.2:42405 on port 1883. 2024-05-10 14:52:08: New client connected from 172.30.33.2:42405 as auto-E6BBBF71-E3E4-2757-4542-0C8459214DE8 (p2, c1, k60, u'mqtt'). 2024-05-10 14:52:08: Client auto-E6BBBF71-E3E4-2757-4542-0C8459214DE8 disconnected due to out of memory. 2024-05-10 14:52:19: New connection from 172.30.33.2:59333 on port 1883. 2024-05-10 14:52:19: New client connected from 172.30.33.2:59333 as auto-DE6C579D-3A3B-FFE7-83AA-5BC6A3889A97 (p2, c1, k60, u'mqtt'). 2024-05-10 14:52:20: Client auto-DE6C579D-3A3B-FFE7-83AA-5BC6A3889A97 disconnected due to out of memory. 2024-05-10 14:52:34: New connection from 172.30.32.2:44316 on port 1883. 2024-05-10 14:52:34: Client closed its connection. 2024-05-10 14:52:40: New connection from 172.30.33.2:57265 on port 1883. 2024-05-10 14:52:40: New client connected from 172.30.33.2:57265 as auto-6D28382C-D462-698D-8A42-99D3AFAD4121 (p2, c1, k60, u'mqtt').

Error 1

mporting the add-on configuration options as script variables Completed importing addon configuration options The following variable values were passed through via the Home Assistant add on configuration options MQTT_USER = mqtt MQTT_PASSWORD = NOT DISPLAYED IN LOG FILE MQTT_SERVER = core-mosquitto TCP_OR_SERIAL = Use a IP connection to CBUS CBUS_CONNECTION = 192.168.15.207:10001 MQTT_USE_TLS = null MQTT_PORT = null CMQTTD_CA_CERT_PATH = null CMQTTD_CLIENT_CERT_PATH = null CMQTTD_CLIENT_KEY_PATH = null CMQTTD_PROJECT_FILE = null CBUS_TIMESYNC = null CBUS_CLOCK = null CMQTTD_LOG_LEVEL = null Creating file /etc/cmqttd/auth Using TCP CNI at 192.168.15.207:10001 Disabling TLS support. Using MQTT login details in /etc/cmqttd/auth No value was provided for CMQTTD_PROJECT_FILE; using generated labels.

Local time zone: Australia/Sydney Current time: Fri, 10 May 2024 15:05:40 +1000 Running cmqttd with flags: --broker-address core-mosquitto --timesync 300 --tcp 192.168.15.207:10001 --broker-disable-tls --broker-auth /etc/cmqttd/auth 2024-05-10 15:05:41,261 Transport security disabled! s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped