Error 504 on File upload

System Information
  • Strapi Version: 4.16.2
  • Operating System: Windows
  • Database: postgres
  • Node Version: 18.18.0
  • NPM Version: 6.0.0

So I have a Strapi Application deployed at Strapi Cloud, and some, but not all users, are getting an 504 error when trying to upload a file to the application. We’ve been trying to debug it for a while now, and It isn’t caused by user permissions, or the browser being used.

From our testing, the bug seems happens kinda randomly and depends more on the machine acessing the application than from the user itself.

Does anyone ever saw a bug like this and knows a fix or something else for us to try?

Thanks in advance.

Mdn Reference for the error: 504 Gateway Timeout - HTTP | MDN

I have the same issue with Strapi hosted in my Kubernetes cluster. It looks random, but I feel like it’s related to the load of the server.

Any news on your side?