# Premature end of Content-Length delimited message body

**URL:** <https://discuss.bitrise.io/t/premature-end-of-content-length-delimited-message-body/19056>\
**Category:** Builds\
**Tags:** gradle\
**Created:** [January 10, 2022, 6:56pm UTC](https://discuss.bitrise.io/t/premature-end-of-content-length-delimited-message-body/19056 "2022-01-10T18:56:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreggiani](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/sreggiani/32/3910_2.png) [@sreggiani](https://discuss.bitrise.io/u/sreggiani)\
**Post date:** [January 10, 2022, 6:56pm UTC](https://discuss.bitrise.io/t/premature-end-of-content-length-delimited-message-body/19056/1 "2022-01-10T18:56:12Z")

</div>

# Bitrise Build Issue Report template

## Description of the issue

Builds have been recently failing inconsistently with this error message during gradle dependencies downloads:

```auto
* What went wrong:
Execution failed for task ':react-native-appearance:generateReleaseRFile'.
> Could not resolve all files for configuration ':react-native-appearance:releaseCompileClasspath'.
   > Could not download appcompat-1.0.2.aar (androidx.appcompat:appcompat:1.0.2)
      > Could not get resource 'https://dl.google.com/dl/android/maven2/androidx/appcompat/appcompat/1.0.2/appcompat-1.0.2.aar'.
         > Premature end of Content-Length delimited message body (expected: 1,077,153; received: 1,048,576)

```

This looks like a bad internet connection. Are there any known instability in Bitrise’s network stack?

## Environment:

**Where did the issue happen?**

> **[Continuous Integration and Delivery (CI/CD) Platform | Bitrise](https://bitrise.io)**
>
> Streamline your mobile development process with Bitrise. The Mobile DevOps platform that helps you build, test, and deploy your apps quickly and reliably.

Gen2 Elite Machine ## macOS 8 vCPU / 35 GB RAM, Xcode 12.5.x, on macOS 11.4 (Big Sur)

**Which build Step causes the issue and which version of the step?**

android-build v1.0.1

## Reproducibility

Not consistently.

### Local reproduction

No at all.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [February 9, 2022, 6:57pm UTC](https://discuss.bitrise.io/t/premature-end-of-content-length-delimited-message-body/19056/2 "2022-02-09T18:57:03Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
