Skip to content

Apache Error: Error reading request body: Partial results are valid but processing is incomplete #1600

New issue

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

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

Already on GitHub? Sign in to your account

Closed
truman-test opened this issue Oct 23, 2017 · 1 comment
Assignees
Labels
2.x Related to ModSecurity version 2.x Platform - Apache RIP - release-2.9.1 RIP - Type - Usage Related with usage (not a bug)
Milestone

Comments

@truman-test
Copy link

Why do these errors occur in Detectiononly mode, ProcessPartial(No Action) and what do they mean?
ModSecurity: Error reading request body: Partial results are valid but processing is incomplete
SecRequestBodyLimitAction ProcessPartial setting, but action taken?
what should I do?

Apache Version: httpd-2.4.23

ModSecurity Version: modsecurity-2.9.1

Relevant configuration parameters are as follows:
SecRuleEngine DetectionOnly
SecRequestBodyAccess On
SecRequestBodyLimit 31457280
SecRequestBodyNoFilesLimit 31457280
SecRequestBodyInMemoryLimit 31457280
SecRequestBodyLimitAction ProcessPartial

  • Apache error log
    [Tue Oct 17 17:32:09.142527 2017] [:error] [pid 31034:tid 140583171503872] [client 10.61.235.135:34459] [client 10.61.235.135] ModSecurity: Error reading request body: Partial results are valid but processing is incomplete [hostname "test.net"] [uri "/test"] [unique_id "WeXACQo8AI4AAHk6XIoAAACH"]

  • ModSecurity log
    Oct 17 17:32:09 10.60.0.142 {"transaction": {"time":"17/Oct/2017:17:32:09 +0900","transaction_id":"WeXACQo8AI4AAHk6XIoAAACH","remote_address":"10.61.235.135","remote_port":34459,"local_address":"10.60.0.142","local_port":1080},"request":{"request_line":"POST /test HTTP/1.1","headers":{"Host":"test.net","Content-Type":"application/x-www-form-urlencoded","Connection":"keep-alive","Accept":"/","User-Agent":"AppleWebKit/604.1.38 (KHTML, like Gecko) Mobile/15A421","Accept-Language":"ko-kr","Accept-Encoding":"br, gzip, deflate","Content-Length":"324"}},"response":{"protocol":"HTTP/1.1","status":500,"headers":{"Vary":"Accept-Encoding","Content-Encoding":"gzip","Cache-Control":"no-cache, no-store, must-revalidate","Content-Length":"1166","Connection":"close","Content-Type":"text/html; charset=UTF-8"}},"audit_data":{}}

@zimmerle
Copy link
Contributor

Fixed at #2092.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Related to ModSecurity version 2.x Platform - Apache RIP - release-2.9.1 RIP - Type - Usage Related with usage (not a bug)
Projects
None yet
Development

No branches or pull requests

3 participants