Connection reset with "SH" termination code | 502 Bad Gateway
Hi Community, We are facing a 502 Bad gateway error with “SH” as terminate state in Haproxy access logs and also when we have reviewed tcpdump trace of client-> Haproxy & Haproxy-> backend...
View ArticleHaproxy - Lua Backend section
Hello, I’m trying to use lua in the backend section to set the password for redis: Backend section tcp-check send-lf AUTH %[lua.getVault] Currently the getVault function is registered ass fetches and...
View ArticleHaproxy Fully transparent operation mode with HTTP to HTTPS Redirect
Hello all I am trying to use Haproxy in fully transparent mode so that clients are communicating directly with the backend servers and at the same time having Haproxy to redirect all HTTP requests...
View ArticleRemap URL through HAPROXY 1.6.10
Hello everybody, I am quite new at using HAPROXY and the version currently in use in my compagny is 1.6.10 (Old isn’t it !!!) My problem is that I have to create an URL redirection such as this one :...
View ArticleHAproxy TLS passthough
Hi I was wondering if someone could shed some light on the issue im having, Currently have 2 sites on my backend a wordpress and zimbra email server, they both have the SSL on each server, the idea is...
View ArticleA source IP is balanced to a specific backend server
Hi, I want to make that a specific IP is not randomly balanced among my group of backend servers, but by a specific one, for example s-px1. How can I achieve this in my configuration? ### VIP de...
View ArticleMysql & redis backnds with to many Abort connection, (RST,ACK)
I am using HAProxy in front of Redis and MariaDB services, but a pattern that I have found for these backends is that once the client disconnects the applications don’t receive probably the “exit...
View ArticleFrontend session response codes different from backend
I am looking for some enlightenment on the topic of session response codes. Today I was trying to troubleshoot a problem and opened the stats page, as one does. I have used the stats page many times...
View ArticleHAProxy include configuration directive
Hello, Big user of HAProxy (bsd, linux …) I would like to know why there is no directive to include configuration like in acl, redirect from cfg files? Regards, Matthew 1 post - 1 participant Read...
View Article5 time more connections with HTTP/2
Hello, we just enabled HTTP/2 in out frontends (bin … alpn h2,http1.1). Since we observe, that the number of open connections is 5 times higher than before. timeout http-keep-alive was 12000 (ms). A...
View ArticleUri mapping not working
we have a request for the url sometingl like http://www.abc.com/thisis/theuri/ . I have the configuration set like this. global maxconn 10000 log 127.0.0.1 local0 log 127.0.0.1 local1 notice user...
View ArticleHow does nbsrv works in this case?
Hello, Does nbsrv directive its considering backup servers as usable servers once they fire up ? Basically I want to make the switch to the webservers_backup backend if there are less than two usable...
View ArticleBackend server ssl verification error
Dear All, I’m absolutely not an expert in haproxy and ssl/tls and I’m stucked in a problem. I would like to make a re-encryption on the backend side, but the ssl/tls check gives me the famous ‘Layer6...
View ArticleLooking for guidance to choose the right use case for HAProxy
Hi, I’m new to HAProxy and generally to proxy servers, so apologise for the noob question, Google didn’t help. I want to use MS Power Automate to connect to an API server via HTTPS by creating a...
View ArticleHaproxy and varnish utilization on NUMA CPU
Hello we got some servers that we plan to use as CDNs that got NUMA CPUs. We plan to run only haproxy and varnish on those servers, sample lscpu -e below lscpu -e CPU NODE SOCKET CORE L1d:L1i:L2:L3...
View ArticleRemove last trailing slash - haproxy 2.4.4 version
Hi. I have haproxy 2.4.4 version. I need remover the last trailing slash, but this version doesn’t use the reqrep parameter. I tried different conf in haproxy.cfg but none works. Is there any way to...
View ArticleHaproxy health check on https backend strange results
Hello ! I have the following haproxy backend configuration. I’m surprised that in haproxy status page the check is reported as “L6ok”. Why Layer 6 and not Layer 7 ? backend back:lb option httpchk GET...
View ArticleMapping domains and subdomains
HA v. 2.4.12 Frontend: use_backend %[hdr(host),lower,map_dom(/etc/haproxy/Maps/domains.map)] domains.map: domain.com srv sub1.domain.com srv1 sub2.domain.com srv3 Now, calling anysub.domain.com only...
View ArticleStick-table value as txn variable
Hi I am trying to implement rate limiting where specific clients rates can be limited to certain paths using a map file. The relevant configuration is: frontend fe_svc_a_api ... log global log-format...
View ArticleUser Authentication
Hi, I want to allow access only with Auth on https://xxx.ch/wp-admin but https://xxx.ch should be accessible for all. The backend is WEBSERVER on Port 80 with IP 192.168.1.100 So I have to do a ALC...
View Article