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

HAproxy in a failover setup - Secondary firewall dashboard widget can't connect

Scheduled Pinned Locked Moved Cache/Proxy
3 Posts 2 Posters 1.6k 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.
  • N
    nikolaii
    last edited by Mar 3, 2015, 11:22 AM

    Hello,

    I have a 2 pfsense failover setup with an HAProxy configured on each firewall.

    The service itself is working, but the HAProxy dashboard widget on the secondary firewall says:

    Warning: stream_socket_client(): unable to connect to unix:///tmp/haproxy.socket (Connection refused) in /usr/local/pkg/haproxy_socketinfo.inc on line 43
    

    Is there something I've missed in the configuration, or is it because the HAProxy doesn't run on the secondary firewall because it is in a "backup" state?

    Thank you.
    Nicolas

    Nicolas

    1 Reply Last reply Reply Quote 0
    • P
      PiBa
      last edited by Mar 3, 2015, 9:58 PM

      Correct (when monitoring a carp-ip), haproxy is not running on the second node, which means its not listening on the stats socket either.

      I suppose the 'error' could be made a bit more 'user friendly', or checked that haproxy is running before trying to access the socket.. But that just never made it to my todo list..

      1 Reply Last reply Reply Quote 0
      • N
        nikolaii
        last edited by Mar 5, 2015, 7:04 PM

        All righty, thank you for the explanation :)

        Nicolas

        Nicolas

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