From 42c4de348cfd5854d63d4a9447ff468da92c53ae Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sat, 9 Feb 2019 13:21:18 +0200 Subject: [PATCH] Revert "Bind metrics on :: too" This reverts commit 536c85619f0d0f4daeac120134a3e76c5cbd4703. Looks like binding metrics on IPv6 (`::`) fails with an error: socket.gaierror: [Errno -2] Name does not resolve --- roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 b/roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 index 647bbfce..d52ba1ab 100644 --- a/roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 +++ b/roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 @@ -152,7 +152,8 @@ listeners: {% if matrix_synapse_metrics_enabled %} - type: metrics port: {{ matrix_synapse_metrics_port }} - bind_addresses: ['::'] + bind_addresses: + - '0.0.0.0' {% endif %} {% if matrix_synapse_federation_enabled and matrix_synapse_tls_federation_listener_enabled %}