mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #23989] issue: Windows start_windows.bat fails when FORWARDED_ALLOW_IPS defaults to *
#35673
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kborowinski on GitHub (Apr 22, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23989
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.9.1
Ollama Version (if applicable)
v0.21.0
Operating System
Windows 11 25H2 x64
Browser (if applicable)
Edge 147
Bug
I ran into a Windows specific startup issue in
backend/start_windows.bat.The current script defaults
FORWARDED_ALLOW_IPSto*:IF "%FORWARDED_ALLOW_IPS%"=="" SET "FORWARDED_ALLOW_IPS=*"and then passes it to uvicorn like this:
uvicorn open_webui.main:app --host "%HOST%" --port "%PORT%" --forwarded-allow-ips "%FORWARDED_ALLOW_IPS%" --workers %UVICORN_WORKERS% --ws autoOn Windows, this appears to interact badly with uvicorn's CLI argument parsing when the value is a bare
*:A working workaround on my side was:
This avoids passing a bare
*token through the current Windows startup path and fixes startup on my system.I have not fully isolated whether the behavior comes from uvicorn itself or from the CLI layer it uses internally, so I do not want to overstate the root cause. But the issue is reproducible from the current
start_windows.batlogic, and the change above fixes it for me.If this approach looks acceptable, I can open a PR with the change.
Actual Behavior
Steps to Reproduce
Logs & Screenshots
Additional Information
No response
@tjbck commented on GitHub (Apr 24, 2026):
Addressed in dev.