lllyasviel / lllyasviel/stable-diffusion-webui-forge

I need help,ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True or check your proxy settings to allow access to localhost.

Open
#949 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Exception in thread Thread-22 (webui_worker):
Traceback (most recent call last):
File "threading.py", line 1016, in _bootstrap_inner
File "threading.py", line 953, in run
File "G:\webui_forge_cu121_torch21\webui\webui.py", line 86, in webui_worker
app, local_url, share_url = shared.demo.launch(
File "G:\webui_forge_cu121_torch21\system\python\lib\site-packages\gradio\blocks.py", line 2446, in launch
raise ValueError(
ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True or check your proxy settings to allow access to localhost.

I don't kown where and how to set 'share=true'
![企业微信截图_17230086551364](https://github.com/user-attachments/assets/c7cc1715-2319-41ea-a4e1-8d597c69661c)

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

Start at webui.py line 86, where webui_worker calls shared.demo.launch and the reported Gradio ValueError is raised. Trace how launch options are configured in the repository and verify the relevant localhost or sharing configuration; done means the reported launch error is addressed without relying on the user's local path.

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
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.