Repository navigation
fix(openwebui): parse bracketed IPv6 bind addresses - #6106
Merged
Merged
Conversation
qin-ctx
approved these changes
Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
OV_BIND=[::1]:18765currently parses as host[and port8765, so the OpenWebUI tool-server entrypoint exits before serving. Parse bracketed IPv6 listeners before the existing hostname/IPv4 fallback so Uvicorn receives::1and the configured port.Human Involvement
Related Issue
Fixes #6105
Type of Change
Changes Made
Testing
New configuration tests: the unmodified production base has 7 failures and 10 normal passes; the fixed complete OpenWebUI plugin suite has 37 passed. Real local Uvicorn processes show the module's IPv6 failure on base and HTTP 200 after the fix, with IPv4 loopback/wildcard and direct-Uvicorn IPv6 controls passing. All temporary servers were stopped.
Ruff, format checks, wheel/sdist build, Twine, offline wheel installation, and installed configuration/entrypoint smoke pass. The wheel's seven package source modules match the tested source.
Checklist
Screenshots (if applicable)
Not applicable.
Additional Notes
Windows Python 3.12.14, Uvicorn 0.54.0 and cached dependencies. Validation covers local listeners and
/health; no deployed OpenWebUI, actual OpenViking backend, live model, authentication, full server, minimum-version matrix, other OS or performance test. Existing license-metadata deprecation warnings remain. Main-server bind/retry logic and session-ID validation are outside this change.