RVC-Project / RVC-Project/Retrieval-based-Voice-Conversion-WebUI

ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True.

Open
#2,646 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
38.4k
Forks
5.3k
PR merge metrics
No merged PRs in 30d

Description

运行go-web后出现:

`F:\RVC\RVC1006Nvidia>runtime\python.exe infer-web.py --pycmd runtime\python.exe --port 7897
2025-07-30 20:57:27 | INFO | configs.config | Found GPU NVIDIA GeForce RTX 3050 Laptop GPU
is_half:True, device:cuda:0
2025-07-30 20:57:29 | INFO | main | Use Language: zh_CN
Traceback (most recent call last):
File "F:\RVC\RVC1006Nvidia\infer-web.py", line 1515, in
app.queue(concurrency_count=511, max_size=1022).launch(
File "F:\RVC\RVC1006Nvidia\runtime\lib\site-packages\gradio\blocks.py", line 1391, in launch
raise ValueError(
ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True.

F:\RVC\RVC1006Nvidia>pause
请按任意键继续. . .`

未使用vpn,找了网上的一些解决方法也不行,重装也无法解决
求解决方法

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with the command shown and inspect infer-web.py around line 1515, where app.queue(...).launch() is called. Compare that launch configuration with the Gradio traceback at runtime/lib/site-packages/gradio/blocks.py:1391 and verify whether localhost is reachable. Done means the application starts without this ValueError under the reported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.