[k8s, helm]nginx: [emerg] socket() :8080 failed (97: Address family not supported by protocol) #8038
Replies: 2 comments 2 replies
-
this looks like an nginx config bug. Happy to help with making a change in the chart if you can help with finding how to fix it in nginx |
Beta Was this translation helpful? Give feedback.
-
Having experienced a similar issue, I'm leaning towards this is triggered because of some confusion between The behaviour is also coming differently when directly using gateway:
enabledNonEnterprise: false
nginx:
config:
enableIPv6: false
nginx:
enabled: true helm template lgtm grafana/mimir-distributed --dry-run --debug -f values.yaml --version 5.5.1 2>/dev/null | grep -A 3 "server {"
server {
listen 8080;
listen [::]:8080; helm template lgtm grafana/lgtm-distributed --dry-run --debug -f values.yaml --version 2.1.0 2>/dev/null | grep -A 3 "server {"
server {
listen 8080;
location = / {
--
server {
listen 8080;
listen [::]:8080; gateway:
enabledNonEnterprise: true
nginx:
config:
enableIPv6: false
nginx:
enabled: true helm template lgtm grafana/mimir-distributed --dry-run --debug -f values.yaml --version 5.5.1 2>/dev/null | grep -A 3 "server {"
server {
listen 8080;
client_max_body_size 540M;
--
server {
listen 8080;
listen [::]:8080; helm template lgtm grafana/lgtm-distributed --dry-run --debug -f values.yaml --version 2.1.0 2>/dev/null | grep -A 3 "server {"
server {
listen 8080;
location = / {
--
server {
listen 8080;
listen [::]:8080; gateway:
enabledNonEnterprise: false
nginx:
config:
enableIPv6: false
nginx:
enabled: false helm template lgtm grafana/mimir-distributed --dry-run --debug -f values.yaml --version 5.5.1 2>/dev/null | grep -A 3 "server {" helm template lgtm grafana/lgtm-distributed --dry-run --debug -f values.yaml --version 2.1.0 2>/dev/null | grep -A 3 "server {"
server {
listen 8080;
location = / {
--
server {
listen 8080;
listen [::]:8080; gateway:
enabledNonEnterprise: true
nginx:
config:
enableIPv6: false
nginx:
enabled: false helm template lgtm grafana/mimir-distributed --dry-run --debug -f values.yaml --version 5.5.1 2>/dev/null | grep -A 3 "server {"
server {
listen 8080;
client_max_body_size 540M; helm template lgtm grafana/lgtm-distributed --dry-run --debug -f values.yaml --version 2.1.0 2>/dev/null | grep -A 3 "server {"
server {
listen 8080;
location = / {
--
server {
listen 8080;
listen [::]:8080; In addition, it seems that it is possible to workaround this by overriding |
Beta Was this translation helpful? Give feedback.
-
hello.
While installing to test mimir, the following log occurs in gateway-nginx.
The version I'm using is:
k8s: 1.27.9
helm: helm.sh/chart=mimir-distributed-5.3.0
I looked up the bug and found that it has been resolved, but I'm curious why it's happening again.
#7210
Beta Was this translation helpful? Give feedback.
All reactions