HAProxy returns 404 sometimes even though the backend server is running
I am getting infrequent 404 errors even though the backend servers are running. I even tried to set only one backend server, and the result is the same. backend keycloak_servers timeout connect 10s...
View ArticleHaproxy throwing 502
We are getting 502 errors from HAproxy sayingthe server returned an invalid or incomplete response. In the haproxy logs, it has code PH which when looked into, it said The proxy blocked the server’s...
View ArticleHelp me to Route path configuration
I have two mongo-express services in the internal network. I want to provide access to them from outside via haproxy using route path. created the following configuration #SSL frontend main-ssl bind...
View ArticleData Plane API: read-only mode?
Is there a way to run the Data Plane API in read-only mode? Perhaps by limiting permissions to access the socket in some way? context: We manage our configurations for HAProxy and other infrastructure...
View ArticleLimit concurrent requests per session
Hello, haproxy users! Is it possible to limit the number of currently running HTTP requests per client (as opposed to the request rate), with “client” being represented by a session cookie? For...
View ArticleDisplay client certificate informations when SSL client certificate is not...
Hello, We’ve got a server on Debian 12 with HAProxy version 3.1.5. In haproxy.cfg file, we have an HTTPS frontend which looks like this : mode http log-format "${HAPROXY_HTTP_LOG_FMT} [SSL]...
View ArticleErrorfile localization
Hello, I’m looking for guidance on errorfile localization. I need to serve error pages in 3 different languages, supporting both HTML and JSON formats. For HTML responses, I can determine the language...
View ArticleRoute letsencrypt based on FQDN
Noob here. Is it possible to use haproxy to route the Letsencrypt service to individual servers for the purpose of upgrading their certificates? Say i have two servers: www.domain.com...
View ArticleIperf3 and haproxy timeout/keepalives
I’ve been struggling trying to figure out why my iperf3 benchmark going through an HAProxy frontend keeps getting killed at the configured timeout value of 2 minutes even though it’s pushing over 2...
View ArticleTraffic Dropping
I’ve been seeing about 2% of ips in my Haproxy log that are not in my Apache log. I’ve set a header at the end of my backend and recorded it in the haproxy log: " backend http-backend guid...
View ArticleHaproxy blocking http response with error "invalid response"
haproxy is blocking http response with error “invalid response”. Haproxy Log gives PH 502 bad gateway. setting option accept-invalid-http-response does not work I am not seeing anything wrong with the...
View ArticleHAProxy 3.0.8 does not start, new installation
(topic deleted by author) 1 post - 1 participant Read full topic
View ArticleStrange caching behavior
Hello, We use HAProxy 3.0 as a frontend of custom Dolibarr-based ERP (created with PHP). Recently I tried to activate cache at HAProxy level. I used ACLs to cache only some content types (see my...
View ArticleMissing frontend logs
Hi, I’m using the config file below and I have many more logs entries from “dummy_frontend_without_client_cert~ backend_app1/myapp1server” than from the “real” frontend “tcp-443” ! I’ve explained why...
View ArticleHAProxy VMWare ova Appliance Config
Good day. I have deployed a haproxy 0.20.0 ova appliance for vSphere with Tanzu. I then ran through the workload management deployment on vcenter, but the config gets stuck on the ‘Configured Load...
View ArticlePng picture not displayed on the site trought haproxy
Hello! After setup haproxy, png picture not displayed on the site! On the application catalog have the file ‘test_code_location.png’. My colleague some time ago added to configs settings for show this...
View ArticleStick table counter increment in after-response is not visible during requests
PS: I’m using haproxy 3.0.8 on Debian. I’m trying to make a configuration where a first counter is used to count the wall time taken by requests on a certain period, for this I store the start time of...
View ArticleHapee / fusion discussion
Hi all, We are running a PoC with hapee & fusion, and are wondering if there is a place to discuss issues? It seems the discourse here is on the regular open source version, but we have some...
View ArticleHaproxy and Lua Turnstyle cloudflare verification + Rate limit against bots
Does anyone have this script and the config to share with us ? 1 post - 1 participant Read full topic
View ArticlePrinting Username in Haproxy logs
As of today, we log client ip in haproxy logs and manually ping it to identify the user. Is there a way we can print username in the logs by authentication or some other way? 1 post - 1 participant...
View Article