melbahja / got

Got: Simple golang package and CLI tool to download large files faster 🏃 than cURL and Wget!
MIT License
709 stars 45 forks source link

stream error: stream ID 21; INTERNAL_ERROR; received from peer #40

Open ralonsoj opened 2 years ago

ralonsoj commented 2 years ago

Hello,

Launching the command to a server with basic authorization (jenkins), I receive the following error (the file size is 3 gbs.):

2021/12/13 08:27:18 stream error: stream ID 21; INTERNAL_ERROR; received from peer

This happens over the first thirty seconds. In the following executions, the ID keeps changing but it always happens. I think that the problem is with the slow connection of the server but i don't know if it is possible to stabilize the connection so that it does not fall. Sadly, I cannot provide a repository because my project is not open source.

Thanks for your work!

melbahja commented 2 years ago

Hey,

can you try with flag -c 2?

ralonsoj commented 2 years ago

Yes, it works with -c 2 but not for concurrency > 2...

melbahja commented 2 years ago

maybe your host/cloud provider is throttling your internet speed.