Attempt to decode JSON with unexpected mimetype #3026

Closed
opened 2025-11-11 15:19:59 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @Domi31tls on GitHub (Dec 16, 2024).

Bug Report

Installation Method

Docker v0.4.8

Config rag :

image

  • **Operating System:**ubuntu 24.04
  • **Browser :chrome

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

image

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

Originally created by @Domi31tls on GitHub (Dec 16, 2024). # Bug Report ## Installation Method Docker v0.4.8 - API Mistral : https://api.mistral.ai/v1 - Model mistral_large - Tika Config rag : ![image](https://github.com/user-attachments/assets/c9b103ae-c0b8-435a-a20b-f69cc256a4fb) - **Operating System:**ubuntu 24.04 - **Browser :chrome ## 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 ![image](https://github.com/user-attachments/assets/a72e6a1e-f35a-4d68-bcc4-6f054c876c3a) ## Logs and Screenshots :+1: **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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#3026