hassio-addons / addon-glances

Glances - Home Assistant Community Add-ons
https://addons.community
MIT License
146 stars 22 forks source link

Glances Addon won't start: address already in use #487

Open f18m opened 3 weeks ago

f18m commented 3 weeks ago

Problem/Motivation

Stock installation of Glances on HomeAssistant OS, zero changes to the default config. I get:

2024-06-11 23:22:16,952 -- INFO -- Glances RESTful API Server started on http://127.0.0.1:61209/api/3/
2024-06-11 23:22:16,953 -- INFO -- Glances Web User Interface started on http://127.0.0.1:61209/
Glances Web User Interface started on http://127.0.0.1:61209/
Error: Can not ran Glances Web server ([Errno 98] Address in use)
2024-06-11 23:22:16,955 -- CRITICAL -- Error: Can not ran Glances Web server ([Errno 98] Address in use)

From this log it seems that both the Restful API server and the web user interface are trying to start on the same port number...

Expected behavior

Default configuration should either set the 2 servers on 2 different ports or simply disable the web server (I believe the intended use in HASS is to connect Glances with InfluxDB).

Actual behavior

Error on port conflict

Steps to reproduce

Just install the Glances addon brand new and try to start it.

Proposed changes

Default configuration should either set the 2 servers on 2 different ports or simply disable the web server (I believe the intended use in HASS is to connect Glances with InfluxDB).