# Coverage upload hanging until timeout

**URL:** <https://community.codecov.com/t/coverage-upload-hanging-until-timeout/883>\
**Category:** Support\
**Created:** [January 13, 2020, 4:07pm UTC](https://community.codecov.com/t/coverage-upload-hanging-until-timeout/883 "2020-01-13T16:07:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![wasyl](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@wasyl](https://community.codecov.com/u/wasyl)\
**Post date:** [January 13, 2020, 4:07pm UTC](https://community.codecov.com/t/coverage-upload-hanging-until-timeout/883/1 "2020-01-13T16:07:18Z")

</div>

At some point codecov uploader simply hangs on the following:

```
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 158k 0 0 100 158k 0 3688 0:00:43 0:00:43 --:--:-- 0

```

That is, 100% upload progress with speed of 0. This is after discoering everything, and I believe after reporting someting to codecov already - I can see branch in codecov, bot no coverage at all.

This is using `bash -c “bash \<(curl -s [https://codecov.io/bash](https://codecov.io/bash)) -v -t _token_”

Any idea here? This fails in the same fashion both for me locally and from CI

---

<div class="post-metadata">

**Author:** ![wasyl](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@wasyl](https://community.codecov.com/u/wasyl)\
**Post date:** [January 13, 2020, 5:55pm UTC](https://community.codecov.com/t/coverage-upload-hanging-until-timeout/883/2 "2020-01-13T17:55:41Z")

</div>

Update: I did try out locally and it turns out this fails with macOS’s `curl` command. When installed curl from brew and setting it as main one, upload succeeds

---

<div class="post-metadata">

**Author:** ![drazisil](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/drazisil/32/496_2.png) [@drazisil](https://community.codecov.com/u/drazisil)\
**Post date:** [January 13, 2020, 6:05pm UTC](https://community.codecov.com/t/coverage-upload-hanging-until-timeout/883/3 "2020-01-13T18:05:11Z")

</div>

Hi @wasyl

Glad you got it working. Not sure sure why MacOS’s curl wouldn’t work, I wonder if it has to do with the default shell being zsh in newer macs.

Does the workaround listing at the bottom here work? [Supported CI Providers](https://docs.codecov.io/docs/supported-ci-providers#section-example-jenkins)

---

<div class="post-metadata">

**Author:** ![wasyl](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@wasyl](https://community.codecov.com/u/wasyl)\
**Post date:** [January 13, 2020, 7:37pm UTC](https://community.codecov.com/t/coverage-upload-hanging-until-timeout/883/4 "2020-01-13T19:37:57Z")

</div>

It did not. I tried to specify one file using -f, and I tried different variations of the script, including that one you linked.

I wonder if others have the same issue. And I do use zsh btw

---

<div class="post-metadata">

**Author:** ![drazisil](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/drazisil/32/496_2.png) [@drazisil](https://community.codecov.com/u/drazisil)\
**Post date:** [January 13, 2020, 7:58pm UTC](https://community.codecov.com/t/coverage-upload-hanging-until-timeout/883/5 "2020-01-13T19:58:27Z")

</div>

Huh. I’ll try to determine what difference there may be between the MacOS curl and the homebrew one, but I have a bunch on my plate and don’t want to give a timeline expectation.

If you have a dummy commit you can try to upload with the MacOS curl, and share the SHA, that would enable me to look and see if it does hit our servers in any form.

---

<div class="post-metadata">

**Author:** ![wasyl](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@wasyl](https://community.codecov.com/u/wasyl)\
**Post date:** [January 13, 2020, 8:28pm UTC](https://community.codecov.com/t/coverage-upload-hanging-until-timeout/883/6 "2020-01-13T20:28:15Z")

</div>

Unfortunately I can’t invest too much time right now either. Perhaps someone will encounter this too and investigate further

---

<div class="post-metadata">

**Author:** ![atugushev](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/atugushev/32/256_2.png) [@atugushev](https://community.codecov.com/u/atugushev)\
**Post date:** [May 30, 2020, 5:44pm UTC](https://community.codecov.com/t/coverage-upload-hanging-until-timeout/883/7 "2020-05-30T17:44:04Z")

</div>

I’m also experiencing this issue on Github Actions with macOS, see [the logs](https://github.com/geraxe/dolib/runs/723280888?check_suite_focus=true#step:7:35).

---

<div class="post-metadata">

**Author:** ![atugushev](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/atugushev/32/256_2.png) [@atugushev](https://community.codecov.com/u/atugushev)\
**Post date:** [May 30, 2020, 7:40pm UTC](https://community.codecov.com/t/coverage-upload-hanging-until-timeout/883/9 "2020-05-30T19:40:17Z")

</div>

@menelike thanks for the info and workaround!

---

<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:** [May 30, 2020, 7:47pm UTC](https://community.codecov.com/t/coverage-upload-hanging-until-timeout/883/10 "2020-05-30T19:47:47Z")

</div>

FYI y’all, we’ve updated our certs and system is back up.

Thanks @menelike for the interim workaround!

> **[Codecov Status](https://status.codecov.com/)**
>
> Welcome to Codecov's home for real-time and historical data on system performance.
