mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #19755] issue: Error: 404, message='Not Found', url='http://ollama:11434/api/embed' #18985
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 @stevewillett on GitHub (Dec 4, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19755
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.41
Ollama Version (if applicable)
0.13.1
Operating System
Ubuntu 22.04
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
uploading files to knowledge or chat sessions should produce embeddings via ollama as configure
http://ollama:11434/api/embed
Actual Behavior
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url='http://ollama:11434/api/embed'
2025-12-04 17:06:40.767 | ERROR | open_webui.retrieval.utils:agenerate_ollama_batch_embeddings:773 - Error generating ollama batch embeddings: 404, message='Not Found', url='http://ollama:11434/api/embed'
Steps to Reproduce
open openwebui in browser
go to chat session
upload file
embedding failed with index out of range error
Logs & Screenshots
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url='http://ollama:11434/api/embed'
2025-12-04 17:12:43.250 | ERROR | open_webui.retrieval.utils:agenerate_ollama_batch_embeddings:773 - Error generating ollama batch embeddings: 404, message='Not Found', url='http://ollama:11434/api/embed'
Traceback (most recent call last):
File "/usr/local/lib/python3.11/threading.py", line 1002, in _bootstrap
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 986, in run
File "/app/backend/open_webui/routers/files.py", line 131, in process_uploaded_file
File "/app/backend/open_webui/routers/retrieval.py", line 1612, in process_file
File "/app/backend/open_webui/routers/retrieval.py", line 1407, in save_docs_to_vector_db
File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 641, in run_until_complete
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 608, in run_forever
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1936, in _run_once
File "/usr/local/lib/python3.11/asyncio/events.py", line 84, in _run
File "/app/backend/open_webui/retrieval/utils.py", line 877, in generate_embeddings
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 629, in raise_for_status
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url='http://ollama:11434/api/embed'
2025-12-04 17:12:43.264 | ERROR | open_webui.retrieval.utils:agenerate_ollama_batch_embeddings:773 - Error generating ollama batch embeddings: 404, message='Not Found', url='http://ollama:11434/api/embed'
Traceback (most recent call last):
File "/usr/local/lib/python3.11/threading.py", line 1002, in _bootstrap
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 986, in run
File "/app/backend/open_webui/routers/files.py", line 131, in process_uploaded_file
File "/app/backend/open_webui/routers/retrieval.py", line 1612, in process_file
File "/app/backend/open_webui/routers/retrieval.py", line 1407, in save_docs_to_vector_db
File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 641, in run_until_complete
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 608, in run_forever
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1936, in _run_once
File "/usr/local/lib/python3.11/asyncio/events.py", line 84, in _run
File "/app/backend/open_webui/retrieval/utils.py", line 877, in generate_embeddings
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 629, in raise_for_status
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url='http://ollama:11434/api/embed'
2025-12-04 17:12:43.277 | ERROR | open_webui.retrieval.utils:agenerate_ollama_batch_embeddings:773 - Error generating ollama batch embeddings: 404, message='Not Found', url='http://ollama:11434/api/embed'
Traceback (most recent call last):
File "/usr/local/lib/python3.11/threading.py", line 1002, in _bootstrap
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 986, in run
File "/app/backend/open_webui/routers/files.py", line 131, in process_uploaded_file
File "/app/backend/open_webui/routers/retrieval.py", line 1612, in process_file
File "/app/backend/open_webui/routers/retrieval.py", line 1407, in save_docs_to_vector_db
File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 641, in run_until_complete
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 608, in run_forever
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1936, in _run_once
File "/usr/local/lib/python3.11/asyncio/events.py", line 84, in _run
File "/app/backend/open_webui/retrieval/utils.py", line 877, in generate_embeddings
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 629, in raise_for_status
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url='http://ollama:11434/api/embed'
2025-12-04 17:12:43.290 | ERROR | open_webui.retrieval.utils:agenerate_ollama_batch_embeddings:773 - Error generating ollama batch embeddings: 404, message='Not Found', url='http://ollama:11434/api/embed'
Traceback (most recent call last):
File "/usr/local/lib/python3.11/threading.py", line 1002, in _bootstrap
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 986, in run
File "/app/backend/open_webui/routers/files.py", line 131, in process_uploaded_file
File "/app/backend/open_webui/routers/retrieval.py", line 1612, in process_file
File "/app/backend/open_webui/routers/retrieval.py", line 1407, in save_docs_to_vector_db
File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 641, in run_until_complete
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 608, in run_forever
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1936, in _run_once
File "/usr/local/lib/python3.11/asyncio/events.py", line 84, in _run
File "/app/backend/open_webui/retrieval/utils.py", line 877, in generate_embeddings
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 629, in raise_for_status
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url='http://ollama:11434/api/embed'
2025-12-04 17:12:43.304 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:1414 - embeddings generated 0 for 6 items
2025-12-04 17:12:43.304 | ERROR | open_webui.routers.retrieval:save_docs_to_vector_db:1435 - list index out of range
Traceback (most recent call last):
File "/usr/local/lib/python3.11/threading.py", line 1002, in _bootstrap
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 986, in run
File "/app/backend/open_webui/routers/files.py", line 131, in process_uploaded_file
File "/app/backend/open_webui/routers/retrieval.py", line 1612, in process_file
File "/app/backend/open_webui/routers/retrieval.py", line 1420, in
IndexError: list index out of range
2025-12-04 17:12:43.321 | ERROR | open_webui.routers.retrieval:process_file:1651 - list index out of range
Traceback (most recent call last):
File "/usr/local/lib/python3.11/threading.py", line 1002, in _bootstrap
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 986, in run
File "/app/backend/open_webui/routers/files.py", line 131, in process_uploaded_file
File "/app/backend/open_webui/routers/retrieval.py", line 1612, in process_file
File "/app/backend/open_webui/routers/retrieval.py", line 1436, in save_docs_to_vector_db
File "/app/backend/open_webui/routers/retrieval.py", line 1416, in save_docs_to_vector_db
File "/app/backend/open_webui/routers/retrieval.py", line 1420, in
IndexError: list index out of range
2025-12-04 17:12:43.356 | ERROR | open_webui.routers.files:process_uploaded_file:142 - Error processing file: 91329eb4-8478-46da-b0cc-c1e0c1090e0a
Additional Information
I can curl embeding successfully from within the openwebui docker container so it's not a routing issue.
This just started happening after a recent update.
@owui-terminator[bot] commented on GitHub (Dec 4, 2025):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#19563 issue:
by naruto7g • Nov 28, 2025 •
bug#19211 issue:
by Byrnes9 • Nov 16, 2025 •
bug#19496 issue: 500 internal server error appears in v0.6.40
by cloudtuotuo • Nov 26, 2025 •
bug#16255 issue: 404: Model not found
by wade3po • Aug 04, 2025 •
bug#19417 issue: v0.6.37 SQL Error
by AKHYP • Nov 24, 2025 •
bugShow 5 more related issues
#19376 issue: open-webui docker compose service does not resolve ollama service name
by SorenPoulsen • Nov 21, 2025 •
bug#19575 issue: Remove / delete Ollama models not possible - Error occurred
by JoeyVinc • Nov 28, 2025 •
bug#19481 issue: admin panel not working
by kybeq • Nov 25, 2025 •
bug#16025 issue: 404 and style errors in 0.6.15+
by drewbroadbent • Jul 25, 2025 •
bug#15852 issue:
by KyleMasterson • Jul 19, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.