CPU climbs up if haproxy runs for more than a few minutes
Due to a bit of historical accident (related to the absense of the resolvers server option on older versions of haproxy), we currently reload config, restarting the haproxy worker process,...
View ArticleSuddenly haproxy crashed error code 143
Hello, My website getting suddenly down at midnight and found out that my haproxy container was faulty on my down. I was checking my log files to see what was caused crash and found this message...
View ArticleHttp-reuse and set-dst
How does http-reuse safe interact with using do-resolve and set-dst, with a server of 0.0.0.0:0 to dynamically specify the target server? Does haproxy only use an idle connection that has the same...
View ArticleIntercept HTTP CONNECT Method / Tunnel only
Hi, I’m fairly new to HAProxy and trying to establish if it is possible to replicate something that we can do within Fiddler Fiddler Classic but move to HAProxy… Essentially, all I want to do is let...
View ArticleUnable to renew SSL certificates with servers using SSL passthrough
I am new to HAProxy. Currently, I have two different web servers, each with their own subdomain, behind my HAProxy setup. In order for each of these web servers to initially get their own SSL...
View ArticleHow to set/provide X-Forwarded-* headers
Hi all, I am running haproxy inside pfsense. I need to provide X-Forwarded headers for an application (kimai 2) I just installed inside a container in my proxmox server. The app is running behind...
View ArticleSSH Proxy SSL "Routing"
Hi, I’ve got SSH Proxy up and running according to Route SSH Connections with HAProxy - HAProxy Technologies But i’ve got a few issues. First there is a typing delay when using the SSL at front end...
View ArticleHttp frontend to https Backend on selected paths
I have two incoming requests, one of it needs to go to a “http:// server” and other to “https:// server”. Below is my acl and backend definitions ------in haproxy_peers.cfg--------- acl...
View ArticleDynamic RDP backend based on LDAP Group
Hi everyone, I would like to dynamically select RDP backends based on a users group membership. From what i have read, i need to create a lua script to register a fetch and use that fetch in an acl. I...
View ArticleURL redirect HAproxy
Hi guys, I need to use ADFS with HAPROXY. At the moment the only problem I have is that I can’t make the redirect from https://adfsstg.xxx.com to...
View ArticleHAproxy limits web tabs
I’m using HAproxy to route trafic to 2 apps running on the server. One of the apps is ThingsStack. Problem I have is that now I can’t open more than 3 tabs that have direct link to the device data [...
View ArticleACL multiple fetches
Hi all, I’m trying to create an ACL with 2 fetches, similar to this post here: Anonymous ACL - Multiple AND Conditions Not Evaluted In my example: http-request set-var(txn.endpoint) req.hdr(Host)...
View ArticleIssues with HAProxy 2.0.25 Upgrade and OpenSSL 3.0
I am trying to upgrade from HAProxy 1.5 to 2.0 and I ran into some SSL issues during installation. I updated my make command to the following which decreased the total errors by 80% but I am still...
View ArticleDataplane Consul discovery with narrow range of services
Hello, I’ve been trying to setup the DataPlane API Consul service discovery with only a narrow range of all the services that the Consul have. On the documentation [1] i saw that is it possible to add...
View ArticleCan’t find the cause of "SQLSTATE[HY000]: General error: 7 SSL SYSCALL error:...
I originally posted this on forums.cockroachlabs.com. Posting here because my problem seems to be related to HAProxy instead of CockroachDB. I keep getting the following error message on my website...
View ArticleHTTPS not going through on updated version
Hello, for some reason after installing the new haproxy version I am no longer able to send https requests, http is doing just fine! HA-Proxy version 2.2.9-2+deb11u2 this is the output of echo "show...
View ArticleService Discovery using DNS and SRV,Is it good on 2.4?
A haproxy runs in docker, use dns and srv records for service discovery, but it seems dosen’t check my service‘s status even if i have configed health check. docker-compose.yml services: haproxy:...
View ArticleRate limit base on bucket name
Hello We have a ceph cluster with s3 gateway and I want to set per bucket rate limit in haproxy. Paths are like https://myDomain.com/bucketName/fileName. how can I set rate limit for each bucketName?...
View Article(Host is unreachable) What's that mean?
It seams haproxy said “localhost” unreachable? just start my haproxy, no other op /root# docker-compose up --build Starting haproxy ... done Attaching to haproxy haproxy | [NOTICE] (1) : New worker #1...
View ArticleMySQL proxy errors
Hi, I’m getting the following error when connecting to a remote MySQL server through HAProxy: Lost connection to MySQL server at 'reading initial communication packet', system error: 0 [Code: 2013] My...
View Article