I am experiencing a strange issue where sporadically hitting a link in a
browser will immediately return a 324 Error:Empty Response (chrome) or
connection reset (FF).
This happens roughly 5% of the time. I spoke to bedis in the irc forum who
was helpful but the advice he asked me to follow did not resolve or make
the situation better. He asked me to post the issue here.
When I use nginx as the terminator we do not receive this issue, however I
need to use haproxy for the better websocket support.
In the haproxy log file I see the following
72.172.71.141:42272 [05/Jan/2013:01:28:30.475] ssl-in/1: SSL handshake
failure
72.172.71.141:42273 [05/Jan/2013:01:28:30.503] ssl-in/1: SSL handshake
failure
72.172.71.141:42313 [05/Jan/2013:01:28:30.971] ssl-in/1: SSL handshake
failure
Current haproxy config (apologies if it is a mess but we have swapped and
changed various things trying to work it out)
global
log 127.0.0.1 local0
maxconn 4096
maxcompcpuusage 95
uid 99
gid 99
daemon
debug
#quiet
defaults
log global
mode http
option httplog
option dontlognull
retries 4
option redispatch
timeout client 7000ms
timeout connect 80000ms
timeout server 70000ms
frontend ssl-in
bind *:443 ssl crt /opt/local/certs/ivendi.pem no-tlsv11
no-tlsv12
option forwardfor
option http-server-close
#option http-pretend-keepalive
timeout client 200000s
acl is_sockjs path_beg -i /stomp
use_backend rmq_webstomp_backend if is_sockjs
default_backend nginx_backend
backend rmq_webstomp_backend
option forwardfor
server 100.0.0.2:55674 100.0.0.2:55674 check
backend nginx_backend
option forwardfor
server 100.0.0.1:81 10.224.1.99:81 check
Thanks
Steve