# Upload failing consistently

**URL:** <https://community.codecov.com/t/upload-failing-consistently/93>\
**Category:** Support\
**Created:** [April 4, 2019, 1:46pm UTC](https://community.codecov.com/t/upload-failing-consistently/93 "2019-04-04T13:46:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bootstraponline](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/bootstraponline/32/55_2.png) [@bootstraponline](https://community.codecov.com/u/bootstraponline)\
**Post date:** [April 4, 2019, 1:46pm UTC](https://community.codecov.com/t/upload-failing-consistently/93/1 "2019-04-04T13:46:35Z")

</div>

### Description

Coverage is failing to upload consistently.

### Repository

I emailed in the private repo URL, the name can’t be shared publicly.

### Versions

N/A - build job runs on a Docker VM on Bitrise

### Additional Information

```auto
https://codecov.io/upload/v4?package=...
    -> Uploading
    X> Failed to upload
    -> Sleeping for 30s and trying again...
    -> Pinging Codecov
https://codecov.io/upload/v4?package=...
    -> Uploading
    X> Failed to upload
    -> Sleeping for 30s and trying again...
    -> Pinging Codecov
https://codecov.io/upload/v4?package=...
    -> Uploading
    X> Failed to upload
    -> Sleeping for 30s and trying again...
    -> Pinging Codecov
https://codecov.io/upload/v4?package=...
    -> Uploading
    X> Failed to upload
    -> Sleeping for 30s and trying again...
    -> Uploading to Codecov
    -> Sleeping for 30s and trying again...
    -> Sleeping for 30s and trying again...
    -> Sleeping for 30s and trying again...
    -> Sleeping for 30s and trying again...
    X> Failed to upload coverage reports

```

The codecov server is super flaky. If we restart the build job enough times, eventually the upload succeeds. The upload failure is happening 100% of the time, and only occasionally succeeding on retry. Here’s the code we use to post the upload:

> **[GitHub - bitrise-steplib/steps-codecov](https://github.com/bitrise-steplib/steps-codecov)**
>
> Contribute to bitrise-steplib/steps-codecov development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![jerrod](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/jerrod/32/41_2.png) [@jerrod](https://community.codecov.com/u/jerrod)\
**Post date:** [April 5, 2019, 6:16pm UTC](https://community.codecov.com/t/upload-failing-consistently/93/2 "2019-04-05T18:16:35Z")

</div>

👋 I think we’ve got you on our support channel, thanks for emailing in. If we do not, DM me your github name.

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [May 24, 2019, 6:26pm UTC](https://community.codecov.com/t/upload-failing-consistently/93/3 "2019-05-24T18:26:33Z")

</div>

Closed on May 24, 2019, 6:26pm UTC


