【问题标题】:HAProxy - ssl-hello-chk failsHAProxy - ssl-hello-chk 失败
【发布时间】:2018-04-02 11:14:13
【问题描述】:

我一直在使用以下配置,连接到在 Debian 8 上运行的 Apache 没有任何问题。我刚刚设置了几个具有相同配置设置的新 Debian 9 机器,但现在我得到了:Layer6 Invalid Response

我已确认 HAProxy 框和 Web 节点之间的流量正在流动。有谁知道为什么此检查失败?我一直在挖掘配置文件,到目前为止,我还没有发现我的系统之间有什么不同。我最好的猜测是它与 Debian 9 有关。

frontend web3_ssl_frontend
    bind <ipv4>:443
    bind <ipv6>:443
    mode tcp
    default_backend web3_ssl_backend

backend web3_ssl_backend
    balance roundrobin
    mode tcp
    cookie SERVERID insert indirect nocache
    default-server inter 4s rise 3 fall 2
    fullconn 20000
    reqadd X-Forwarded-Proto:\ https if { ssl_fc }

    option ssl-hello-chk
    server web1 192.168.163.2:443 maxconn 10000 check
    server web2 192.168.163.3:443 maxconn 10000 check

【问题讨论】:

    标签: debian haproxy high-availability debian-stretch


    【解决方案1】:

    ssl-hello-chk 使用在 debian 9 上禁用的 sslv3。您可以改用 tcp-check

    【讨论】:

      猜你喜欢
      • 2021-12-28
      • 2018-09-15
      • 1970-01-01
      • 2016-01-27
      • 2016-03-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-10-09
      相关资源
      最近更新 更多