You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2014/05/23 20:02:35 UTC

[Bug 56558] New: mod_proxy_balancer "failonstatus" does not work in Ubuntu

https://issues.apache.org/bugzilla/show_bug.cgi?id=56558

            Bug ID: 56558
           Summary: mod_proxy_balancer "failonstatus" does not work in
                    Ubuntu
           Product: Apache httpd-2
           Version: 2.4-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: mod_proxy_balancer
          Assignee: bugs@httpd.apache.org
          Reporter: keith@forwardlight.com

I have tried the packaged apache2 in Ubuntu 14.04 Trusty (2.4.7-1ubuntu4), as
well as a custom build of the 2.4.x branch HEAD on Github
(https://github.com/apache/httpd)..

I am running a load-balanced configuration with 2 nodes,  and I have set the 
following load balancer configuration:

    <Proxy balancer://mybalancer>
        ProxySet failonstatus=503
        BalancerMember http://node1:3000 retry=30
        BalancerMember http://node2:3000 retry=30        
    </Proxy>

    ProxyPass / balancer://mybalancer/
    ProxyPassReverse / balancer://mybalancer/    

The worker still fails and is subject to retry period when my app returns a 500
status, even though that particular status code is not set in my "failonstatus"
string for the proxy.

This feature works properly (as expected) in OS X,  and I have not tried any
other Linux distros so not sure if it works elsewhere or not.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 56558] mod_proxy_balancer "failonstatus" does not work in Ubuntu

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56558

--- Comment #1 from Keith <ke...@forwardlight.com> ---
It is worth mentioning that I have tried both Ubuntu 12.04 as well as Ubuntu
14.04 and the latest 2.4.x does not work properly in either.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 56558] mod_proxy_balancer "failonstatus" does not work in Ubuntu

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56558

--- Comment #4 from Ruediger Pluem <rp...@apache.org> ---
(In reply to Keith from comment #3)
> Ruediger,  I am fine with the worker going into error mode. I just don't
> want it to fail on the next request while it is in the retry wait.
> 
> Also can you please explain why it works differently on OS X vs Ubuntu then?
> I get the behavior I desire when using OS X.

Did you compile the version on OS X on your own from source?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 56558] mod_proxy_balancer "failonstatus" does not work in Ubuntu

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56558

--- Comment #3 from Keith <ke...@forwardlight.com> ---
Ruediger,  I am fine with the worker going into error mode. I just don't want
it to fail on the next request while it is in the retry wait.

Also can you please explain why it works differently on OS X vs Ubuntu then?  I
get the behavior I desire when using OS X.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 56558] mod_proxy_balancer "failonstatus" does not work in Ubuntu

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56558

Keith <ke...@forwardlight.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |keith@forwardlight.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 56558] mod_proxy_balancer "failonstatus" does not work in Ubuntu

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56558

Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Ruediger Pluem <rp...@apache.org> ---
You can only add additional status codes that cause the worker go in error
mode. You cannot remove existing ones. 500 always causes the worker to go in
error mode.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 56558] mod_proxy_balancer "failonstatus" does not work in Ubuntu

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56558

--- Comment #5 from Keith <ke...@forwardlight.com> ---
It was compiled from source using Macports, so my OS X build is somewhat behind
2.4.x HEAD (version string is Apache/2.4.9).

I will pull the latest source and recompile on OS X to determine if the
behavior difference I am observing between OS X and Ubuntu still exists.

Thanks
Keith

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org