Security

Splunk 7.3 - Fail on Fetch tokens collection

marcus_santos_s
Path Finder

Regards,

I upgraded my Splunk server from version 7.1.2 to 7.3 and received the error ** Failed to fetch search tokens. Details: [object Response] ** when I enable the Token Authentication feature. Can anyone help solve this problem?

alt text

1 Solution

codebuilder
Influencer

I've encountered this issue when upgrading from 7.0.x to 7.2.x.

The solution that worked for me was to first determine captaincy within the SHC.
Cycle Splunk on the captain, which will force a new election.
One Splunk is again healthy on the previous captain, force a re-sync of the KV Store.
Validate via splunkd logs and/or DMC.

Jon
(always test in non-prod!)

----
An upvote would be appreciated and Accept Solution if it helps!

View solution in original post

0 Karma

codebuilder
Influencer

I've encountered this issue when upgrading from 7.0.x to 7.2.x.

The solution that worked for me was to first determine captaincy within the SHC.
Cycle Splunk on the captain, which will force a new election.
One Splunk is again healthy on the previous captain, force a re-sync of the KV Store.
Validate via splunkd logs and/or DMC.

Jon
(always test in non-prod!)

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma

marcus_santos_s
Path Finder

Hi, @codebuilder,

I understood, but I have a standalone instance and not a search head cluster.
Probably this solution would not work for me but I'll try to resynchronize the kvstore.

0 Karma

marcus_santos_s
Path Finder

Taking into account what you said, I did a clean up at the KV Store.
This command solved for me:

SPLUNK_BIN/splunk clean kvstore --local
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...