List, 

I am attempting to setup stud, haproxy (1.5-dev7) and a backend web sockets 
server using proxy protocol to communicate between stud and haproxy. It seems 
like my requests are making it to the backend server but the client never 
receives anything.

This is the only thing I ever see in the logs:

Aug  3 22:14:36 10.178.2.72 haproxy[13312]: IP:49494 [03/Aug/2012:22:14:36.608] 
http-proxy websocket/host 94/0/0/2/96 101 148 - - ---- 12/12/0/0/0 0/0 "GET 
/streaming/handshake HTTP/1.1" 

Here are my ACLs:

  acl websocket hdr(Upgrade) -i websocket
  acl websocket_host hdr(host) -i ws.blah.com
  use_backend websocket if websocket or websocket_host


My backend:

backend websocket
  balance source
  option forwardfor
  timeout queue 5000
  timeout server 86400000
  timeout connect 86400000
  server host host:8080 weight 1 maxconn 5000 check

Defaults:

defaults
  mode http
  log global
  option httplog
  monitor-uri /_haproxy_health_check
  option dontlognull
  option log-health-checks
  option log-separate-errors
  retries 3
  option redispatch
  maxconn 16384
  timeout connect 5000
  timeout client 50000
  timeout server 50000
  option http-server-close


Talking directly to the backend server works correctly while going through 
haproxy does not. 

Any ideas about what might be going on?

-Joe


-- 
Name: Joseph A. Williams
Email: [email protected]

Reply via email to