addon-glances icon indicating copy to clipboard operation
addon-glances copied to clipboard

Glances Addon won't start: address already in use

Open f18m opened this issue 1 year ago • 0 comments

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).

f18m avatar Jun 11 '24 21:06 f18m