After upgrading to Splunk Enterprise 10.2.x or 10.4.x, Search Heads or Cluster Manager may intermittently or persistently fail to authenticate with one or more indexers via the /services/admin/auth-tokens REST endpoint.
Key characteristics:
The issue may not appear immediately after upgrade — it can surface days or weeks later
It may affect some or all indexers
No password or configuration changes are required to trigger it
The issue was not observed in Splunk Enterprise 9.x releases due to less strict timestamp validation
Data ingestion to indexers is NOT affected — only distributed search is impacted
Root Cause:
Starting in Splunk Enterprise 10.2.x, the authentication token handler performs stricter timestamp validation when a Search Head requests a remote auth token from an indexer. If the indexer determines the request timestamp is inconsistent with its own clock, it rejects the request as "old."
This rejection can be triggered by:
Host-level timekeeping inconsistency — The affected indexer may have inconsistent time sources at the OS/hypervisor level. Even when NTP appears synchronized, different clock sources on the same host can report different times, causing the authentication handler to reject otherwise valid requests.
A known software defect — In certain conditions, even sub-second clock differences between the Search Head and indexer can trigger an incorrect rejection due to a defect in the timestamp comparison logic. A code fix is available in a future maintenance release.
Impact chain:
Search Head requests a remote auth token from the indexer
The indexer incorrectly treats the request as stale/old and rejects it
Search Head cannot authenticate to the indexer
Subsequent requests to /services/server/info return HTTP 401
The indexer is marked as Down in the distributed search peer list
Searches return incomplete results
Affected Versions:
Splunk Enterprise 10.2.x
Splunk Enterprise 10.4.x
In $SPLUNK_HOME/var/log/splunk/splunkd.log on the Search Head or Cluster Manager, look for the following messages:
WARN GetRemoteAuthToken [nnnn DistributedPeerMonitorThread] - Unable to get authentication token from peeruri="https://<peer_host>:8089/services/admin/auth-tokens".
WARN DistributedPeer [nnnn DistributedPeerMonitorThread] - Peer:https://<peer_host>:8089 Failed to get server info from https://<peer_host>:8089/services/server/info response code=401
WARN DistributedPeer [nnnn DistributedPeerMonitorThread] - Peer:https://<peer_host>:8089 Authentication Failed
WARN DistributedPeerManager [nnnn SchedulerThread] - Peer https://<peer_host>:8089 cannot receive bundles, considered unhealthy.
In $SPLUNK_HOME/var/log/splunk/splunkd.log on the affected indexer(s), look for:
WARN AdminHandler:AuthenTokenHandler [nnnn TcpChannelThread] - Rejecting old request for user=splunk-system-user ts=<epoch_timestamp>
WARN AdminHandler:AuthenTokenHandler [nnnn TcpChannelThread] - Denied session token for user=splunk-system-user
Important: If these messages appear on the affected indexer(s) but NOT on healthy indexers, this strongly indicates a host-level timekeeping issue on the affected hosts rather than a cluster-wide problem.
Compare the ts= value in the indexer's "Rejecting old request" message with the log entry timestamp:
Convert the log timestamp to epoch
Compare with the ts= value in the message
Calculate the delta: log_timestamp_epoch - ts_value
SPL to check:
(source="*splunkd.1og" OR sourcetype=splunkd)
"AdminHandler:AuthenTokenHandler" "Rejecting old request for user=splunk-system-user"
| rex field=_raw "ts=(?<ts_epoch>\d+)"
| eval ts_epoch=tonumber(ts_epoch)
| eval ts_human=strftime(ts_epoch, "%Y-%m-%d %H: %M: %S %z")
| eval delta_sec=round(_time-ts_epoch, 3)
| table _time host ts_epoch ts_human delta_sec _raw
| sort _time
Interpretation:
If the delta is consistently negative (e.g., -20 seconds), the request timestamp is ahead of the log timestamp. This indicates a time-source inconsistency on the indexer host — the clock source used by the authentication handler differs from the clock source used for log timestamps.
If the delta is only sub-second (e.g., less than 1 second), this may indicate the known software defect rather than a significant clock issue.
Run the following on all affected and healthy instances and compare results:
On Linux:
chronyc tracking
chronyc sources -v
timedatectl status
cat /sys/devices/system/clocksource/clocksource0/current_clocksource
cat /sys/devices/system/clocksource/clocksource0/available_clocksource
dmesg | egrep -i 'clocksource|timekeeping|tsc|ntp|chronyd'
journalctl -k | egrep -i 'clocksource|timekeeping|tsc|ntp|chronyd'
Confirm that timedatectl status returns:
System clock synchronized: yes
On Windows:
w32tm /query /status
Verify that Leap Indicator shows 0 (no warning) and Source shows a valid NTP server.
Key point: Having NTP configured and running does NOT necessarily guarantee perfectly matching time across all Splunk instances. Visual side-by-side inspection of actual server times is recommended.
Even when NTP appears synchronized, the host may have inconsistent internal clock sources. Run the following on affected indexers and compare with healthy indexers:
On Linux:
python3 - <<'PY'
import time
for i in range(10):
rt = time.clock_gettime(time.CLOCK_REALTIME)
rtc = time.clock_gettime(time.CLOCK_REALTIME_COARSE)
print(f"realtime={rt:.6f} coarse={rtc:.6f} diff={rt-rtc:.6f}")
time.sleep(1)
PY
If the diff values are non-trivial (more than a few milliseconds) or inconsistent, this confirms a host-level time-source inconsistency. This is commonly seen in virtualized environments where the hypervisor clock and guest OS clock diverge.
If the above command returns an error, compare the clock source configuration:
cat /sys/devices/system/clocksource/clocksource0/current_clocksource
cat /sys/devices/system/clocksource/clocksource0/available_clocksource
Compare results between affected and healthy indexers. Differences in clock source (e.g., tsc vs kvm-clock vs xen) may explain the inconsistency.
Verify pass4SymmKey is consistent across all instances
Verify trusted.pem exists on the Search Head at $SPLUNK_HOME/etc/auth/distServerKeys/trusted.pem and on the indexer at $SPLUNK_HOME/etc/auth/distServerKeys/<SH_serverName>/trusted.pem
Confirm no firewall or network connectivity issues to port 8089 on the affected indexer(s)
If Step 5 confirms a time-source inconsistency on the affected indexers:
Address the underlying OS/hypervisor timekeeping issue — consult with the system/virtualization administrator to ensure consistent clock sources across the host
Ensure Chrony/NTP is active and tightly configured on all Splunk instances:
RHEL/CentOS 8+:
sudo yum install chrony
sudo systemctl enable --now chronyd
sudo timedatectl set-ntp true
Verify with:
timedatectl status
chronyc tracking
Restart splunkd on the affected indexer(s) after correcting the time issue
If Step 5 shows no significant time-source inconsistency and NTP is properly synchronized, but the issue still occurs intermittently:
This indicates a known software defect where sub-millisecond clock jitter can trigger an incorrect rejection in the authentication token handler.
Permanent Fix:
Upgrade to the patched maintenance release:
|
Branch |
Fixed In |
|---|---|
|
10.2.x |
10.2.6 |
|
10.4.x |
10.4.2 |
Workaround (reduces frequency):
Ensure NTP synchronization is tightly configured on all nodes (reduces but does not eliminate occurrences)
This workaround does not fully resolve the issue due to the underlying defect
Immediate Recovery:
Restart splunkd on the affected indexer(s) to restore connectivity immediately
Search: Affected — incomplete results while indexers are marked Down
Indexing/Data Ingestion: NOT affected — data continues to be indexed normally
Forwarding: NOT affected
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |