Question

Having troubles spinning up App

Hello, I am trying to deploy my Digital Ocean App, but keep running into an issue during the build phase (specifically the “App Upload” step). It has something to do with the DOCR image not being able to be saved. I wasn’t able to find any resources online relating to this issue, so it might be isolated to my project (not entirely sure). I am posting the logs where the error happened. Some relevant information:

  • Engine: Node 12.0.0
  • Not Using a Docker Image

I’m happy to add more context to this post. Please let me know :)

[2023-01-31 04:26:22] ╭──────────── app upload ───────────╼
[2023-01-31 04:26:22] │  › uploading app container image to DOCR
[2023-01-31 04:26:26] │ Adding layer 'heroku/nodejs-engine:nodejs'
[2023-01-31 04:26:28] │ Adding layer 'heroku/nodejs-engine:yarn'
[2023-01-31 04:26:35] │ Adding 2/2 app layer(s)
[2023-01-31 04:26:35] │ Adding layer 'launcher'
[2023-01-31 04:26:35] │ Adding layer 'config'
[2023-01-31 04:26:35] │ Adding label 'io.buildpacks.lifecycle.metadata'
[2023-01-31 04:26:35] │ Adding label 'io.buildpacks.build.metadata'
[2023-01-31 04:26:35] │ Adding label 'io.buildpacks.project.metadata'
[2023-01-31 04:26:35] │ Saving <image-1>...
[2023-01-31 04:26:36] │ *** Images (sha256:335557df0a67859bf33c044925cc8be5d032a6fe7b87b54297fb89556d5c117c):
[2023-01-31 04:26:36] │       <image-2> - Post <registry-uri-4> GET <do-api-uri-3> unexpected status code 400 Bad Request
[2023-01-31 04:26:36] │ ERROR: failed to export: failed to write image to the following tags: [<image-5>: Post <registry-uri-7> GET <do-api-uri-6> unexpected status code 400 Bad Request]
[2023-01-31 04:26:36] │ 
[2023-01-31 04:26:36] │ command exited with code 246
[2023-01-31 04:26:36] │ 
[2023-01-31 04:26:36] │  » an error occurred, trying again (attempt #1)
[2023-01-31 04:26:43] │ Adding layer 'heroku/nodejs-engine:nodejs'
[2023-01-31 04:26:45] │ Adding layer 'heroku/nodejs-engine:yarn'
[2023-01-31 04:26:49] │ Adding 2/2 app layer(s)
[2023-01-31 04:26:49] │ Adding layer 'launcher'
[2023-01-31 04:26:49] │ Adding layer 'config'
[2023-01-31 04:26:49] │ Adding label 'io.buildpacks.lifecycle.metadata'
[2023-01-31 04:26:49] │ Adding label 'io.buildpacks.build.metadata'
[2023-01-31 04:26:49] │ Adding label 'io.buildpacks.project.metadata'
[2023-01-31 04:26:49] │ Saving <image-1>...
[2023-01-31 04:26:49] │ *** Images (sha256:335557df0a67859bf33c044925cc8be5d032a6fe7b87b54297fb89556d5c117c):
[2023-01-31 04:26:49] │       <image-2> - Post <registry-uri-4> GET <do-api-uri-3> unexpected status code 400 Bad Request
[2023-01-31 04:26:50] │ ERROR: failed to export: failed to write image to the following tags: [<image-5>: Post <registry-uri-7> GET <do-api-uri-6> unexpected status code 400 Bad Request]
[2023-01-31 04:26:50] │ 
[2023-01-31 04:26:50] │ command exited with code 246
[2023-01-31 04:26:50] │  ✘ image upload failed
Show comments

Submit an answer
Answer a question...

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.

alexdo
Site Moderator
Site Moderator badge
January 31, 2023
Accepted Answer

Hello @shaneciora

The issue might be related to a networking issue that occurred - https://status.digitalocean.com/

Have you tried to deploy the app again and if not can you try to deploy the app now?

Regards

had the same error before 14:00 (UTC). now it’s deploying wonderfully. try Actions -> Force Rebuild and Deploy :)

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 error here!

[2023-01-31 14:28:37] │  » an error occurred, trying again (attempt #1)
[2023-01-31 14:28:44] │ Adding layer 'heroku/nodejs-engine:nodejs'
[2023-01-31 14:28:46] │ Adding layer 'heroku/nodejs-engine:yarn'
[2023-01-31 14:28:54] │ Adding 2/2 app layer(s)
[2023-01-31 14:28:54] │ Adding layer 'launcher'
[2023-01-31 14:28:54] │ Adding layer 'config'
[2023-01-31 14:28:54] │ Adding label 'io.buildpacks.lifecycle.metadata'
[2023-01-31 14:28:54] │ Adding label 'io.buildpacks.build.metadata'
[2023-01-31 14:28:54] │ Adding label 'io.buildpacks.project.metadata'
[2023-01-31 14:28:54] │ Saving <image-1>...
[2023-01-31 14:28:55] │ *** Images (sha256:xxx):
[2023-01-31 14:28:55] │       <image-2> - Post <registry-uri-4> GET <do-api-uri-3> unexpected status code 400 Bad Request
[2023-01-31 14:28:55] │ ERROR: failed to export: failed to write image to the following tags: [<image-5>: Post <registry-uri-7> GET <do-api-uri-6> unexpected status code 400 Bad Request]
[2023-01-31 14:28:55] │ 
[2023-01-31 14:28:55] │ command exited with code 246
[2023-01-31 14:28:55] │  ✘ image upload failed