RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1310582 - when ProxyErrorOverride is On, modcluster return 503 status code on subsequent requests
Summary: when ProxyErrorOverride is On, modcluster return 503 status code on subseque...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: httpd
Version: 6.4
Hardware: x86_64
OS: Linux
urgent
high
Target Milestone: rc
: ---
Assignee: Luboš Uhliarik
QA Contact: BaseOS QE - Apps
Mirek Jahoda
URL:
Whiteboard:
Depends On:
Blocks: 1269194 1359263 1391517
TreeView+ depends on / blocked
 
Reported: 2016-02-22 10:06 UTC by Patrick
Modified: 2021-09-09 11:47 UTC (History)
8 users (show)

Fixed In Version: httpd-2.2.15-56.el6
Doc Type: Bug Fix
Doc Text:
Previously, when the ProxyErrorOverride directive was enabled, the mod_cluster load balancer returned the 503 status code on subsequent requests for about one second. This caused failover, which then propagated through the instances. Additionaly, this bug could be used for the denial of service (DoS) attack. With this update, the requests in the described scenario are now handled correctly with the 200 status code.
Clone Of:
: 1391517 (view as bug list)
Environment:
Last Closed: 2017-03-21 11:50:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
reproducer (2.80 KB, application/x-gzip)
2016-02-22 10:12 UTC, Patrick
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBCS-55 0 Major Closed ProxyErrorOverride=On causes workers in error state after 500 errors 2018-06-07 20:40:25 UTC
Red Hat Issue Tracker JWS-362 0 Major Closed ProxyErrorOverride=On causes workers in error state after 500 errors 2018-06-07 20:40:25 UTC
Red Hat Issue Tracker MODCLUSTER-505 0 Major Closed ProxyErrorOverride=On causes workers in error state after 500 errors 2018-06-07 20:40:25 UTC
Red Hat Knowledge Base (Solution) 2171621 0 None None None 2016-03-29 19:25:50 UTC
Red Hat Product Errata RHBA-2017:0784 0 normal SHIPPED_LIVE httpd bug fix update 2017-03-21 12:49:39 UTC

Description Patrick 2016-02-22 10:06:17 UTC
Description of problem:

When ProxyErrorOverride is On, modcluster return  503 status code on subsequent requests, for about a second before returning 200 status code

Version-Release number of selected component (if applicable):

mod_cluster : 1.2.6.Final  and 1.2.11.Final 
Version jboss EAP : 6.1.1
Version apache httpd : 2.2.15
Version OS : RHEL 6.4
How reproducible:


Steps to Reproduce:
Customer provided a sample app to reproduce.

1. setup mod_cluster and deploy the sample app
2. run the test script, which curl to the sample app. 
3. Observe access and error log

Actual results:
we see around 10 calls after the error, getting 503 while, they should go through

Expected results:

After the broken call, all subsequent unbroken calls should return 200 status


Additional info:

Comment 1 Patrick 2016-02-22 10:12:33 UTC
Created attachment 1129209 [details]
reproducer

Comment 6 Michal Karm Babacek 2016-11-01 13:16:49 UTC
You might find this helpful:
See https://bugzilla.redhat.com/show_bug.cgi?id=1309598#c3
And https://bugzilla.redhat.com/show_bug.cgi?id=1309598#c5

Comment 16 errata-xmlrpc 2017-03-21 11:50:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0784.html

Comment 17 Chris Williams 2017-08-16 16:05:17 UTC
*** Bug 1450298 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.