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:
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
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!
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 @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
I have same problems
I’m having the exact same issue setting up a python app