Converting pre 2.1 HAProxy code to be 2.1 compliant (vscode)
Hey Guys, I got a little problem with a small piece of code which I wondered if anyone had an idea how to convert this to be HAProxy v2.1+ compliant. I have used this code for the past year or so...
View ArticleTimeout precedence in 1.8
Hi everyone, I’m trying to understand the precedence of the various timeouts. Esp. I’m trying to configure long lived client connections. It appears that in case of idle time between requests, the...
View ArticleLower case url_param
Hi, I’d like to use rate limiting in HAProxy based on url_param. My problem is that I have an url_param which can be lowercase or uppercase. So I have the rate limiting code wich just works fine if...
View ArticleDynamic source address
Hi all! For avoiding the problem of port exhaustion when connecting to upstream servers I have configured several IPs in my HAProxy machine. My intention is HAProxy to use those IPs as source...
View ArticleHttp to https on same frontend port
Hi all, I’m trying to set up HAproxy to send all http request to https follow the same link and port. For example: http://exmple.local:9443 —> https://exmple.local:9443 Here is my configuration:...
View ArticleMultiple frontends using a single backend...problem?
Hi there Is there a problem using like, TEN frontends pointing to a single backend “A” and other EIGHT frontends point to a single backend “B”? pfsense / haproxy. Thanks in advance 1 post - 1...
View ArticleHttp-request redirect
Hi all, Apologies if this is a stupid request but I’m quite new to HAProxy… I have TMK a simple use-case: I want to redirect requests made into my KVM host, to the URl of one of the guest VMs, in this...
View ArticleHAproxy with Lets encrypt
Hello I have searched the forums and found many similar questions but nothing that solves this. I have 2 webservers (apache) and HAproxy as LB in conjunction with keepalived. We use ISPconfig to...
View ArticleUse https servers in backend section
hi everybody. i have a problem in my way, i configure haproxy for load balance my https request through my clients, i add my certificate to frontend section but when i add https sites in backend...
View ArticleLetsencrypt - HTTP to HTTPS
Hey guys, Ive used Haproxy for several years now, and its been working amazing! Normally all it was used for, was to redirect requests from HTTP to HTTPS, and to different backends if the host header...
View ArticleHealth check not respecting DNS updates
Running HAProxy v 1.8.17 I’ve come across the following scenario: I have a single listen block with one server listed, with the endpoints dns address being used and resolved against google DNS...
View ArticleDataplane API - simple reload command?
Hi I’m running HAProxy in a Docker Swarm and handling configuration updates by editing a central config file then pushing it out to all nodes in the swarm. The /usr/local/etc/haproxy directory is then...
View ArticleFailed request of 'haproxy router-* router on port 443
Hi, I am facing TCP connectivity rate for process nginx_UAT_RP on host XXX has decreased to 60 % and there are lots of request getting failed due to maximum 404 and few 403 and 2 or 3 502 bad request...
View ArticleCross-Origin Request Blocked:
First, heres the haproxy -vv: HA-Proxy version 1.8.8-1ubuntu0.10 2020/04/03 Copyright 2000-2018 Willy Tarreau willy@haproxy.org Build options : TARGET = linux2628 CPU = generic CC = gcc CFLAGS = -g...
View ArticleHAProxy with keepalived on AWS
Hi! i am currently using HAProxy 2.0 on two different servers on AWS i am try to configure High Availability with keepalived everything is working expect my notify script. if i can execute script...
View ArticleArchitectural limitation for nbproc?
Hi all, I’m migrating HAProxy to nodes with 2x20 core Xeons, for a total of 80 vcpus seen by the OS. I want to use cpu-map to pin processes to vcpus for performance reasons, and have two questions:...
View ArticleIntermittent TLSv1.2 Handshake Failure due to mistmatch in ServerKeyExchange
Hi, I am facing issue of intermittent failure of handshake after ServerKeyExchange message fro Server to Client. The difference between successful and Failed trace is for one Distinguished Name. The...
View ArticleSSL passthrough send-proxy
Hi Community. I use HAProxy as reverse proxy for serving a couple of hobby projects. All projects runs in Linux containers. I choose to terminate the SSL inside the containers. This is a simplified...
View ArticleSpoe intermittent st=258
Hi all, I’m using haproxy:latest image in a Docker Desktop for windows. I’m developping a Spoa engine and sometimes Haproxy didn’t succeed in sending a frame but following one are ok. the spoe backend...
View ArticleConvert current ssl certificate crt to pem
Hello, i have wildcard certificate from godaddy working now in Linux Server and i want to move to haproxy server and convert it to pem and until now no luck i tried to cat crt and key in one pem file...
View Article