question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Darc gather-drop failing to download files larger than 2GB

See original GitHub issue
  • This issue is blocking
  • This issue is causing unreasonable pain

Installer now publishes files that are larger than 2GB. A fix was made in arcade to allow the publishing of these files, but this fix now needs to be applied to gather-drop for downloading the files as well. The error message looks like this:

fail: Microsoft.DotNet.Darc.Operations.Operation[0]
      There was an error executing method 'GET' against URI 'https://dotnetcli.blob.core.windows.net/dotnet/Sdk//dotnet-sdk-source-6.0.100-rc.1.21375.5.tar.gz' after 3 attempts. Exception: System.Net.Http.HttpRequestException: Cannot write more bytes to the buffer than the configured maximum buffer size: 2147483647.
         at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) in System.Net.Http.dll:token 0x6000275+0x216
         at Microsoft.DotNet.DarcLib.HttpRequestManager.ExecuteAsync(Int32 retryCount) in /_/src/Microsoft.DotNet.Darc/src/DarcLib/Helpers/HttpRequestManager.cs:line 76

Full log: https://dev.azure.com/dnceng/internal/_build/results?buildId=1257973&view=logs&j=40e1e683-ea82-5be9-b25e-899b65e1c0cb&t=94a692ec-20f2-55dd-1884-cf0cad1763a4&l=423

/cc: @riarenas

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
michellemcdanielcommented, Jul 29, 2021

all seems well.

1reaction
riarenascommented, Jul 26, 2021

The fix is available in darc version 1.1.0-beta.21376.2.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot Direct Download a file lager than 2GB on Windows ...
There is no reason that you shouldn't be able to download a file >2GB. If your hard drive is formatted using FAT32, there...
Read more >
Downloading files greater than 2gb via http doesn't work
I am raring up files and downloading them via HTTP from my webserver. Most of the files have been below 2GB but now...
Read more >
Large file downloads fail with "Failed - network error"
I have ~15GB files in my drive and all of a sudden they almost always fail to download, ending with "Failed - network...
Read more >
can't download file of which size is bigger than 2GB
(I know it's not larger than 2 GB's but this will work regardless of file size, as long as you have remaining disk...
Read more >
Cannot get file larger than 2gb. I'm a Dropbox Pro user!
Yes, the person that I have sent the file reqeust to receives the following error when trying to upload: Please upload files under...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found