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 project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

227 views 3 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