Enabling IPv6 causes Client.Timeout exceeded while awaiting headers since 0.9.0
Describe the bug
nginx-prometheus-exporter 0.9.0 fails frequently:
net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
To reproduce Steps to reproduce the behavior:
- enable IPv6
- start a nginx and nginx-prometheus-exporter container
- run them for a while
- see error
Increasing the timeout or retries does not help.
Expected behavior It should work fine as with 0.7.0 or 0.8.0. I suspect that the base image changes introduced this regression. Maybe they can't handle IPv6 out of the box?
Your environment * Version of the Prometheus exporter: 0.9.0 * Version of Docker: 20.10.7 + IPv6 * Using NGINX
Aha! Link: https://nginx.aha.io/features/IC-293
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
bump
I have a feeling this is related to IPv6 We have a future plan to properly support IPv6
Are you IPv6 alone? or dual stack? And if dual stack is the IPv4 address being used.
dual stack, both IPs used