Question

504 Gateway timeout: Failed to initialize cache on DO app platform

Hi there,

Our stage env is running on the digital ocean app platform and the last successful deployment was five days ago. We are running into this issue today. The Gateway is timing out due to failure to create an image cache. Error code below.

I tried forcing and rebuilding the option on the deploy button but still getting the same error.

[2021-06-22 05:50:12] => Checking for cache from a previous build
[2021-06-22 05:53:12] ERROR: failed to initialize cache: failed to create image cache: accessing cache image <registry-uri-0> connect to repo store <registry-uri-1> GET <registry-uri-2> unexpected status code 504 Gateway Timeout: <html>
[2021-06-22 05:53:12] <head><title>504 Gateway Time-out</title></head>
[2021-06-22 05:53:12] <body>
[2021-06-22 05:53:12] <center><h1>504 Gateway Time-out</h1></center>
[2021-06-22 05:53:12] <hr><center>openresty/1.15.8.2</center>
[2021-06-22 05:53:12] </body>
[2021-06-22 05:53:12] </html>
[2021-06-22 05:53:12] 
[2021-06-22 05:53:12] 

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.

Hello,

Our Engineering team has identified an issue with our Container Registry and our team is working on it.

We do have a status page about the incident at the below link. (https://status.digitalocean.com/incidents/mftr7j1d53wm)

In the meantime, I would appreciate you open a ticket from the cloud panel so that support can get back to you on this. We apologize for the inconvenience.