Haproxy slow upload speed
so i ran into a really strange situation. haproxy upload speed are insanely slow. posting a 400MB video file to an php script takes around 1.3 minutes this virtual machine is not receiving production...
View ArticleGet value from nested header
Hi I have a header coming from downstream that looks something like this: “subjectdn: serialNumber=randomnumbers, ST=someStateOrProvinceName, L=someLocality, C=someCountryName, O=someOrganizationName,...
View ArticleError detected replace-header expects exactly 3 arguments
I am upgrading our load balancers (haproxy 1.8.20 to haproxy 2.4.12) and some of the original configurations are deprecated. The one giving me the most trouble is reqirep. I understand that I need to...
View ArticleDns cache working in haproxy 2.2?
I was getting some quota exceeded from the dns server, and noticed that this was probably the haproxy. It looks like that the server from the backend is queried around 4 times per second. I would...
View ArticleTraps: haproxy[3114395] general protection ip:7f061c9f0896 sp:7ffdfea3dcd8...
If I update haproxy.cfg (mostly adding to the default-server resolver entry) and do a reload. I am getting this error and the haproxy is started on a different host. Any suggestions what this can be?...
View ArticleThe maximum number of server at backend
I see many benchmark articles about how much concurrent connections the HAProxy can handle But I don’t see any articles about how much servers at backend, the HAProxy can handle. Is there can be a...
View ArticleRound robind on backend by paths
Hi… to everyone we need to know if is possible create a round robin if i set with acl foo path_beg /roundrobindpath backend server srv1 path/w1:80 check server srv1 path/w2:80 check server srv2...
View ArticleStick-table fails when balancing MQTT traffic. Any suggestions or debugging...
I’m running the latest haproxytech/haproxy-ubuntu Docker image: HAProxy version 2.5.1-86b093a 2022/01/11 - https://haproxy.org/ Running on: Linux 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28...
View ArticleCannot use sc_http_req_rate when the counter isn't currently tracked
As per documentation, sc_http_req_rate will return the rate of http requests from the stick table, but only from the currently tracked counters. From testing, this means that if you are incrementing...
View ArticleFrontend TCP connection torn down when one server backed is restarted...
We use HAProxy with Keepalived to loadbalance traffic and kubernetes master nodes. Upon a restart of one backend server (one master) TCP connection is closed to fronted on all remaining nodes (other...
View ArticleHttps header inspection for backend https routing
I have two different backend services that both listen on tcp/443. Is it possible to frontend these two services with haproxy, also listening on tcp/443, and depending on the service request via...
View ArticleUser login issues with cookies
Hey guys, I’m having login issues with persistent cookies , this happens when one node of the cluster restarts and some users will not be able to login. i think its due to the restart , cookie in the...
View ArticleHow to find hostname to POP or IMAP request
Hi, How can I capture the hostname address from a POP or IMAP request? I go to port 110 with name@mydomain.net. I was able to map for http in the settings below. The hostname can be captured from the...
View ArticleLog messages from external check script to rsyslog
I would like to print some log messages from the external check script to rsyslog. For now, I use “echo” in my external-check.sh script but it does not show up the echo messages. It only shows the...
View ArticleMqtt + acl + lua fetch
I would like to clarify one point related to fetches and data availability. I have the following setup related to MQTT backed sharding: acl data_in_buffer req.len ge 4 tcp-request content...
View ArticleSessions jump 20 times after upgrade
After upgrading from haproxy 2.0.26. the sessions have jumped by 20X This was done using the same frontends, with the same capacity test load. 1 post - 1 participant Read full topic
View ArticleCan not manage to merge 2 things : path + https
Hi , I need to set a tailing software behind haproxy ( ref : https://github.com/mthenw/frontail ) To work, as written in their documentation ( for nginx) , we need to use a path ( xxx/logs as example...
View ArticleRegrep to rewrite url
haproxy version is 2.2.9-2+rpi1+deb11u2 unknown keyword ‘repirep’ in ‘backend’ section How to replace regrep ? reqrep ^([^\ :])\ /(.) \1\ /ui/\2 global daemon maxconn 256 defaults mode http timeout...
View ArticleHAProxy redirect all https requests for different domains to just one domain...
Hello, I’m looking for a way to redirect ssl traffic from one domain to another, without having a ssl cert for all of them with HAProxy. My current Setup redirecting from http to https is working fine...
View ArticleHow to debug term code CD?
For downloading certain files via haproxy I’m often, but not always, getting a term code CD. Asking the backend directly for this file, always works. It’s just an image of ~300kb and the response time...
View Article