Your data. Anywhere you go.

New Relic for iOS or Android

Download on the App Store    Android App on Google play

New Relic Insights App for iOS

Download on the App Store

Learn more

Close icon

Kubernetes infra agent proxy connection issue


Installed newrelic-infrastructure-k8s on a kubernetes cluster and we are having proxy problem with Infra K8 agent. Agents are created successfully but unable send any data to infra-api. We see this exception in newrelic infra agent pod log.
time=“2018-08-02T18:37:06Z” level=warning msg=“network error waiting for endpoint, retrying” error=“Head proxyconnect tcp: dial tcp :80: getsockopt: connection refused”
time=“2018-08-02T18:37:16Z” level=debug msg=“URL Error detected, may be configuration problem or network connectivity issue”

Here all we tried.

  1. Proxy is configured correct and we do see the proxy setting reflected in pod agent log.
    ubuntu@ip-10-123-123.123:~$ kubectl logs newrelic-infra-6xkh5
    time=“2018-08-02T18:37:06Z” level=debug msg=“Using collector URL:
    time=“2018-08-02T18:37:06Z” level=info msg=“Using proxy address from config file: http:://”

  2. and are whitelisted and when we do CURL we are getting valid response.
    curl -X GET
    -H 'x-api-key:xxxxxxxxxxxxxxxxx’

Please share some insight what is going wrong here and what else we can try to see newrelic k8 infra data.


Hi @Satyapal.Guduru,

We noticed from the info message Using proxy address from config file: http:://” the proxy URL has a duplicate :: right after http.
Could you check the config file and validate if that is in fact the case?

If so, removing one of the colon should do the trick.

Let us know how it works out for you.