Why do I see "AH00574: ap_content_length_filter: apr_bucket_read() failed" in error_log?

Solution Unverified - Updated -

Issue

  • Why do I see "AH00574: ap_content_length_filter: apr_bucket_read() failed" in error_log?

A client(192.168.122.130) runs the following curl command.

$ curl -X POST --data-ascii "hello" http://web1.example.com/cgi-bin/test1.cgi
curl: (18) transfer closed with outstanding read data remaining

/var/log/httpd/access_log

192.168.122.130 - - [18/Oct/2022:16:29:20 +0900] "POST /cgi-bin/test1.cgi HTTP/1.1" 200 - "-" "curl/7.61.1"

/var/log/httpd/error_log

[Tue Oct 18 16:29:20.681446 2022] [core:error] [pid 15494:tid 140238290626304] (104)Connection reset by peer: [client 192.168.122.130:40138] AH00574: ap_content_length_filter: apr_bucket_read() failed

Environment

  • Red Hat Enterprise Linux 8
  • httpd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content