Questions tagged [haproxy]

HAproxy is a TCP/HTTP load balancer which provides cookie-based persistence, advanced traffic regulation with surge protection, automatic failover, run-time regex-based header control, Web-based reporting, advanced logging to help trouble-shooting buggy applications and/or networks, and a few other features.

HAProxy is a TCP/HTTP load balancer which provides cookie-based persistence, advanced traffic regulation with surge protection, automatic fail over, run-time regex-based header control, Web-based reporting, advanced logging to help trouble-shooting buggy applications and/or networks, and a few other features.

2659 questions
0
votes
0 answers

HAProxy: Random Layer4 timeouts in when using httpchk

I'm currently investigating an issue of random "Layer4" timeouts being reported by health checks used in HAPRoxy. The actual backend server being checked is proven to be up and responding at the time of these errors, as other trafic to the server is…
Darajan
  • 868
  • 1
  • 9
  • 23
0
votes
1 answer

HAProxy always throws 404 even after configured the ingress paths

I have installed the HAProxy controller in AKS by following the documentation here https://www.haproxy.com/documentation/kubernetes/latest/installation/community/azure/. When I try to navigate the External load balancer IP as expected I was getting…
0
votes
0 answers

Programmatically (SH Script) check which server is traffic routed too by HA Proxy

I have 2 HA Proxy servers with Keepalived configured with them, and have 2 backend servers to which traffic is routed by HA Proxy, am writing a shell script that will sync a directory between backend servers based on which server is currently set as…
MoonLight
  • 460
  • 4
  • 15
0
votes
0 answers

Custom Header in haproxy

Problem with custom header in incoming request. The header must be called Authorization Bearer Anyone have idea how to called Header? Haproxy.cfg: http-request set-var(req.token) str(""),lua.create_access_token http-request add-header…
pr0g
  • 1
  • 1
0
votes
1 answer

Error while compiling HAProxy from source

I got this error while trying to compile the HAProxy 2.2 with LUA version 5.3. I'm on trying to do it on CentOS7(arm64). [root@08d17a479616 haproxy-2.2.22]# make TARGET=linux-glibc USE_PCRE=1 USE_PCRE_JIT=1 USE_OPENSSL=1 USE_ZLIB=1…
0
votes
0 answers

NTLM Authentication for HA-Proxy Backend Health Check

I am trying to determine how to do a health check against backend servers in HAProxy with NTLM authentication (Windows IIS servers). As I understand, it is 'multistage' in that it will do a 'basic' auth first, return a 401, and then try again with a…
0
votes
0 answers

HAPROXY ingress controller setup using mTLS with configmap with just the ingress load balancer because it's ssl offloaded. No need for backend check

I was able to achieve ssl offloading with Haproxy. So great product and appreciate that capability! With that said, I need to doing mutual TLS but am a little confused on how that will work with the ingress controller configmap. Going through this…
0
votes
0 answers

How to replace a Stunnel with a Haproxy

I try to replace an existing Stunnel configuration sslVersion = TLSv1.2 ciphers = AES256-SHA:AES128-SHA:RC4-SHA:RC4-MD5 CAfile = acs.pem output = stunnel.log debug = 7 [CONF1] verify = 2 cert = conf1.pem key = conf1.key accept =…
spaceworld
  • 13
  • 4
0
votes
0 answers

Proxy Connections for Mongodb Atlas with TLS Enabled

Currently, I am trying to proxy connections to Mongodb Atlas via HAPRoxy. Based on some research it should be fairly trivial, but I am running in various issues ranging from mismatched certificates to server selection error. Configuration looks…
debarshi
  • 327
  • 1
  • 11
0
votes
0 answers

How to add files to ipfs using ingress url from the command line tool - ipfs-cluster-ctl?

I have deployed ipfs-cluster as a statefulset with 3 replicas in Azure Kubernetes cluster. Created loadbalancer service for ipfs and used the loadbalancer service ip to add files using ipfs-cluster-ctl like below, ipfs-cluster-ctl --host…
Soundarya
  • 153
  • 1
  • 2
  • 12
0
votes
0 answers

Load balancing using haproxy or service mesh is reducing the throughput

I am confused with the load balancer performance using Haproxy, NginX, or Service Mesh. Assume 2 different endpoints (Endpoint 1, Endpoint 2), where Endpoint 1 can handle more requests than Endpoint 2 in a certain period of time. I use round-robin…
0
votes
0 answers

HAProxy locks up simple express server in 5 minutes?

I have a really strange one I just cannot work out. I have been building node/express apps for years now and usually run a dev server just at home for quick debugging/testing. I frontend it with a haproxy instance to make it "production like" and to…
Macinspak
  • 1
  • 1
0
votes
0 answers

Haproxy Postgresql SSL configuration

I need ssl connection between postgresql (patroni cluster) and Haproxy but I didnt find any related docs. Is it possible to configure haproxy via ssl without using pgbouncer or pgpool tools. I can connect directly to the database server with ssl…
aliosman
  • 1
  • 3
0
votes
0 answers

Im using currently HAproxy but unfortunately HAproxy does not scrub data, is there any alternative open source proxy that does support scrubbing data

im using HAproxy currently to relay some data but now i want to modify the request on the HAproxy before it is relayed to the other server . according to documentation HAproxy is not a data scrubber : it will not modify the body of requests nor…
0
votes
0 answers

Upgrading to v2.6.6 HaProxy replacing reqrep directive

I'm trying to replace this deprecated directive with the suggested one: reqrep ^([^\ :])\ /application/(.) \1\ /\2 to http-request replace-path /bankfast/(.*) /\1 But it didn't work. Looks like the application is not sending correct request to…
Uge
  • 1
1 2 3
99
100