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)

begin:vcard
fn:Ryan Fox
n:Fox;Ryan
org:The University of Findlay;Information Technology Services
adr:128 Old Main;;1000 Main St;Findlay;OH;45840;USA
email;internet:[EMAIL PROTECTED]
title:Network Systems Manager
tel;work:419-434-4348
x-mozilla-html:TRUE
version:2.1
end:vcard


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to