HAProxy 2.5.4 arbitrarily dropping responses (backend: 200, haproxy: 500 HP--)
we’ve been using haproxy 2.5 stable, as a replacement for an older version. Since using the new version, we are experiencing a strange issue. Some resources, both static via nginx webserver and...
View ArticleFacing issue in rate limiting using haproxy
Hi All, In one of our feature, we used below configurations in haproxy.cfg to perform rate limiting on all ingress APIs. frontend https_all_servers acl binding_api_imsi path_beg...
View ArticleStrange cert chain with all certs in one file
Hi, so I’ve put all my certs and private keys in a single file for convenience… cat cert1_fullchain.crt cert1.key cert2_fullchain.crt cert2.key cert_wildcard_fullchain.crt cert_wildcard.key >...
View ArticleHTX (http-use-htx) and represention of HTTP headers
Hello, I’ve got a problem with upgrade HAproxy in my envinronment. After upgrade from HAproxy v.1.9.x to v.2.4.x, I noticed that HTTP response was changed: HTTP response from new version HAproxy: >...
View ArticleApple iCloud private relay SSL handshake failures
Detailed Description of the Problem Recently started noticing a lot of ssl handshake failures in the log files. Upon further investigation >90% of the IPs are Apple iCloud private relay:...
View ArticleExtract regx group in haproxy
Hi, I would like to extract the regx group( want to extract only numerical value) from url and stored it in variable. For example : Url be : www.example.com/somesting/somestring/abc-123 Here abc is...
View ArticleUsing HAProxy to avoid flask app from crashing due to memory issues
I have a Python/flask app that listens to requests from a Grafana dashboard - and processes/parses data from a backend in response: GitHub GitHub - CSS-Electronics/canedge-grafana-backend: Backend app...
View ArticleHaproxy config with rsyslog
Trying to set up rsyslog with haproxy but no logs ends up in the specified files. I have looked at: Introduction to HAProxy Logging - HAProxy Technologies and updated rsyslog config to the new format...
View ArticleFeature request: Long TTL TCP connections and hard-stop-after
HAProxy can allow graceful termination and settings how to deal with the duration of “gracefulness” specifically hard-stop-after coming from the IoT world, where devices are keeping connections...
View ArticleACLs with TLS and URL paths
Hello Everyone, I have an application that requires client certificate authentication. These applications run on different ports and are accessed by path. https://host.domain.com:9443/application1,...
View ArticleAlways getting 127.0.0.1 on backend
Hello, I’m always getting 127.0.0.1 in my log despite I’ve tried to insert option forwardfor ###### Logs from Cherrypy backend ####### 2022-03-16 03:43:38,861 - cherrypy.access.139875460336512 -...
View ArticleHAProxy as a "TAP" for clients
Hi I am looking at whether it would be at all possible to setup HAProxy to cover the following scenario. As a very basic setup 2 clients (for HA) sending the same data to a single server. This causes...
View ArticleHAProxy docker high memory
Hi, I want to run multiple HAProxy instances with Nomad but I don’t understand why HAProxy is consuming so much memory compared to running it natively. My host OS is Ubuntu 20.04 with up -to-date...
View ArticleCannot POST text with "select " and " into "
Hello, we cannot submit any text which contains "select " followed later by " into ". (Spaces are important). Presumably, it’s a rule somewhere to block SQL injection attacks. In this case, we want to...
View ArticleHAProxy w/ Cloudflare Proxy Origin Certificate SSL Handshake Error
So I can’t tell if this is an HAProxy or a cloudflare one, but could use some guidance. I have my HAProxy setup with let’s Encrypt and everything is working well. Port 443 serves everything and port...
View ArticleForward proxy with multiple public IP in the docker
Is it possible to configure haproxy in “forward proxy” mode in the docker with multiple backend public IP? I have a virtual hosted server with 3 public IP. I would like to deploy a “forward proxy” in...
View ArticleLXD + LXD proxy device + haproxy + nginx results in mix of normal page loads...
Having some sort of sporadic connection issues with LXD proxy device + HAProxy + Nginx. The errors mostly seem to be ERR_EMPTY_RESPONSE but also sometimes are ERR_CONNECTION_RESET. Those errors come...
View ArticleHaproxy Timeout Error with nginx
Hi! I get this Error in nginx log and a Bad Gateway 502 2022/03/20 15:00:53 [error] 1124599#1124599: *22208 upstream prematurely closed connection while reading response header from upstream, client:...
View ArticlePreserve header capitalisation
We have a load of applications that requires headers to be received as sent by the server, but by default haproxy lowercases all the header names. We looked at h1-case-adjust option, but this requires...
View ArticleBackend server aliveness test with Basic Auth
Hey All I’m setting up our HAProxy cluster to load balance our rabbit clusters which are using keepalived at the moment. RabbitMQ has a health api called aliveness-test which I’d like to make use of....
View Article