Deployment Failure Reason: Failure during content distribution.
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Unable to publish changes to site due to "Failure during content distribution." error. Noticed it first last night, and issue still persists despite retrying several times. Normally when this works, deployment completes in less than 30 secs.
```
DeploymentId: 20980f64-6fdf-4caa-b2d0-f58756eaf70d
Try to validate location at: '/github/workspace/public'.
App Directory Location: 'public' was found.
Try to validate location at: '/github/workspace/swa-db-connections'.
Looking for event info
Skipping step to build /github/workspace/public with Oryx
Using 'staticwebapp.config.json' file for configuration information, 'routes.json' will be ignored.
No Api directory specified. Azure Functions will not be created.
Either no Api directory was specified, or the specified directory was not found. Azure Functions will not be created.
Zipping App Artifacts
Done Zipping App Artifacts
Uploading build artifacts.
Finished Upload. Polling on deployment.
Status: InProgress. Time: 0.571497(s)
Status: InProgress. Time: 16.1532263(s)
Status: InProgress. Time: 31.7869399(s)
Status: InProgress. Time: 47.4359494(s)
Status: InProgress. Time: 63.225126(s)
Status: InProgress. Time: 78.9930824(s)
Status: InProgress. Time: 94.770978(s)
Status: InProgress. Time: 110.6009081(s)
Status: InProgress. Time: 126.5592068(s)
Status: InProgress. Time: 142.1528126(s)
Status: InProgress. Time: 157.7292377(s)
Status: InProgress. Time: 173.5215613(s)
Status: InProgress. Time: 189.2967913(s)
Status: InProgress. Time: 205.1331495(s)
Status: InProgress. Time: 220.929445(s)
Status: InProgress. Time: 236.7280603(s)
Status: InProgress. Time: 252.5396644(s)
Status: InProgress. Time: 268.3549125(s)
Status: InProgress. Time: 284.1521463(s)
Status: Failed. Time: 299.8957401(s)
Deployment Failed :(
Deployment Failure Reason: Failure during content distribution.
```
Using Standard hosting plan. Bundle size is 229MB unpacked, 41.1MB zipped. Last successful publish was 1st June with similar bundle size.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the deployment log for DeploymentId 20980f64-6fdf-4caa-b2d0-f58756eaf70d and the content-distribution failure after artifact upload. Compare this run with the last successful publish, including the Standard hosting plan and bundle sizes. Done means identifying the cause of the failed distribution and restoring a successful deployment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100