2017-08-24 53 views
0

我想通过Redmine上传大文件,但我在UI后收到'错误'消息一会儿。按下文件上传按钮后,Apache错误日志显示错误:Redmine文件上传错误 - 断开客户端与错误:错误阅读请求正文:意外的流结束(errno = -1004)

[ 2017-08-24 11:18:55.3637 5133/7f34b3fff700 Ser/Server.h:1039 ]: [Client 1-166] Disconnecting client with error: error reading request body: Unexpected end-of-stream (errno=-1004) 
[ 2017-08-24 11:19:25.4897 5313/7fe0e052f780 apa/Hooks.cpp:690 ]: Unexpected error in mod_passenger: An error occurred while receiving HTTP upload data: Unknown error -102 (-102) 
    Backtrace: 
    in 'void Hooks::sendRequestBody(const Passenger::FileDescriptor&, request_rec*, bool)' (Hooks.cpp:1200) 
    in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:561) 

[ 2017-08-24 11:19:25.4900 5133/7f34b2ffd700 Ser/Server.h:1039 ]: [Client 3-186] Disconnecting client with error: error reading request body: Unexpected end-of-stream (errno=-1004) 

Redmine最大附件大小高于文件大小。我增加了Apache Timeout,KeepAliveTimeout,设置KeepAlive Off但它没有帮助。

有类似的问题:

如何通过管理平台上传大文件?

回答

0

从Apache配置中删除LimitRequestBody。没有改变其他属性。