-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
Description
Check Existing Issues
- I have searched the existing issues and discussions.
- I am using the latest version of Open WebUI.
Installation Method
Docker
Open WebUI Version
0.6.26
Ollama Version (if applicable)
0.11.8
Operating System
Ubuntu 24.04
Browser (if applicable)
No response
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.
Expected Behavior
When enabling Hybrid Search, queries should return ranked results normally without backend errors.
Actual Behavior
When Reranking is enabled:
Queries intermittently fail with:
AttributeError: 'list' object has no attribute 'documents' (when BM25=0)
If BM25 > 0 queries fail with Qdrant timeouts or 500 Internal Server Error :
qdrant_client.http.exceptions.UnexpectedResponse: Unexpected Response: 500 (Internal Server Error)
Raw response content:
{"status":{"error":"Service internal error: ... Timeout error: Operation 'retrieve' timed out after 6 seconds"}}
I set QDRANT_TIMEOUT = 100, but no luck (in previous versions, set to 50 works ok).
If I disable Reranking, everything works perfectly and documents are retrieved without errors.
Steps to Reproduce
Fresh install of Ubuntu 22.04 server.
Install Docker v24.0.5 and start the service.
Run Open WebUI with (f.e):
docker run -d -p 3000:8080 -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:latest
Connect to Ollama running locally (http://host.docker.internal:11434).
Upload several PDF documents (e.g. Spanish BOE legislation).
Go to Admin → Documents → Retrieval and enable Hybrid Search and Reranking (model: qwen3:1.7b).
Ask a question like:
¿Cuáles son los requisitos para la obtención de los derechos de uso y habitación en España?
Observe backend logs — sometimes AttributeError, sometimes Qdrant timeout.
Disable Reranking → issue disappears.
Logs & Screenshots
AttributeError
if not collection_result.documents[0]:
AttributeError: 'list' object has no attribute 'documents'
Qdrant Timeout
qdrant_client.http.exceptions.UnexpectedResponse: Unexpected Response: 500 (Internal Server Error)
Raw response content:
{"status":{"error":"Service internal error: 1 of 1 read operations failed:\n Timeout error: Operation 'retrieve' ti
Additional Information
Vector DB: Qdrant (latest docker image, default config).
Happens consistently in v0.6.26. In previous versions it worked perfectly.
Might be related to recent Hybrid Search changes (handling empty lists, reranker integration).