mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #21287] feat: Auto-prepend http:// when protocol is missing in Ollama base URL #34960
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 @WHFF521 on GitHub (Feb 10, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21287
Check Existing Issues
Verify Feature Scope
Problem Description
When adding an Ollama endpoint in OpenWebUI, the base URL field requires a fully qualified URL including the protocol (e.g.
http://127.0.0.1:11434).If the user inputs only
127.0.0.1:11434, the connection fails silently or appears invalid, even though this address works correctly oncehttp://is manually added.This behavior is technically correct, but it can be confusing for users—especially since many tools (e.g. browsers) automatically assume
http://when the protocol is omitted.Desired Solution you'd like
If the input does not include a protocol (
http://orhttps://), OpenWebUI could:http://by defaultor
This would reduce friction and avoid confusion for new users configuring local Ollama instances.
Alternatives Considered
No response
Additional Context
@Classic298 commented on GitHub (Feb 10, 2026):
heads up: not sure this is wanted because on something as important as the connection not sure open webui should auto correct wrong inputs for the user. Similar discussions were held recently on OpenAI model-typos or model endpoint URLs like the path.
Generally no auto-correction of wrong user input is wanted, but i will leave this one open for tim to decide because http:// seems like a reasonable default.