Azure / Azure/acr

Intermittent: 416 Requested Range Not Satisfiable when pushing

Open
#866 4 comments 0 reactions 1 assignee Claimed by @terencet-dev View on GitHub
bug
Dominant language
No language data
Stars
177
Forks
137
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Ever since we added --attest type=sbom,generator=docker/scout-sbom-indexer:latest to our docker build we are getting random 416 errors when we are pushing our image or the cache. The SBOM is very large (92 MB json)

We also push cache layers with --cache-to. Image size is roughly 10GB

I don't have first party Microsoft support so a ticket isn't something I'm willing to open currently but I'm happy to communicate details. If there is commitment from MSFT to pickup the ticket I'm happy to open one.

**To Reproduce**
1.Build large image with SBOM attestation.

**Expected behavior**
No intermittent error.

**Screenshots**
Error message:
```
ERROR: failed to build: failed to solve: failed to push .azurecr.io/nre/temp/jupyter/-pytorch-notebook:pr55652: unexpected status from PUT request to https://.azurecr.io/v2/nre/temp/jupyter/-pytorch-notebook/blobs/uploads/a94f5e86-86e9-49e1-ba27-6ab39655a2b8?_nouploadcache=false&_state=8joUEnWY2MnZRhHwRukugxPJaXTrP0wRzsE4-R8bx3h7Ik5hbWUiOiJucmUvdGVtcC9qdXB5dGVyL2dtby1weXRvcmNoLW5vdGVib29rIiwiVVVJRCI6ImE5NGY1ZTg2LTg2ZTktNDllMS1iYTI3LTZhYjM5NjU1YTJiOCIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAyNi0wMi0wNVQxOTozMDoxMy4zMDUzODYxNDRaIn0%3D&digest=sha256%3A77afaa97898b53372408aa44a6471670e84bd3f983e30f66889f30724e59c623: 416 Requested Range Not Satisfiable

```

**Any relevant environment information**
- Docker version: Whatever is on the Azure Devops Pipeline agents
- Datetime (UTC) when the issue occurred: 2026-02-05T19:30:29.8803538Z
- Registry and image names

**Additional context**
Add any other context about the problem here.

If any information is a concern to post here, you can create a [support ticket](https://azure.microsoft.com/en-us/support/create-ticket/) or send an email to acrsup@microsoft.com.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.