I'm running haproxy 1.3.15.7 under OpenBSD 4.6 macppc and am having issues passing XMPP/Jabber through haproxy to Mac OS X 10.5 Server's jabberd. My /etc/haproxy/haproxy.cfg contains the following:
listen xmpp_proxy bind *:5222 bind *:5223 bind *:5269 mode tcp balance roundrobin server server_xmpp 10.0.1.3 check Client connections disconnect after a minute or two, whether there's an active discussion or not, but there doesn't seem to be any other negative issues (e.g. s2s works correctly and such). I have tried both "mode tcp" and "mode http". The only reference I've seen to people load-balancing XMPP/Jabber is <http://www.formilux.org/archives/haproxy/att-0617/haproxy.cfg> and nothing's jumping out at me regarding that configuration and mine. Any tips and/or suggestions would be greatly appreciated. Morgan --- http://www.makkintosshu.com/