Originally created by @wnark on GitHub (Nov 3, 2025).
Check Existing Issues
I have searched for any existing and/or related issues.
I have searched for any existing and/or related discussions.
I am using the latest version of Open WebUI.
Installation Method
Git Clone
Open WebUI Version
v0.6.34
Ollama Version (if applicable)
0.12.5
Operating System
Ubuntu 22.04
Browser (if applicable)
Chrome
Confirmation
I have read and followed all instructions in README.md.
I am using the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
I have provided every relevant configuration, setting, and environment variable used in my setup.
I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
Start with the initial platform/version/OS and dependencies used,
Specify exact install/launch/configure commands,
List URLs visited, user input (incl. example values/emails/passwords if needed),
Describe all options and toggles enabled or changed,
Include any files or environmental changes,
Identify the expected and actual result at each stage,
Ensure any reasonably skilled user can follow and hit the same issue.
After removing -e ENV=dev, the Ollama service starts successfully, and API requests made via curl still work,but the /docs directory and the http://xx.xx.xx.xx:30000/openapi.json endpoint cannot be accessed.:
{detail: "WebUI could not connect to Ollama"}
detail
:
"WebUI could not connect to Ollama"
Additional Information
No response
Originally created by @wnark on GitHub (Nov 3, 2025).
### Check Existing Issues
- [x] I have searched for any existing and/or related issues.
- [x] I have searched for any existing and/or related discussions.
- [x] I am using the latest version of Open WebUI.
### Installation Method
Git Clone
### Open WebUI Version
v0.6.34
### Ollama Version (if applicable)
0.12.5
### Operating System
Ubuntu 22.04
### Browser (if applicable)
Chrome
### Confirmation
- [x] I have read and followed all instructions in `README.md`.
- [x] I am using the latest version of **both** Open WebUI and Ollama.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
- [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.**
- [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
- [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps:
- Start with the initial platform/version/OS and dependencies used,
- Specify exact install/launch/configure commands,
- List URLs visited, user input (incl. example values/emails/passwords if needed),
- Describe all options and toggles enabled or changed,
- Include any files or environmental changes,
- Identify the expected and actual result at each stage,
- Ensure any reasonably skilled user can follow and hit the same issue.
### Expected Behavior
You can perform debugging on the /docs page.
### Actual Behavior
Follow the tutorial:
https://docs.openwebui.com/getting-started/api-endpoints/
When using -e ENV=dev to provide the environment variable in order to access the /docs directory, the Ollama service fails to start:
```bash
docker run -d -p 30000:8080 -e ENV=dev --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui-api --restart always ghcr.io/open-webui/open-webui:ollama
```
After removing -e ENV=dev, the Ollama service starts successfully, and API requests made via curl still work,but the /docs directory and the http://xx.xx.xx.xx:30000/openapi.json endpoint cannot be accessed.:
```bash
docker run -d -p 30000:8080 --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui-api --restart always ghcr.io/open-webui/open-webui:ollama
curl -H "Authorization: Bearer sk-xxxxxxxxxxxxxxxxx" http://xx.xx.xx.xx:30000/api/models
```
### Steps to Reproduce
1. docker run -d -p 30000:8080 -e ENV=dev --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui-api --restart always ghcr.io/open-webui/open-webui:ollama
2. curl http://xx.xx.xx.xx:30000/openapi.json
3. curl -H "Authorization: Bearer sk-xxxxxxxxxxxxxxxxx" http://xx.xx.xx.xx:30000/api/models
4. curl -X 'GET' \
'http://xx.xx.xx.xx:30000/ollama/api/version' \
-H 'accept: application/json'
### Logs & Screenshots
docker logs open-webui-api
```
2025-11-03 07:45:39.750 | INFO | open_webui.routers.openai:get_all_models:490 - get_all_models()
2025-11-03 07:45:39.750 | INFO | open_webui.routers.ollama:get_all_models:348 - get_all_models()
2025-11-03 07:45:39.750 | ERROR | open_webui.routers.ollama:send_get_request:106 - Connection error: /ollama/api/tags
2025-11-03 07:45:39.751 | ERROR | open_webui.routers.ollama:send_get_request:106 - Connection error: /ollama/api/ps
2025-11-03 07:45:39.948 | ERROR | open_webui.routers.ollama:send_get_request:106 - Connection error: /ollama/api/version
2025-11-03 07:45:39.949 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.0.49.106:4180 - "GET /ollama/api/version HTTP/1.1" 500
```
chrome f12 show
http://10.0.64.241:30000/ollama/api/version
```
{detail: "WebUI could not connect to Ollama"}
detail
:
"WebUI could not connect to Ollama"
```
### Additional Information
_No response_
GiteaMirror
added the bug label 2025-11-11 17:06:26 -06:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @wnark on GitHub (Nov 3, 2025).
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.34
Ollama Version (if applicable)
0.12.5
Operating System
Ubuntu 22.04
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
You can perform debugging on the /docs page.
Actual Behavior
Follow the tutorial:
https://docs.openwebui.com/getting-started/api-endpoints/
When using -e ENV=dev to provide the environment variable in order to access the /docs directory, the Ollama service fails to start:
After removing -e ENV=dev, the Ollama service starts successfully, and API requests made via curl still work,but the /docs directory and the http://xx.xx.xx.xx:30000/openapi.json endpoint cannot be accessed.:
Steps to Reproduce
'http://xx.xx.xx.xx:30000/ollama/api/version'
-H 'accept: application/json'
Logs & Screenshots
docker logs open-webui-api
chrome f12 show
http://10.0.64.241:30000/ollama/api/version
Additional Information
No response
@tjbck commented on GitHub (Nov 3, 2025):
Unable to reproduce.