httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Fox <r...@findlay.edu>
Subject [users@httpd] mod_proxy_balancer stickysession
Date Tue, 25 Nov 2008 14:00:31 GMT
Greetings,

I'm having a problem getting mod_proxy_balancer sticky sessions to 
work.   My back-end real servers are adding a cookie with 
"BALANCEID=jics.ceyx; path=/; domain=.findlay.edu"    (or jics.sterope, 
depending).  mod_proxy_balancer should route to the appropriate server 
based on this value.  My error_log excerpted below shows an initial 
client request at 08:36:41, before any cookie is set.  ceyx is selected, 
serves the request, sets the cookie, all is well.  A reload at 08:36:52 
shows mod_proxy_balancer acknowledging the cookie, saying it should 
route to ceyx, and then disregarding it and sending the request to 
sterope. :-/

Why does apache hate me so?  :)  I'm running Apache/2.2.8 binary package 
on OpenBSD x86.
Thanks,
Ryan

        <Proxy balancer://jics>
        BalancerMember https://ceyx.findlay.edu:443 retry=600 route=ceyx
        BalancerMember https://sterope.findlay.edu:443 retry=600 
route=sterope
        </Proxy>
        ProxyPass / balancer://jics/ stickysession=BALANCEID


[Tue Nov 25 08:36:41 2008] [debug] mod_proxy_balancer.c(42): proxy: 
BALANCER: canonicalising URL //jics/ics/
[Tue Nov 25 08:36:41 2008] [debug] mod_proxy_balancer.c(274): proxy: 
BALANCER: Found value (null) for stickysession BALANCEID
[Tue Nov 25 08:36:41 2008] [debug] mod_proxy_balancer.c(914): proxy: 
Entering byrequests for BALANCER (balancer://jics)
[Tue Nov 25 08:36:41 2008] [debug] mod_proxy.c(849): Running scheme 
balancer handler (attempt 0)
[Tue Nov 25 08:36:41 2008] [debug] mod_proxy_http.c(1822): proxy: HTTP: 
serving URL https://ceyx.findlay.edu/ics/
[Tue Nov 25 08:36:41 2008] [debug] proxy_util.c(1855): proxy: HTTPS: has 
acquired connection for (ceyx.findlay.edu)
[Tue Nov 25 08:36:41 2008] [debug] proxy_util.c(1916): proxy: connecting 
https://ceyx.findlay.edu/ics/ to ceyx.findlay.edu:443
[Tue Nov 25 08:36:41 2008] [debug] proxy_util.c(2015): proxy: connected 
/ics/ to ceyx.findlay.edu:443
[Tue Nov 25 08:36:41 2008] [debug] proxy_util.c(2172): proxy: HTTPS: fam 
2 socket created to connect to ceyx.findlay.edu
[Tue Nov 25 08:36:41 2008] [debug] proxy_util.c(2269): proxy: HTTPS: 
connection complete to 192.153.32.167:443 (ceyx.findlay.edu)
[Tue Nov 25 08:36:41 2008] [debug] mod_proxy_http.c(1607): proxy: start 
body send
[Tue Nov 25 08:36:41 2008] [debug] mod_proxy_http.c(1696): proxy: end 
body send
[Tue Nov 25 08:36:41 2008] [debug] proxy_util.c(1873): proxy: HTTPS: has 
released connection for (ceyx.findlay.edu)
[Tue Nov 25 08:36:52 2008] [debug] mod_proxy_balancer.c(42): proxy: 
BALANCER: canonicalising URL //jics/ics/
[Tue Nov 25 08:36:52 2008] [debug] mod_proxy_balancer.c(274): proxy: 
BALANCER: Found value jics.ceyx for stickysession BALANCEID
[Tue Nov 25 08:36:52 2008] [debug] mod_proxy_balancer.c(284): proxy: 
BALANCER: Found route ceyx
[Tue Nov 25 08:36:52 2008] [debug] mod_proxy_balancer.c(914): proxy: 
Entering byrequests for BALANCER (balancer://jics)
[Tue Nov 25 08:36:52 2008] [debug] mod_proxy.c(849): Running scheme 
balancer handler (attempt 0)
[Tue Nov 25 08:36:52 2008] [debug] mod_proxy_http.c(1822): proxy: HTTP: 
serving URL https://sterope.findlay.edu/ics/
[Tue Nov 25 08:36:52 2008] [debug] proxy_util.c(1855): proxy: HTTPS: has 
acquired connection for (sterope.findlay.edu)
[Tue Nov 25 08:36:52 2008] [debug] proxy_util.c(1916): proxy: connecting 
https://sterope.findlay.edu/ics/ to sterope.findlay.edu:443
[Tue Nov 25 08:36:52 2008] [debug] proxy_util.c(2015): proxy: connected 
/ics/ to sterope.findlay.edu:443
[Tue Nov 25 08:36:52 2008] [debug] proxy_util.c(2172): proxy: HTTPS: fam 
2 socket created to connect to sterope.findlay.edu
[Tue Nov 25 08:36:52 2008] [debug] proxy_util.c(2269): proxy: HTTPS: 
connection complete to 192.153.32.169:443 (sterope.findlay.edu)
[Tue Nov 25 08:36:52 2008] [debug] mod_proxy_http.c(1607): proxy: start 
body send
[Tue Nov 25 08:36:52 2008] [debug] mod_proxy_http.c(1696): proxy: end 
body send
[Tue Nov 25 08:36:52 2008] [debug] proxy_util.c(1873): proxy: HTTPS: has 
released connection for (sterope.findlay.edu)


Mime
View raw message