Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

知识库和向量库:上传文档并向量化文件报错 #5223

Open
yangshan-home opened this issue Feb 12, 2025 · 1 comment
Open

知识库和向量库:上传文档并向量化文件报错 #5223

yangshan-home opened this issue Feb 12, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@yangshan-home
Copy link

在线llms和向量模型都已经启动,也已经按照readme开启了服务,但是在上传文件时报错:RemoteProtocolError: error when post /knowledge_base/upload_docs: Server disconnected without sending a response.

Image
请问这是为什么?谢谢。该怎么修改

@yangshan-home yangshan-home added the bug Something isn't working label Feb 12, 2025
Copy link

dosubot bot commented Feb 12, 2025

The RemoteProtocolError with a server disconnection during a POST to /knowledge_base/upload_docs is likely caused by proxy configurations interfering with the connections. To fix this issue, you should remove any proxy settings from your virtual machine [1].

Additionally, to avoid the AttributeError related to a NoneType object, ensure that all objects and variables are properly initialized and checked for None before accessing their attributes. This includes checking if keys exist in dictionaries or if objects returned from functions are not None before accessing their attributes [2].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other | Bug Report

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant