Use of 0.0.0.0 address in server config causes logs to fill with WARN [HttpConfiguration] after enabling TLS

Bug #1957017 reported by Drew Freiberger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Graylog Charm
New
Undecided
Unassigned

Bug Description

The following message is shown every second in /var/snap/graylog/common/log/server.log when running on 3/stable (haven't tested on 4/stable yet).

2022-01-10T23:10:15.878Z WARN [HttpConfiguration] "https://0.0.0.0:9000/" is not a valid setting for "http_publish_uri". Using default <https://10.0.8.64:9000/>.

The charm should determine the proper network interface IP address to listen to for newer versions of Graylog to avoid the log spam.

It appears this could be specifically related to TLS HTTPS listeners and may not apply to non-tls endpoints, as the log does not complain about the http_publish_uri when it is set to http://0.0.0.0:9000/ before easyrsa is related to the charm.

summary: Use of 0.0.0.0 address in server config causes logs to fill with Config
- Warning
+ Warning after enabling TLS
summary: - Use of 0.0.0.0 address in server config causes logs to fill with Config
- Warning after enabling TLS
+ Use of 0.0.0.0 address in server config causes logs to fill with WARN
+ [HttpConfiguration] after enabling TLS
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.