Skip to content

Some performance about download with bad network #206

Description

@HowXu

Role

User and Developer

Suggestion

below

Benefit

below

This suggestion is unique

  • I have searched the issue tracker and did not find an issue describing my suggestion, especially not one that has been rejected.

You may use the editor below to elaborate further.

I'm a user from mainland China and frequently experience network instability. I'm also a contributor (you can find me on the FreesmLauncher website), I'd like to submit a PR to address several pain points, but I'd like to discuss approaches first.

Issues I've encountered:

  1. Mod download cancellation leaves dangling config entries

    • When a download fails or is cancelled, a config entry remains.
    • On next launch, the download retries automatically and fails again.
    • The only workaround is to manually delete the entry; otherwise you cannot launch.
  2. MSA authentication failures are not user‑friendly

    • Network timeouts during auth steps show no error dialog.
    • The log only says Java is version xxx, using 64 (amd64) architecture, from xxx, Inc......
    • Users must force‑quit (or kill the process) and retry.
  3. Modpack installation restarts from scratch on network errors

    • A glitch near the end discards all previously downloaded files.
    • This forces a full 20+ min redownload.

Proposed improvements: retry with exponential backoff, better state persistence, and clear error feedback.

Before I open a PR, I'd appreciate any thoughts or existing plans. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions