Issue with setting up minion

Container logs :

 Minion won't be able to run: failed to fetch config for key 'xxxxxxxxxxxxxxxxxxxxxxxxxx' from 'https://synthetics-horde.nr-data.net' ! java.net.UnknownHostException: synthetics-horde.nr-data.net: Temporary failure in name resolution
! at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
! at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:866)
! at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1288)
! at java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:815)
! at java.net.InetAddress.getAllByName0(InetAddress.java:1277)
! at java.net.InetAddress.getAllByName(InetAddress.java:1136)
! at java.net.InetAddress.getAllByName(InetAddress.java:1064)
! at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
! at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112)
! at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:374)
! at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
! at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
! at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
! at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
! at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
! at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
! at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
! at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:221)
! at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:165)
! at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:140)
! at com.newrelic.synthetics.minion.util.PrivateMinionUtils.getPrivateLocationMetadata(PrivateMinionUtils.java:184)
! at com.newrelic.synthetics.minion.cli.PrivateMinionLaunchCommandBase.augmentConfigurationViaHordeAPI(PrivateMinionLaunchCommandBase.java:189)
! at com.newrelic.synthetics.minion.cli.PrivateMinionLaunchCommandBase.run(PrivateMinionLaunchCommandBase.java:134)
! at com.newrelic.synthetics.minion.cli.PrivateMinionLaunchCommandBase.run(PrivateMinionLaunchCommandBase.java:42)
! at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:87)
! at io.dropwizard.cli.Cli.run(Cli.java:78)
! at io.dropwizard.Application.run(Application.java:93)
! at com.newrelic.synthetics.minion.MinionApplication.main(MinionApplication.java:92)

FYI - I’m passing the correct private location key

How to resolve this issue?

Hey @Nithish.Kumar.Duda

This appears to be a DNS network issue. The minion can’t connect to Horde. It needs to be able to connect via Horde to New Relic, in order to retrieve it’s config settings, as well as the jobs you schedule on that location.

Can you verify that, wherever it is you are installing this minion, that host has access to the Horde endpoint below:

https://synthetics-horde.nr-data.net

I’m seeing below Output

[root@xxxxxxxxxxxx ~]# curl -G https://synthetics-horde.nr-data.net/synthetics/api/v1/ping/
Hello from synthetics-horde

Hi @Nithish.Kumar.Duda

Unfortunately this is outside of my scope, however I am here to help. I am going to reach out to the support engineering team, and have them investigate.

Please note the team will reach out via this post with their findings.

Should you have any additional questions or updates, please do reach out.

sure @dcody Thanks for that. will be waiting for NR Team reply