You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Downloading certain files throws Received an unexpected EOF or 0 bytes from the transport stream. (System.IO.IOException) before the download has finished. The dialog box opening also seems to freeze all other downloads in progress.
Steps to reproduce
Download a file
See error (only if the server reports too big a file size)
This could be fixed or worked around by catching the exception and for the specific "received EOF" exception still fail the download, but restart the download in safe mode. This could fix the problem
Full Exception:
Received an unexpected EOF or 0 bytes from the transport stream. (System.IO.IOException)
at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter)
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer)
at System.Net.Http.HttpConnection.ReadAsync(Memory`1 destination)
at System.Net.Http.HttpConnection.ContentLengthReadStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
at DownloadManager.Download.DownloadSegment.DownloadFileSegment(DownloadSegmentID id, DownloadProgress window, Stream downloadStream, Stream outputStream, Int64 contentLength, Int64 totalLength, String location, BetterProgressBar progressBar, CancellationToken token, DownloadProgressUpdater progressUpdater) in E:\Download Manager\Download Manager\Download\DownloadSegment.cs:line 27
at DownloadManager.DownloadProgress.DownloadFileAsync(Uri uri, CancellationToken cancellationToken, Action`3 progressCallback, BetterProgressBar progressBar) in E:\Download Manager\Download Manager\DownloadProgress.cs:line 1528
at DownloadManager.DownloadProgress.StartNormalDownload() in E:\Download Manager\Download Manager\DownloadProgress.cs:line 1282
Describe the bug
Downloading certain files throws Received an unexpected EOF or 0 bytes from the transport stream. (System.IO.IOException) before the download has finished. The dialog box opening also seems to freeze all other downloads in progress.
Steps to reproduce
Expected behaviour
The download should be able to finish
Download Manager Version
Latest master branch (791b2f4)
Windows Version
Windows 11 Pro Insider Preview 22H2 23620.1000
Comments
Notes:
This could be fixed or worked around by catching the exception and for the specific "received EOF" exception still fail the download, but restart the download in safe mode. This could fix the problem
Full Exception: