lllyasviel / lllyasviel/stable-diffusion-webui-forge

Cannot Start Forge. Spams Errors. RIP Dead?

Open
#3,027 3 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

I decided to spin up Forge to use alongside ComfyUI and SwarmUI, however it looks like Forge is no longer being updated or no longer works. I've tried several fixes and am using a virtual environment to avoid package conflicts, however Forge just refuses to work on a local network:
```
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/linux/forge/webui/venv/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 403, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/linux/forge/webui/venv/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
return await self.app(scope, receive, send)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/fastapi/applications.py", line 1106, in __call__
await super().__call__(scope, receive, send)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in __call__
raise exc
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/gradio/route_utils.py", line 724, in __call__
await self.app(scope, receive, send)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
raise exc
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
raise e
File "/linux/forge/webui/venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/routing.py", line 66, in app
response = await func(request)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/fastapi/routing.py", line 274, in app
raw_response = await run_endpoint_function(
File "/linux/forge/webui/venv/lib/python3.10/site-packages/fastapi/routing.py", line 193, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/linux/forge/webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/linux/forge/webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/gradio/routes.py", line 404, in main
gradio_api_info = api_info(False)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/gradio/routes.py", line 433, in api_info
app.api_info = app.get_blocks().get_api_info()
File "/linux/forge/webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 2833, in get_api_info
python_type = client_utils.json_schema_to_python_type(info)
File "/linux/forge/webui/venv/lib/python3.10/site-packages/gradio_client/utils.py", line 894, in json_schema_to_python_type
type_ = _json_schema_to_python_type(schema, schema.get("$defs"))
File "/linux/forge/webui/venv/lib/python3.10/site-packages/gradio_client/utils.py", line 968, in _json_schema_to_python_type
raise APIInfoParseError(f"Cannot parse schema {schema}")
gradio_client.utils.APIInfoParseError: Cannot parse schema {'type': 'string', 'enum': ['realisticVisionV51_v51VAE.safetensors']}
```

I am using the latest version on the main page, everything is updated, and I can run all other AI image generation software. Forge just refuses.

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 local-network startup with the reported environment and review the traceback ending in gradio_client.utils.APIInfoParseError for the enum schema. Confirm whether the current Forge dependencies can parse this schema and whether startup completes without repeated ASGI errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
fastapi, python
Domain
api, backend
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.