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

    HAProxy Down with HTTP site [ 503 Service Unavailable ]

    Scheduled Pinned Locked Moved Cache/Proxy
    9 Posts 2 Posters 3.7k 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.
    • W
      wesleylc1 Rebel Alliance
      last edited by wesleylc1

      Hello everyone.
      My "pfsense 2.4.4-RELEASE", has "haproxy-1.8.14", with two frontend for ports "80 and 443", until yesterday both were running, but now only the frontend of port 443 is UP, below some images .
      Can anyone give any suggestions on what I can do?

      0_1541684937251_Captura de tela de 2018-11-08 11-42-31.png

      0_1541684946514_Screenshot_20181108-113957_Chrome.jpg

      log when accessing http site

      Nov 8 11:52:28 haproxy haproxy[3148]: 46.191.239.96:39168 [08/Nov/2018:11:52:28.981] HA_Sistemas-https/187.75.209.246:443: SSL handshake failure
      Nov 8 11:52:33 haproxy haproxy[3148]: 189.62.164.137:39986 [08/Nov/2018:11:52:33.207] HA_Sistemas-https~ HA_Sistemas-45-14_80-www_ipvANY/<NOSRV> 0/-1/-1/-1/0 503 212 - - SC-- 16/12/0/0/0 0/0 "GET / HTTP/1.1"
      Nov 8 11:52:33 haproxy haproxy[3148]: 189.62.164.137:39990 [08/Nov/2018:11:52:33.681] HA_Sistemas-https~ HA_Sistemas-45-14_80-www_ipvANY/<NOSRV> 0/-1/-1/-1/0 503 212 - - SC-- 16/12/0/0/0 0/0 "GET /favicon.ico HTTP/1.1"

      Nov 8 12:11:03 haproxy haproxy[17124]: Server HA_Sistemas-45-14_80-www_ipvANY/site is DOWN, reason: Layer7 timeout, check duration: 1002ms. 0 active and 0 backup servers left. 1 sessions active, 0 requeued, 0 remaining in queue.
      Nov 8 12:11:03 haproxy haproxy[17124]: backend HA_Sistemas-45-14_80-www_ipvANY has no server available!

      0_1541686455231_Captura de tela de 2018-11-08 12-13-21.png

      P 1 Reply Last reply Reply Quote 0
      • P
        PiBa @wesleylc1
        last edited by

        @wesleylc1 said in HAProxy Down with HTTP site [ 503 Service Unavailable ]:

        Server HA_Sistemas-45-14_80-www_ipvANY/site is DOWN, reason: Layer7 timeout, check duration: 1002ms

        Seems the webserver is slow to respond? (it takes more than 1 second.)

        W 1 Reply Last reply Reply Quote 0
        • W
          wesleylc1 Rebel Alliance @PiBa
          last edited by

          @piba said in HAProxy Down with HTTP site [ 503 Service Unavailable ]:

          Seems the webserver is slow to respond? (it takes more than 1 second.)

          Do you think the problem may be without backend?

          P 1 Reply Last reply Reply Quote 0
          • W
            wesleylc1 Rebel Alliance
            last edited by

            Restart the web server.
            Now it looks like it's online

            1_1541695474121_Captura de tela de 2018-11-08 14-43-24.png 0_1541695474121_Captura de tela de 2018-11-08 14-43-55.png

            1 Reply Last reply Reply Quote 0
            • P
              PiBa @wesleylc1
              last edited by PiBa

              Yes it looks 'up' but with a health check time 
              of above 900ms its not ideal.
              And might go down if load slightly increases.
              Perhaps a different 'status' page to check would be better 
              than the default '/' url? Or the webserver still has issues?
              
              W 2 Replies Last reply Reply Quote 0
              • W
                wesleylc1 Rebel Alliance @PiBa
                last edited by

                @piba said in HAProxy Down with HTTP site [ 503 Service Unavailable ]:

                Yes it looks 'up', but with a health-check time of above 900ms its not ideal.. And might go down if load slightly increases.. Perhaps a different 'status' page to check would be better than the default '/' url.?. Or the webserver still has issues?

                Piter, hint to fix this problem?

                P 1 Reply Last reply Reply Quote 0
                • P
                  PiBa @wesleylc1
                  last edited by PiBa

                  @wesleylc1
                  Perhaps checking a different 'status' page would be better than the default '/' url.?. One that is faster?

                  Or if the webserver has issues, fix them .. How? that depends on the issue ..

                  W 1 Reply Last reply Reply Quote 0
                  • W
                    wesleylc1 Rebel Alliance @PiBa
                    last edited by

                    @piba said in HAProxy Down with HTTP site [ 503 Service Unavailable ]:

                    Perhaps checking a different 'status' page would be better than the default '/' url.?. One that is faster?
                    Or if the webserver has issues, fix them .. How? that depends on the issue ..

                    Pieter, how can I set up a different status page?

                    1 Reply Last reply Reply Quote 0
                    • W
                      wesleylc1 Rebel Alliance @PiBa
                      last edited by

                      @piba

                      How do I get information about this image?

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