Quantcast
Channel: Serverphorums.com - HAProxy
Viewing all articles
Browse latest Browse all 5112

SSL errors with HAProxy (1 reply)

$
0
0
i am not sure what i am doing wrong, but i keep getting errors in my
browser when trying to browse to my site. i just moved from an old OS
and HAProxy instance to current, and may have issues with config
directives to work out. please be patient :)

just about every third request works. otherwise i get "Error code:
ssl_error_rx_record_too_long" errors in firefox. if i try to reload the
page, it takes a couple tries, but does finally load. i have no idea
how the error exists for some of the requests but not for all. relevant
info below. any help is appreciated. any other info needed available
upon request:

version: 1.5.14

haproxy.cfg (edited for relevance, brevity):

global
#debug
daemon
log localhost local1 notice
log-send-hostname router
#uid 996
#gid 995
maxconn 1024
pidfile /var/run/haproxy.pid
stats socket /var/run/haproxy.sock level admin
stats maxconn 2
tune.ssl.default-dh-param 2048

defaults
balance leastconn

log global

mode http

option httplog
option http-server-close
option forwardfor except 127.0.0.0/8

stats enable
stats hide-version
stats refresh 5s
stats scope .
stats show-legends
stats uri /admin?stats

timeout http-request 10s
timeout queue 1m
timeout connect 10s
timeout client 1m
timeout server 1m
timeout http-keep-alive 10s
timeout check 10s

listen https 192.168.120.2:443
bind 192.168.120.2:443 ssl crt /etc/haproxy/www.pem
server www1 192.168.88.1:80
server www2 192.168.88.2:80

Viewing all articles
Browse latest Browse all 5112

Trending Articles