New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uplink stuck during download #167
Comments
Does this happen reliably? Can you share a restricted access grant for a test file that this is happening for? |
Yes I can share in DM because it is prod |
hi @jtolio, I have same issue. When mem cache full, uplink stops downloading. |
most likely this is timeout problem on the uplink side |
Appears (finally) fixed by https://review.dev.storj.io/c/storj/uplink/+/12743 |
@jtolio Let’s try to merge it to include in the nearest release and then I will close it |
And we need to add some tests to it |
I'm having a similar problem on Windows. Hopefully this fix lands soon as I'm consistently getting stuck trying to download ~8gb on this Windows box. I'm not using the uplink executable, just this simple chunk of code with v1.22.2: src, err := storj.DownloadObject(context.Background(), xglauncher.StorjBucketName, key, nil)
if err != nil {
return err
}
defer src.Close()
n, err := io.Copy(dst, src)
if err != nil {
return err
} I'm not sure if this is the same issue, but my resource monitor is showing 15 idle open TCP connections during the download with large variety of ips. This has worked flawlessly for me on my Linux box (same network). I'll investigate adding my own retry / download resume code to compensate. That being said, this kind of problem makes me really nervous to use Storj in production. |
Something else may be happening, as our fix has been deployed for some time now. If you are using the library, it may be because we haven't tagged a new Uplink library release. If you're doing development, could you see if things work if you do |
Sure, let me grab |
Confirmed that we haven't tagged a new release with the fix yet. I'll get that going. |
Great. Doing a simple
Perhaps I'm missing a secret handshake. Once the new tag drops, I'll upgrade and give it a go. |
You have an extra |
Copypasta FTL. |
Alrighty, one download succeeded with the new code. I'll do some more tests and let you know if it breaks again. Thanks! |
storj.io/uplink@v1.13.0 released. Since the changes in v1.13.0 fixed all the known reproductions of this ticket, I'm going to close it. @snichols feel free to reopen if you find this happening again, and sorry for the tardy Uplink version release! |
When downloading files Uplink freezing on the beginning of download.
The text was updated successfully, but these errors were encountered: