Often gateway timeouts (504) from Spaces

Anyone also have this? And when will this be solved?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Same here, have been getting timeouts for the last 3 weeks almost every day, this is a serious concern.

Waiting for a reply to our ticket.

We had the same problem with the CDN of DO. We still use spaces for hosting files but we put another CDN in front of spaces.

I ran a script to make 100 different requests to a DigitalOcean Spaces in SGP1 region, both through CDN and directly to origin. Here is the result I found:

  • Without CDN, all requests seem to work fine.
  • With CDN, “HTTP/1.1 504 Gateway Timeout” is returned up to 17% (!!!) of the time.

The responses from CDN includes the X-HW header, which from Googling points to StackPath CDN. So, it seems like either the CDN connectivity to DigitalOcean Spaces or StackPath itself (or both) is currently seriously broken.