You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @Dreamer37! I'm Dosu, your friendly bot here to assist you with bugs, answer questions, and help you become a contributor. I'm here to help while you wait for a human maintainer. Let's tackle your issue together!
I found similar threads that might be helpful:
An open issue discusses similar errors, but no solution was found in the comments [1].
A closed issue suggests checking the size of the JSON file being uploaded to ensure it does not exceed the web UI's file size limit. It also recommends verifying network and server configurations to support large file uploads. Additionally, after uploading the knowledge base file, explicitly call the recreate_vector_store endpoint to vectorize your documents [2].
For the "ReadTimeout" and "ConnectError" errors, you can try increasing the httpx_default_timeout setting in the server_config to extend the timeout duration [3].
2025-04-26 21:27:47.348 | ERROR | chatchat.webui_pages.utils:post:87 - ReadTimeout: error when post /knowledge_base/upload_docs: timed out
2025-04-26 21:27:47.349 | ERROR | chatchat.webui_pages.utils:to_json:233 - AttributeError: API未能返回正确的JSON。'NoneType' object has no attribute 'json'
2025-04-26 21:29:02.393 | ERROR | chatchat.webui_pages.utils:post:87 - ReadTimeout: error when post /knowledge_base/delete_docs: timed out
2025-04-26 21:29:02.395 | ERROR | chatchat.webui_pages.utils:to_json:233 - AttributeError: API未能返回正确的JSON。'NoneType' object has no attribute 'json'
2025-04-26 21:29:06.135 | ERROR | chatchat.webui_pages.utils:post:87 - ReadTimeout: error when post /knowledge_base/delete_docs: timed out
2025-04-26 21:29:06.136 | ERROR | chatchat.webui_pages.utils:to_json:233 - AttributeError: API未能返回正确的JSON。'NoneType' object has no attribute 'json'
2025-04-26 21:29:31.493 | ERROR | chatchat.webui_pages.utils:post:87 - ReadTimeout: error when post /knowledge_base/delete_docs: timed out
2025-04-26 21:30:18.508 | ERROR | chatchat.webui_pages.utils:post:87 - ReadTimeout: error when post /knowledge_base/upload_docs: timed out
2025-04-26 21:30:18.510 | ERROR | chatchat.webui_pages.utils:to_json:233 - AttributeError: API未能返回正确的JSON。'NoneType' object has no attribute 'json'
2025-04-26 21:31:15.898 | ERROR | chatchat.webui_pages.utils:post:87 - ReadTimeout: error when post /knowledge_base/update_docs: timed out
The text was updated successfully, but these errors were encountered: