Retrieval-based-Voice-Conversion-WebUI icon indicating copy to clipboard operation
Retrieval-based-Voice-Conversion-WebUI copied to clipboard

fix: conflict between global aria2 RPC configuration and aria2c command-line

Open Wybxc opened this issue 3 months ago • 0 comments

Pull request checklist

  • [x] The PR has a proper title. Use Semantic Commit Messages. (No more branch-name title please)

  • [x] Make sure this is ready to be merged into the relevant branch. Please don't create a PR and let it hang for a few days.

  • [x] Ensure you can run the codes you submitted succesfully. These submissions will be prioritized for review:

    Introduce improvements in program execution speed;

    Introduce improvements in synthesis quality;

    Fix existing bugs reported by user feedback (or you met);

    Introduce more convenient user operations.

PR type

  • Bug fix

Description

The dlmodels.sh script uses aria2c to download models. When a global aria2 configuration (~/.aria2/aria2.conf) exists, the aria2c command line reads the global configuration. If the global configuration specifies enabling RPC (which is a common scenario, as global configurations are typically used for aria2's service mode), the aria2c command line will also attempt to create an RPC service, resulting in a port conflict. The solution is to add --enable-rpc=false to the command line to disable the RPC option for the command-line execution.

Wybxc avatar Aug 27 '25 00:08 Wybxc