Project

General

Profile

Bug #7533

HAProxy 1.7.3+ Breaks with DNS Resolvers configured (UNIX stats sockets fail)

Added by Jim Pingle over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Very High
Assignee:
Category:
haproxy
Target version:
-
Start date:
05/09/2017
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.3.4
Affected Architecture:
All

Description

If HAProxy is enabled and has DNS Resolvers configured on its Settings tab, then the widget and stats page will fail. Those pages rely on querying information from a UNIX socket provided by HAProxy. Currently, that socket is not responding and holds open connections indefinitely, causing the request to hang waiting on a response.

Full details here: http://discourse.haproxy.org/t/dns-changes-in-1-7-3-break-unix-socket-stats-when-resolvers-are-configured/1222

To me, I have a patch for the port which reverts the problematic commits and is confirmed to correct the stats socket behavior.

This breaks access to the GUI for anyone with HAProxy + DNS Resolvers in HAProxy + HAProxy Widget configured, on 2.3.4 and 2.4.

History

#1 Updated by Jim Pingle over 2 years ago

  • Status changed from Assigned to Feedback

I committed a temporary fix for HAProxy to revert the problematic changes in HAProxy:

https://github.com/pfsense/FreeBSD-ports/commit/16a1521fddab16a735c5e75d8f6bc5c37d37cacc

New version of the package is up now.

#2 Updated by Jim Pingle over 2 years ago

  • Status changed from Feedback to Resolved

Workaround is in place and functioning OK. Next HAProxy release will have it included without needing a local patch. This can be closed for now.

Also available in: Atom PDF