Applicability
Splunk Enterprise
Description
Trying to add more indexers to the current Splunk Indexer Cluster setup.
It generates the following error messages in Distributed Search >> Search Peers on the search head:
Error [00000080] Failed 11 out of 12 times. REST interface to peer is taking longer than 5
seconds to respond on https. Peer may be over subscribed or misconfigured. Check
var/log/splunk/splunkd_access.log on the peer
The search head lists an IP value that does not exist for this new indexer, and I have no idea where it got that IP from (server IP should match what is in its name. These are just random IP values use for sample purposes):
Failed to add peer 'guid=CA7694EA-40EE-4B40-8506-DAFD18BCAB2E server name=ip-10-8-321-101
ip=10.0.4.23:8089' to the master. Error=http client error=Connection refused, while trying
to reach https://10.0.4.23:8089/services/cluster/config
Investigation
TroubleShooting:
- Check the DNS resolution using nslookup of ip-10-8-321-101 on command line to see if DNS server has the wrong IP for that server.
- Ensure the pass4SymmKey is the same on every member in the cluster (server.conf).
- Make sure you can resolve your hostname locally (configure hostname and /etc/hosts, you should be able to ping hostname)
- It would be a good idea to share a hosts file between your servers if you don't have a DNS Server
- Change default password as you found out.
- If you copy server.conf with pass4SymmKey, you will need to copy the splunk.secret before the first Splunk start (if you don't, Splunk will not be able to read the secret. The secret is hashed upon the service starting up)
- If the IP/Host advertises is not the one to be reached by search head (because of NAT, VPN, etc), then you can force it (lookup server.conf.spec for register_replication_address, register_forwarder_address, and register_search_address settings (Notably in AWS; you may have to force replication on the public IP).
- Look for any message in splunkd.log on indexers and search head. (make sure the bundle is correctly installed).
Resolution
Resolution to this issue could include any culmination of the above troubleshooting steps. Just ensure that you've done the following:
- Distribute the public SSL key from the search head to the peer (indexer) again by going to Search Head Splunk Web, Settings > Distributed Search > Search Peers > click on the peer in question and enter the admin/password.
- Ensure that DNS resolution works for the server if you're using a hostname.
- If you don't have a DNS server, share hosts files between the nodes.
- Ensure the pass4SymmKey is the same among all members of the cluster.
- If you've copied the server.conf between servers, you will need the secret otherwise Splunk will not be able to read the hashed value.
- If you're having trouble getting traffic to a specific host IP, you can force it within server.conf.
- Register_replication_address, register_forwarder_address, and register_search_address settings
- Use telnet or another method to ensure the two endpoints can communicate.
- Checking for Host-based firewalls or just firewalls in general (i.e. also see if you can telnet to the loopback address on 8089 from the server in question vs. telneting from another host on 8089).
Splunk Documentation:
Server.conf
Why am I getting "Failed to add peer to the master... Connection refused" trying to add an indexer to our current indexer cluster?
Revision History
| Revision |
Publish Date |
Comments |
1.0 |
29-Sep-2026
|
Initial Release |