Skip to content

[Enhancement:] Adjust alert about changing download thread count #729

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

Open
sentry-io bot opened this issue Apr 11, 2025 · 0 comments
Open

[Enhancement:] Adjust alert about changing download thread count #729

sentry-io bot opened this issue Apr 11, 2025 · 0 comments
Labels
Area: Runtime Issue labeled for runtime, Hi3Helper.Core and other libraries used by Collapse Enhancement New feature or request Good first issue Good for newcomers Need Translation Update The translation is partially uncompleted or need to be updated Priority: Medium

Comments

@sentry-io
Copy link

sentry-io bot commented Apr 11, 2025

As of the new downloading system, changing download thread count should not reset the download from 0

Sentry Issue: COLLAPSE-LAUNCHER-1BF

System.Net.Sockets.SocketException: The I/O operation has been aborted because of either a thread exit or an application request.
System.IO.IOException: net_io_readfailure, The I/O operation has been aborted because of either a thread exit or an application request.
  ?, in void AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
  ?, in async ValueTask<int> SslStream.EnsureFullTlsFrameAsync<TIOAdapter>(CancellationToken cancellationToken, int estimatedSize)
  ?, in async ValueTask<int> SslStream.ReadAsyncInternal<TIOAdapter>(Memory<byte> buffer, CancellationToken cancellationToken)
  ?, in async ValueTask<int> ContentLengthReadStream.ReadAsync(Memory<byte> buffer, CancellationToken cancellationToken)

System.Threading.Tasks.TaskCanceledException: OperationCanceled
  File "Session.cs", line 93, in async Task<int> HttpResponseInputStream.ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
    int read = await NetworkStream.ReadAsync(buffer.AsMemory(offset, count), cancellationToken);
  File "SessionTask.cs", line 67, in async Task Http.SessionTaskRunnerContainer(Session session, CancellationToken token)
    while ((read = await session.StreamInput.ReadAsync(buffer, 0, BufferSize, cooperatedToken.Token)) > 0)

System.TimeoutException: Request for session ID: 430204 has timed out!
  File "SessionTask.cs", line 132, in async Task Http.SessionTaskRunnerContainer(Session session, CancellationToken token)
    throw new TimeoutException($"Request for session ID: {session.SessionID} has timed out!", ex);
  File "SessionTask.cs", line 147, in async Task Http.SessionTaskRunnerContainer(Session session, CancellationToken token)
    }
  File "SessionTask.cs", line 22, in async ValueTask Http.TaskWhenAllSession(IAsyncEnumerable<Session> sessions, CancellationToken token, int taskCount)+(?) => { }
    await SessionTaskRunnerContainer(session, innerToken);
  File "SessionTask.cs", line 20, in async ValueTask Http.TaskWhenAllSession(IAsyncEnumerable<Session> sessions, CancellationToken token, int taskCount)
    await Parallel.ForEachAsync(sessions, parallelOptions, async (session, innerToken) =>
  File "Http.Multi.cs", line 19, in async Task Http.Download(string url, string output, int connectionSessions, bool overwrite, CancellationToken threadToken)
    await TaskWhenAllSession(GetMultisessionTasks(url, output, connectionSessions, overwrite, threadToken), threadToken, connectionSessions);
...
(5 additional frame(s) were not displayed)

System.TimeoutException: Timeout occurred when trying to install Honkai: Star Rail (Global)
	Check stability of your internet! If your internet speed is slow, please lower the download thread count.
	**WARNING** Changing download thread count WILL reset your download from 0, and you have to delete the existing download chunks manually!
@sentry-io sentry-io bot added Area: Runtime Issue labeled for runtime, Hi3Helper.Core and other libraries used by Collapse Enhancement New feature or request Good first issue Good for newcomers Need Translation Update The translation is partially uncompleted or need to be updated Priority: Medium labels Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Runtime Issue labeled for runtime, Hi3Helper.Core and other libraries used by Collapse Enhancement New feature or request Good first issue Good for newcomers Need Translation Update The translation is partially uncompleted or need to be updated Priority: Medium
Projects
None yet
Development

No branches or pull requests

0 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy