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

      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

        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

          thanks, the troubleshoot web page helped

          Found issue and corrected.

          CJB

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.