strapi / strapi

πŸš€ Strapi is the leading open-source headless CMS. It’s 100% JavaScript/TypeScript, fully customizable and developer-first.
https://strapi.io
Other
60.59k stars 7.57k forks source link

[BUG] Strapi loses the connection to the server after saving changes on entities #20220

Open SalahAdDin opened 2 weeks ago

SalahAdDin commented 2 weeks ago

Bug report

Required System information

Describe the bug

Every time we save changes on any entity, either creating or updating it, the admin panel disconnects from the backend and we have to manually refresh the browser to get the admin back.

Steps to reproduce the behavior

  1. Go to the Content Manager.
  2. Click on the Collection Type you will work with.
  3. Create/Update any entity from the Collection Type.
  4. Fill the fields.
  5. Save the changes.
  6. Wait until the animation is finished.
  7. See the error.
  8. Click on Try Again.
  9. See the admin back.

Expected behavior

It should refresh itself instead of losing connection to the backend.

Screenshots

StrapiDoesNotRefreshAfterSavingEntities

Code snippets

If applicable, add code samples to help explain your problem.

Additional context

It is a basic project, with not third-party plugins on it.

derrickmehaffy commented 2 weeks ago

I've noticed this as well but I just get a "can't connect" page which looks quite ugly.