Hi, On Thu, Mar 12, Dennis Jacobfeuerborn wrote: > Hi, > I'm currently trying to find the most efficient way to pass traffic from > one frontend to another (and later to another process altogether) so > I've tried using unix sockets but this does not seem to work.
What version of haproxy are you using ? (And what OS) ? > In the first frontend I set: > server clear /var/lib/haproxy/test send-proxy > > In the second frontend I set: > bind /var/lib/haproxy/test accept-proxy Are you able to connect to the /var/lib/haproxy/test socket with netcat or socat ? And/or do you have chroot in haproxy.cfg ? > This results in a 503 error (the log shows the flags "SC--"). Did you try in debug (-d) mode or with strace ? -Jarno > If instead I use this in the first frontend: > server clear 127.0.0.1:8081 send-proxy > > and this in the second: > bind 127.0.0.1:8081 accept-proxy > > then everything starts working fine. Is there anything else that needs > to be specified to make this work over unix sockets? > > Regards, > Dennis > -- Jarno Huuskonen

