lllyasviel / lllyasviel/stable-diffusion-webui-forge

Forge won't start due to Gradio/TypeError

Open
#3,137 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Help needed: Forge won't start due to Gradio/TypeError loop (RTX 5060 Ti)

Hi everyone. I'm facing a persistent error when trying to launch the Forge WebUI that I cannot fix.

My setup:

GPU: NVIDIA GeForce RTX 5060 Ti (16GB)

Python: 3.11.9

PyTorch: 2.11.0+cu128

OS: Windows 11

The problem:
After a fresh install of the latest Forge (f2.0.1v1.10.1-1.10.1), the web UI fails to start. The console shows Running on local URL: http://127.0.0.1:7860 but any attempt to open it in a browser results in a TypeError: argument of type 'bool' is not iterable followed by ValueError: When localhost is not accessible.... The errors happen in gradio_client\utils.py.

What I've already tried (multiple times):

Installing specific compatible versions of fastapi, pydantic, and gradio.

Performing a completely clean reinstall (deleted venv folder) and letting Forge reinstall all dependencies.

None of these steps have resolved the issue. Has anyone successfully run the latest Forge build and encountered this? Any advice would be greatly appreciated.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the launch failure with the reported Windows 11, Python 3.11.9, PyTorch 2.11.0+cu128, and RTX 5060 Ti setup. Inspect gradio_client\utils.py around the reported TypeError and localhost ValueError, then verify the web UI opens at http://127.0.0.1:7860 without either error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.