Dear Juhani,
On Mit 30.06.2010 16:59, Juhani Åhman wrote:
On Wed, 2010-06-30 at 14:46 +0200, Aleksandar Lazic wrote:
Dear Juhani,
On Mit 30.06.2010 15:09, Juhani Åhman wrote:
>Hi everyone
>
>I've recently tried to use HAProxy as a reverse proxy to a WebSocket
>server like Moskovitz in this thread
>(http://www.mail-archive.com/haproxy@formilux.org/msg02754.html),
>but I've run into problems. I can only get websockets proxied in
>http mode when I'm using a browser which speaks revision pre-76
>draft websockets (eg. Chromium 5.0.375.70). When using a rev. 76
>browser (eg. Chromium 6.0.414.0 or later) the websocket connections
>seem to always fail.
[snipp]
Please can you try to run haproxy with -p flag similar as in
http://www.mail-archive.com/haproxy@formilux.org/msg02793.html
Please can you also send us the output of
haproxy -vv
BR
Aleks
haproxy -vv output
fuzzyb...@stacker:~$ haproxy -vv
HA-Proxy version 1.4.8 2010/06/16
Copyright 2000-2010 Willy Tarreau <w...@1wt.eu>
[snipp]
my config
global
[snipp]
defaults
mode http
log global
option httplog
option dontlognull
retries 3
option redispatch
#option httpclose
option http-server-close
option forwardfor
maxconn 10000
[snipp]
I think you will need the client-keepalive option.
I'am not sure if this is the only option to activate this, I hope
anybody else on this list can say more about this.
Hth
Aleks