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
但它沒有幫助。
有類似的問題:
- Unexpected error in mod_passenger: An error occurred while receiving HTTP upload data
- Not able to upload in a passenger app behing apache
如何通過管理平臺上傳大文件?