mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
Attempt to decode JSON with unexpected mimetype #3026
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 @Domi31tls on GitHub (Dec 16, 2024).
Bug Report
Installation Method
Docker v0.4.8
Config rag :
Description
When I download a document, I get an error in the logs. Additionally, the responses are very slow to arrive.
I've the same problémes with other models with ollama (localhost)
Reproduction Details
Logs and Screenshots 👍
INFO [open_webui.apps.openai.main] get_all_models()
ERROR [open_webui.apps.openai.main] Connection error: 404, message='Attempt to decode JSON with unexpected mimetype: ', url='http://10.23.0.3:9998/models'
INFO [open_webui.apps.ollama.main] get_all_models()
INFO [open_webui.apps.retrieval.utils] query_doc_with_hybrid_search:result [[{'Content-Type': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'created_by': '64d1d537-db47-4edd-a95c-5725dcc4e7fb', 'embedding_config': '{"engine": "openai", "model": "mistral-embed"}', 'file_id': '05fb5fc6-84de-4efb-a590-c5abf6e5ac7e', 'hash': 'efcb5a4e...................................................................
........................................
INFO [open_webui.apps.openai.main] get_all_models()
ERROR [open_webui.apps.openai.main] Connection error: 404, message='Attempt to decode JSON with unexpected mimetype: ', url='http://10.23.0.3:9998/models'
INFO [open_webui.apps.ollama.main] get_all_models()
INFO: 10.10.112.2:36282 - "POST /api/chat/completions HTTP/1.1" 200 OK
Thank for your help