mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
Help! SearXNG JsonDecodeError 400 #3718
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 @Aoan2011 on GitHub (Feb 9, 2025).
Whenever i use the internet search, it will say error. and docker have these logs.
Traceback (most recent call last):
2025-02-09 18:25:34 File "/app/backend/open_webui/routers/retrieval.py", line 1268, in process_web_search
2025-02-09 18:25:34 web_results = search_web(
2025-02-09 18:25:34 ^^^^^^^^^^^
2025-02-09 18:25:34 File "/app/backend/open_webui/routers/retrieval.py", line 1123, in search_web
2025-02-09 18:25:34 return search_searxng(
2025-02-09 18:25:34 ^^^^^^^^^^^^^^^
2025-02-09 18:25:34 File "/app/backend/open_webui/retrieval/web/searxng.py", line 81, in search_searxng
2025-02-09 18:25:34 json_response = response.json()
2025-02-09 18:25:34 ^^^^^^^^^^^^^^^
2025-02-09 18:25:34 File "/usr/local/lib/python3.11/site-packages/requests/models.py", line 978, in json
2025-02-09 18:25:34 raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
2025-02-09 18:25:34 requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2025-02-09 18:25:34
2025-02-09 18:25:34 During handling of the above exception, another exception occurred:
2025-02-09 18:25:34
2025-02-09 18:25:34 Traceback (most recent call last):
2025-02-09 18:25:34 File "/app/backend/open_webui/utils/middleware.py", line 429, in chat_web_search_handler
2025-02-09 18:25:34 results = await loop.run_in_executor(
2025-02-09 18:25:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-02-09 18:25:34 File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
2025-02-09 18:25:34 result = self.fn(*self.args, **self.kwargs)
2025-02-09 18:25:34 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-02-09 18:25:34 File "/app/backend/open_webui/utils/middleware.py", line 431, in
2025-02-09 18:25:34 lambda: process_web_search(
2025-02-09 18:25:34 ^^^^^^^^^^^^^^^^^^^
2025-02-09 18:25:34 File "/app/backend/open_webui/routers/retrieval.py", line 1274, in process_web_search
2025-02-09 18:25:34 raise HTTPException(
2025-02-09 18:25:34 fastapi.exceptions.HTTPException: 400: Expecting value: line 1 column 1 (char 0)
How could i do?Please
@Aoan2011 commented on GitHub (Feb 9, 2025):
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。