• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

HaProxy will not connect to new server

Scheduled Pinned Locked Moved Cache/Proxy
3 Posts 2 Posters 845 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    cjbujold
    last edited by Sep 15, 2016, 5:01 PM

    Having a strange issue.  Using Haproxy for about a year with 7 backend servers and now trying to add an 8th backend server and once configured it will not start.  Not seeing any issue in the config but hopping somebody can point out the problem.

    The issue is with syncbox.accra.ca here the configuration.

    frontend httpWEBdomains
    bind 192.168.20.1:8080 name 192.168.20.1:8080 
    bind :::8080 name :::8080 
    mode http
    log global
    option http-keep-alive
    timeout client 30000
    acl syncbox_acl hdr(host) -i syncbox.accra.ca
    use_backend syncboxserver16_http_ipvANY  if  syncbox_acl
    default_backend WebServer14_http_ipvANY

    backend syncboxserver16_http_ipvANY
    mode http
    log global
    timeout connect 30000
    timeout server 30000
    retries 3
    option httpchk OPTIONS /
    server syncboxserver 192.168.20.16:80 check inter 1000  resolvers globalresolvers

    Thanks
    cjb

    2016-09-15_13-59-43.jpg
    2016-09-15_13-59-43.jpg_thumb

    1 Reply Last reply Reply Quote 0
    • P
      PiBa
      last edited by Sep 15, 2016, 11:47 PM

      Check the stats page of haproxy, it might show a little more info in the LastChk column.
      Also try changing the healthcheck to GET and fill in the version together with a host header to send.

      HTTP/1.1\r\nHost:\ www.yourdomain.com
      

      https://github.com/PiBa-NL/pfsense-haproxy-package-doc/wiki/haproxy_troubleshooting

      1 Reply Last reply Reply Quote 0
      • C
        cjbujold
        last edited by Sep 16, 2016, 2:16 PM

        thanks, the troubleshoot web page helped

        Found issue and corrected.

        CJB

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received