Strapi v5 Admin panel randomly stuck on loading and works after refreshing

System Information
  • Strapi Version: v5.5.0
  • Operating System:
  • Database: postgres
  • Node Version: v20.10.0
  • NPM Version: 8.11.0
  • Yarn Version:

Hi,

I’m experiencing an issue where the admin panel occasionally gets stuck on the loading screen after logging in or refreshing the page. The issue resolves after refreshing a few times but happens inconsistently.

To troubleshoot, I created a new Strapi v5 project locally and encountered the same issue, particularly in production mode.

What could be causing this behavior, and is there a way to prevent it?

Thank you!