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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to fix "An error occurred while searching for spaces" when behind reverse proxy?

I already manually rebuild the index of my server, as described in the support article below.

https://confluence.atlassian.com/confkb/how-to-rebuild-the-content-indexes-from-scratch-on-confluence-server-110035351.html

But, I am still getting an "An error occurred while searching for spaces." when trying to load the "/spacedirectory/view.action" page on my server instance. My server site is behind a reverse proxy, and the server.xml file has been configured properly.

 

Any Ideas of what I should check next?

healthcheck.JPG

 

 

2 answers

1 accepted

0 votes
Answer accepted

The CDN was causing the problem. I forced the CDN to stop caching objects, and the issue resolved itself. The CDN is currently acting as a reverse proxy for the sole purpose of providing an SSL certificate. 

Thanks,

Also, any ideas on why caching my cause this problem?

Check your base URL to make sure it is set to the correct address?

Yes. The URL and protocol (https) for the base URL, server.xml, and the CDN acting as a reverse proxy that the server sites behind all match. I'm using AWS CloudFront as a CDN.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

323 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you