Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Failed to create indexes: Unsuccessful search response: 401

Bernard Jaulin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 5, 2023

Dear all,

I'm trying to test migration from 7.x to 8.x bitbucket release.

I'have an issue with Opensearch:

atlassian-bitbucket.log

ERROR [Caesium-1-4] c.a.b.i.s.i.IndexingSynchronizationService Failed to create indexes: ''[Unsuccessful search response: 401. Bitbucket did not have authorization to request data from the search server.]''

I followed the KB: (Done with success)

 

Test button in Search server for Bitbucket server results in the access denied | Bitbucket Data Center and Server | Atlassian Documentation

 

The test button always show "Access to the search server was denied. Check your settings."

Any idea ?

Thanks.

Bernard.

--

 

 

1 answer

0 votes
Bernard Jaulin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 7, 2023

Thank to the support.

1. Create new certificates for (Openseach only)

Troubleshooting steps for Bitbucket Server Code Search | Bitbucket Data Center and Server | Atlassian Documentation

2. Stop bitbucket

3. Delete search folders

$BITBUCKET_HOME/shared/search

Test button in Search server for Bitbucket server results in the access denied | Bitbucket Data Center and Server | Atlassian Documentation

4. Restart bitbucket. Wait for some time for the initial search index creation.  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.9.2
TAGS
AUG Leaders

Atlassian Community Events