-
Notifications
You must be signed in to change notification settings - Fork 146
Description
Description
On an IPv6-only host, infrastructure agent is unable to communicate with Newrelic, even if in https://docs.newrelic.com/docs/new-relic-solutions/get-started/networks/ it's reported
These endpoints support both IPv4 and IPv6, and have HTTP/2 and HTTP/3 enabled
Expected Behavior
Newrelic agent to work - it should be enough to be able to define the used endpoint in the agent? cannot find how!
Troubleshooting or NR Diag results
docker-compose.yml used
services:
agent:
container_name: newrelic
image: newrelic/infrastructure:latest
cap_add:
- SYS_PTRACE
network_mode: host
pid: host
privileged: true
volumes:
- "/:/host:ro"
- "/var/run/docker.sock:/var/run/docker.sock"
- "./newrelic-infra.yml:/etc/newrelic-infra.yml"
restart: unless-stopped
Steps to Reproduce
Deploy docker-compose.yml as above the monitor docker logs
Your Environment
Rocky Linux on Hetzner, IPv6 only
Logs
time=2025-11-17T22:04:32Z
level=warning
msg=URL error detected. May be a configuration problem or a network connectivity issue.
component=AgentService
error=Head \"https://infra-api.eu.newrelic.com\": context deadline exceeded
service=newrelic-infra
time=2025-11-17T22:04:32Z
level=warning
msg=Collector endpoint not reachable, retrying...
collector_url=https://infra-api.eu.newrelic.com
component=AgentService
error=Head \"https://infra-api.eu.newrelic.com\": context deadline exceeded
service=newrelic-infra
time=2025-11-17T22:04:43Z
level=warning
msg=URL error detected. May be a configuration problem or a network connectivity issue.
component=AgentService
error=Head \"https://infra-api.eu.newrelic.com\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
service=newrelic-infra