Hi,

What does the logs say???
It will tell you who closed the connection and after how long.
Maybe useful clues here.

cheers



On Tue, Dec 18, 2012 at 4:11 PM, Benjamin Polidore <[email protected]> wrote:
> My app works well through HA Proxy, but occasionally the websocket
> connection is reset and the entire page refreshes.  I'm not sure exactly why
> this is the case, but it only seems to happen via HA Proxy (ie, not direct).
> I'm using 1.5 dev 15 and here is my config:
>
> defaults http
>   log global
>   option forwardfor
>   option httplog
>   option dontlognull
>   option redispatch
>   option http-server-close
>   timeout tunnel 9h
>   timeout connect 5s
>   timeout client 30s
>   timeout server 30s
>
> frontend http-in
>   mode http
>   bind *:80
>   bind *:443 ssl crt ./app.pem
>
>   acl clear dst_port 80
>   acl secure dst_port 443
>
>   acl app hdr_beg(host) -i app.mydomain.com
>
>   redirect scheme https if clear
>   use_backend app_back if app secure
>
> backend app_back
>   mode http
>   appsession connect.sid len 128 timeout 24h request-learn
>   balance roundrobin
>   server s1 10.0.77.13:3000
>   server s2 10.0.77.13:3001
>

Reply via email to