# Are these regular download errors?

**URL:** <https://forum.storj.io/t/are-these-regular-download-errors/5317>\
**Category:** troubleshooting\
**Tags:** storagenode\
**Created:** [March 21, 2020, 7:20am UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317 "2020-03-21T07:20:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [March 21, 2020, 7:20am UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/1 "2020-03-21T07:20:45Z")

</div>

I see different types of download errors and I’d like to know if these types are regular ones (like when a download fails for valid reasons).

I see following on “download failed” log

“Connection reset by peer”  
“broken pipe”  
“use of closed network connection”

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [March 21, 2020, 5:30pm UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/2 "2020-03-21T17:30:21Z")

</div>

What the method you have used to download your files?

---

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [March 21, 2020, 6:30pm UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/3 "2020-03-21T18:30:45Z")

</div>

These error messages are from the storage node log. I understand that downloads fail when other nodes are faster. I am just wondering if these errors indicate that or if they indicate a different problem.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [March 21, 2020, 6:41pm UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/4 "2020-03-21T18:41:04Z")

</div>

Those errors could have a `canceled` in their description as well. So it’s either long tail cut or the canceled upload by the customer.

> **[Coordination Avoidance On The Storj Network](https://storj.io/blog/2019/05/coordination-avoidance-on-the-storj-network/)**
>
> The demand for storage is growing rapidly every year, and businesses and consumers are storing unprecedented amounts of data. IDC predicts worldwide data will grow to 175 zettabytes by 2025, with as much data stored in the cloud as in data...

---

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [March 21, 2020, 9:15pm UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/5 "2020-03-21T21:15:05Z")

</div>

> [@Alexey](#):
>
> Those errors could have a `canceled` in their description as well. So it’s either long tail cut or the canceled upload by the customer.

I don’t see canceled with them:  
2020-03-20T02:54:47.757Z ERROR piecestore download failed {“Piece ID”: “2BGJWGHGAW7PA3REMY2J53TDONBU3YNBJS4C5OJ6ZYDWF34A3WVA”, “Satellite ID”: “1wFTAgs9DP5RSnCqKV1eLf6N9wtk4EAtmN5DpSxcs8EjT69tGE”, “Action”: “GET”, “error”: “write tcp 172.17.0.2:28967-\>34.95.8.124:59940: write: connection reset by peer”, “errorVerbose”: “write tcp 172.17.0.2:28967-\>34.95.8.124:59940: write: connection reset by peer\n\tstorj.io/drpc/drpcstream.(\*Stream).pollWrite:221\n\tstorj.io/drpc/drpcwire.SplitN:29\n\tstorj.io/drpc/drpcstream.(\*Stream).RawWrite:276\n\tstorj.io/drpc/drpcstream.(\*Stream).MsgSend:318\n\tstorj.io/common/pb.(\*drpcPiecestoreDownloadStream).Send:1079\n\tstorj.io/storj/storagenode/piecestore.(\*Endpoint).doDownload.func5.1:648\n\tstorj.io/common/rpc/rpctimeout.Run.func1:22”}

---

<div class="post-metadata">

**Author:** ![BrightSilence](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brightsilence/32/6048_2.png) [@BrightSilence](https://forum.storj.io/u/BrightSilence)\
**Post date:** [March 21, 2020, 9:50pm UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/6 "2020-03-21T21:50:06Z")

</div>

What version are you running on?

---

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [March 22, 2020, 6:20am UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/7 "2020-03-22T06:20:14Z")

</div>

The version is v0.34.6.

---

<div class="post-metadata">

**Author:** ![BrightSilence](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brightsilence/32/6048_2.png) [@BrightSilence](https://forum.storj.io/u/BrightSilence)\
**Post date:** [March 22, 2020, 9:44am UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/8 "2020-03-22T09:44:14Z")

</div>

I would have expected this one to be a download cancelled on that version. Either way, this doesn’t seem like anything to worry about.

---

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [March 22, 2020, 12:28pm UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/9 "2020-03-22T12:28:38Z")

</div>

> [@BrightSilence](#):
>
> Either way, this doesn’t seem like anything to worry about.

There are too many of them to not to worry.  
If the log is correct it starts on March 19 and there are 4366 occurrences of failed downloads since then seemingly with one of those errors above.

---

<div class="post-metadata">

**Author:** ![BrightSilence](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brightsilence/32/6048_2.png) [@BrightSilence](https://forum.storj.io/u/BrightSilence)\
**Post date:** [March 22, 2020, 12:51pm UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/10 "2020-03-22T12:51:16Z")

</div>

Well that may suggest some connection issues. I’d start by giving everything a reboot. Node hardware, routers, switches, modems. I hope you’re not on wifi, but if so, connect a cable and make sure they’re all plugged in well.

---

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [March 22, 2020, 6:23pm UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/11 "2020-03-22T18:23:35Z")

</div>

I am not sure but I believe it started with 0.34.6.  
I guess I will wait for 0.35.5 before I will further investigate.

---

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [March 24, 2020, 6:17am UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/12 "2020-03-24T06:17:42Z")

</div>

> [@BrightSilence](#):
>
> I hope you’re not on wifi, but if so, connect a cable and make sure they’re all plugged in well.

No, I am not on a wifi and everything else is working.  
This really kills my download rate:

```
========== DOWNLOAD ===========

```

Failed: 1177  
Fail Rate: 11.397%  
Canceled: 11  
Cancel Rate: 0.107%  
Successful: 9139  
Success Rate: 88.496%

My failed rate is 100 fold the cancel rate. i don’t think it should be this way.

---

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [March 25, 2020, 6:58am UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/13 "2020-03-25T06:58:01Z")

</div>

When I lookup the error response [use of closed network connection](https://www.google.com/search?source=hp&ei=IQB7XqjdEu6KlwSwx7D4CA&q=use+of+closed+network+connection&btnK=Google-Suche) then Google points to some Golang specific issues.

I wish some Storj folks would look into this as I am not sure if the issue is server/connection specific on my side or if there is some application issue. Or maybe even Docker related. I have no idea.

Edit: I am not even sure if it is ip related. It seems that certain ips come up many times with download failed error in the log, e.g.  
34.95.11.198 -\> 94 times  
34.83.3.52 -\> 9 times  
34.95.45.148 -\> 107 times

As far as I see the log does not contain ip information for successful downloads. So I cannot tell I there are any successful downloads for these ips at all.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [March 25, 2020, 8:50am UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/14 "2020-03-25T08:50:48Z")

</div>

How is your HDD connected to the PC?

---

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [March 25, 2020, 10:46am UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/15 "2020-03-25T10:46:09Z")

</div>

Internal Sata port connection.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [March 25, 2020, 7:01pm UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/16 "2020-03-25T19:01:00Z")

</div>

Then there is only location playing role.  
Is your node vetted?

---

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [March 26, 2020, 7:07am UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/18 "2020-03-26T07:07:25Z")

</div>

Yes the node is vetted.

Here is my actual download stats for the last 40 hours:

```
Failed: 2186
Fail Rate: 15.664%
Canceled: 14
Cancel Rate: 0.100%
Successful: 11756
Success Rate: 84.236%

```

First of all it is required to understand what is the difference between failed download and canceled download. I understand it that way that a canceled download is a lost race due to speed.  
So the huge number of failed downloads seem to be something entirely different.

What kind of location thing could result in 2186 failed downloads and which are not lost races?  
In numbers these are 15% of paid downloads that fail that’s why I need to know why.

Is there a way to get more debug information about the failed downloads?

---

<div class="post-metadata">

**Author:** ![kevink](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/kevink/32/6077_2.png) [@kevink](https://forum.storj.io/u/kevink)\
**Post date:** [March 26, 2020, 7:12am UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/19 "2020-03-26T07:12:31Z")

</div>

I do have 5% of failed downloads, 16% cancelled.  
Not entirely sure what the difference is either.  
But looking at my logs, a failed download occurs when the peer connection is reset… Maybe that means that the client aborted the download while cancelled errors mean I have lost the race?

---

<div class="post-metadata">

**Author:** ![jammerdan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/jammerdan/32/1121_2.png) [@jammerdan](https://forum.storj.io/u/jammerdan)\
**Post date:** [March 26, 2020, 7:16am UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/20 "2020-03-26T07:16:35Z")

</div>

Currently I do not understand the meaning of the errors. I am totally fine with them if it is like you say, when the client is not happy and leaves.  
But if these errors happen because my node is not working properly then I would like to know what the issue is and solve it.  
By the way 15% in my case sounds really really high.

It may not really be comparable but my failed upload rate is 0,046%

---

<div class="post-metadata">

**Author:** ![BrightSilence](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brightsilence/32/6048_2.png) [@BrightSilence](https://forum.storj.io/u/BrightSilence)\
**Post date:** [March 26, 2020, 8:23am UTC](https://forum.storj.io/t/are-these-regular-download-errors/5317/21 "2020-03-26T08:23:20Z")

</div>

I’m seeing similar errors appear from time to time.

The difference between cancelled and failed is very simple. Only context cancelled errors are now shown as cancelled. Unfortunately those aren’t the only ones that can occur because of “losing the race”. They are the most common ones though. Now I’m not entirely sure that these errors result from losing the race as well, but that is my estimate right now.

[Next page](https://forum.storj.io/t/are-these-regular-download-errors/5317.md?page=2)
