Error when building serverless endpoint

What happened? I tried to build and deploy a Docker image from my GitHub repository, but it failed with these errors: - First, a 401 Unauthorized error when checking some files (blobs). - Then, a BLOB_UNKNOWN error saying it couldn’t find a required file (sha256:6e909acdb...). Question Could someone help me understand and fix this? I suspect it might be related to the container size – are there limits or known issues with large image pushes? What’s the best way to resolve this? Full error
2025-04-01T19:49:43.319Z [ERROR] error: https://registry.runpod.net/v2/project-deploy/runpod-dockerfile/blobs/sha256:8e2cd6c702e4652f243976aadb15c765834a3816bdb33fafb2c8fcd012524d18 responded 401:
2025-04-01T19:49:43.319Z [ERROR] at /app/serverless-registry/push/index.ts:275:11
2025-04-01T19:49:43.320Z [ERROR]
2025-04-01T19:49:43.321Z [ERROR] 475 | body: JSON.stringify(manifestObject),
2025-04-01T19:49:43.321Z [ERROR] 476 | method: "PUT",
2025-04-01T19:49:43.322Z [ERROR] 477 | });
2025-04-01T19:49:43.323Z [ERROR] 478 |
2025-04-01T19:49:43.324Z [ERROR] 479 | if (!responseManifestUpload.ok) {
2025-04-01T19:49:43.324Z [ERROR] 480 | throw new Error(
2025-04-01T19:49:43.325Z [ERROR] ^
2025-04-01T19:49:43.326Z [ERROR] error: manifest upload https://registry.runpod.net/v2/project-deploy/runpod-dockerfile/manifests/201214869 returned 400: {"errors":[{"code":"BLOB_UNKNOWN","message":"unknown blob sha256:6e909acdb790c5a1989d9cfc795fda5a246ad6664bb27b5c688e2b734b2c5fad","detail":{}}]}
2025-04-01T19:49:43.326Z [ERROR] at /app/serverless-registry/push/index.ts:480:9
2025-04-01T19:49:43.327Z [ERROR]
2025-04-01T19:49:43.328Z [ERROR] Bun v1.1.32 (Linux x64)
2025-04-01T19:49:43.329Z [ERROR] Image push finished with wrong exit code: Please view the logs to find out what went wrong. Contact support in case you cannot understand.
2025-04-01T19:49:43.319Z [ERROR] error: https://registry.runpod.net/v2/project-deploy/runpod-dockerfile/blobs/sha256:8e2cd6c702e4652f243976aadb15c765834a3816bdb33fafb2c8fcd012524d18 responded 401:
2025-04-01T19:49:43.319Z [ERROR] at /app/serverless-registry/push/index.ts:275:11
2025-04-01T19:49:43.320Z [ERROR]
2025-04-01T19:49:43.321Z [ERROR] 475 | body: JSON.stringify(manifestObject),
2025-04-01T19:49:43.321Z [ERROR] 476 | method: "PUT",
2025-04-01T19:49:43.322Z [ERROR] 477 | });
2025-04-01T19:49:43.323Z [ERROR] 478 |
2025-04-01T19:49:43.324Z [ERROR] 479 | if (!responseManifestUpload.ok) {
2025-04-01T19:49:43.324Z [ERROR] 480 | throw new Error(
2025-04-01T19:49:43.325Z [ERROR] ^
2025-04-01T19:49:43.326Z [ERROR] error: manifest upload https://registry.runpod.net/v2/project-deploy/runpod-dockerfile/manifests/201214869 returned 400: {"errors":[{"code":"BLOB_UNKNOWN","message":"unknown blob sha256:6e909acdb790c5a1989d9cfc795fda5a246ad6664bb27b5c688e2b734b2c5fad","detail":{}}]}
2025-04-01T19:49:43.326Z [ERROR] at /app/serverless-registry/push/index.ts:480:9
2025-04-01T19:49:43.327Z [ERROR]
2025-04-01T19:49:43.328Z [ERROR] Bun v1.1.32 (Linux x64)
2025-04-01T19:49:43.329Z [ERROR] Image push finished with wrong exit code: Please view the logs to find out what went wrong. Contact support in case you cannot understand.
Solution:
Update: I was able to fix the error by changing the deployment method. Instead of deploying directly from the GitHub repo (which failed), I built a Docker image using the exact same Dockerfile, pushed that image to Docker Hub, and then successfully created the endpoint using the Docker Image option referencing the Docker Hub image.
No description
Jump to solution
12 Replies
Poddy
Poddy5w ago
@joaopresotto
Escalated To Zendesk
The thread has been escalated to Zendesk!
Jason
Jason5w ago
please open a ticket here
PRB
PRB5w ago
@joaopresotto how long was the build + push? i have a theory but need to validate it
joaopresotto
joaopresottoOP4w ago
Almost 10 minutes (the build log goes from 09:22:21 to 09:31:30)
PRB
PRB4w ago
Kk. What happens when you retry?
joaopresotto
joaopresottoOP4w ago
The only difference is that it recovers cached files so it takes less time. However the error remains the same: {"errors":[{"code":"BLOB_UNKNOWN","message":"unknown blob sha256:6e909acdb790c5a1989d9cfc795fda5a246ad6664bb27b5c688e2b734b2c5fad","detail":{}}]}
PRB
PRB4w ago
i would push it again
joaopresotto
joaopresottoOP4w ago
Still no luck. Do you have any suggestions on what to try next?
No description
joaopresotto
joaopresottoOP4w ago
I've made some changes in the Dockerfile of my github repo and this error was fixed, but I've got another error: Specifically, an executionTimeout is exceeded at the "Pushing image to registry" step when building a serverless endpoint.
Jason
Jason4w ago
Its because theres a limit for building, try using other build tools or optimize your build to have less build time
yhlong00000
yhlong000004w ago
Current build limit: Image size < 100GB Build time < 2.5 hours
Solution
joaopresotto
joaopresotto4w ago
Update: I was able to fix the error by changing the deployment method. Instead of deploying directly from the GitHub repo (which failed), I built a Docker image using the exact same Dockerfile, pushed that image to Docker Hub, and then successfully created the endpoint using the Docker Image option referencing the Docker Hub image.
No description

Did you find this page helpful?