Bug #1152
mod_proxy fails with proxy.balance = "round-robin"
| Status: | Fixed | Start: | ||
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | mod_proxy | |||
| Target version: | 1.4.20 | |||
| Pending: | No |
Resolution: | duplicate |
|
Description
I have the following proxy configuration:
proxy.balance = "round-robin"
proxy.server = ( "" => (
( "host" => "127.0.0.1", "port" => 8080 ),
( "host" => "127.0.0.2", "port" => 9080 ),
))
After restarting lighttpd, the first incoming request will be successful, but all subsequent requests return an error page and cause lighttpd to emit the following error:
2007-04-27 20:21:09: (mod_proxy.c.1250) no proxy-handler found for: /
Both backends are up and operating. I'm using pound (http://www.apsis.ch/pound/) to load-balance over them without a problem, but since I'm already running lighttpd for other reasons I wanted to see if I could use it as my load balancing solution.
This looks like it might be the same issue documented in http://trac.lighttpd.net/trac/ticket/516 (for lighttpd 1.4.10), so it's been around for a while.
I've also run into a different set of problems with proxy.balance = "hash". Proxy.balance = "fair" appears to work, althoug I've grown bored with this issue and I have not tested proxy.balance = "fair" in the face of failing backend hosts (which is what tripped up proxy.balance = "hash").
-- lars+lighttpd
History
04/10/2008 04:14 PM - Anonymous
This should be fixed in 1.4.19
See http://www.lighttpd.net/2008/3/10/1-4-19-made-in-germany for changelog ( grep on mod_proxy)
-- Dieter_be