Project

General

Profile

Actions

Bug #1152

closed

mod_proxy fails with proxy.balance = "round-robin"

Added by Anonymous almost 17 years ago. Updated over 15 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_proxy
Target version:
ASK QUESTIONS IN Forums:

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

Actions #1

Updated by Anonymous almost 16 years ago

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

Actions #2

Updated by Anonymous almost 16 years ago

(this is a dup of #516 btw imo)

-- Dieter_be

Actions #3

Updated by stbuehler over 15 years ago

  • Status changed from New to Fixed
  • Resolution set to duplicate
Actions

Also available in: Atom