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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...