"Failed to start HAProxy Load Balancer"
I am a complete noob at this stuff i really don’t know what i am doing but this is my config file global log /dev/log local0 log /dev/log local1 notice chroot /var/lib/haproxy stats timeout 30s user...
View ArticlePermission denied error
Hi, I’m using my local Kubernetes env (v1.19.3) and trying to deploy Haproxy with the yaml file below: github.com haproxytech/kubernetes-ingress/blob/master/deploy/haproxy-ingress.yaml --- apiVersion:...
View ArticleResponse time spikes when connections increase
We have clients that connect using 300-400 connections parallely and we have a src_conn_cur reject set to only if client hits 1000 connections. When ever we have the clients connect during that period...
View ArticleGetting a string from the CDN HTTP request
Hi guys, I have been trying for a long time to get this to work without much success I hope someone here can point me in the right direction A website via CDN, has this string on its header. This is...
View ArticleUse_backend with acl url_reg failed after upgrade from 1.8 -> 2.2
Hello, with upgrade to 2.2 my acl for use_backend directive no longer work. I’ve no idea what happen: acl is_testxy url_reg ^\/testxy/.* acl is_testxy url_reg ^\/testxy use_backend Backend-web2 if...
View ArticleHTML body rewrite
Hi Community, I need to rewrite html code in the body that is served with each page. I basically need to change for example 1 word say “John” and rewrite it to say “Mary”. Is this possible? what will...
View ArticlePeers section logging
Hi! I’ve got a weird problem with haproxy peering. Everything is working fine, haproxy instances are syncing stick tables between them correctly up until some point where it stops completely and the...
View ArticleNeed help with a HTTP and HTTPS Proxy Config for multiple backend servers
Hi guys, I’m a bit stuck with my HAProxy config. It works perfectly fine for HTTPS and nicely redirects the traffic and although it redirects HTTP traffic as well, I see following error in my logs...
View ArticleFancy URL (remove .php extension)
I have a haproxy server and everything is working. But i just need to remove the extension from the url like that: http://test.com/login.php?testvars=123 to http://test.com/login?testvars=123 Before...
View ArticleLooking for a developer to set up self signed certificates
After almost a week of sleepless nights, and trying numerous freelancers I have had enough. Looking for someone to set up haproxy with self signed certificates, drop me a pm if you have made it...
View ArticleRandom HTTP 401 errors (File not found)
lately i setup my Haproxy server and now randomly 401 Error (File not found) errors occure. And when restarting Haproxy it works for around 10 minutes and than it again happens. Than you can spam F5...
View ArticleStats shows still old version after upgrade HAProxy
Hello All, I have small cosmetic problem. I sucessfully upgraded my HAProxy version 1.8.12-8a200c7 to HAProxy 2.3.3 All works correct, but stats page still shows old version. haproxy -v shows:...
View ArticleA proper way to do SSL health check?
Hello, so I can’t figure out a proper way to do the SSL check, I am not using certificates, just need to check against a HTTPS websites url (google.com/ for example) Trying multiple combinations at a...
View ArticleConnect to SSL server using connect_ssl
I am using haproxy as a authorization layer, using a lua script. Since the lua code is being run in haproxy, I can’t use the luasocket and luasec libraries. So I am trying to use the connect_ssl...
View ArticleAutomattically getting out of backup server
Hi, I have this setup: backend hub_server mode tcp # maximum SSL session ID length is 32 bytes. stick-table type binary len 32 size 30k expire 30m option tcplog option log-health-checks acl...
View ArticleAWS Cognito integration
Hello people, I am considering replacing the AWS API Gateway with haproxy, but I need to continue to provide API authentication with Cognito (token based). My google search on this was unsuccessful....
View ArticleEventual lockup after reload-socket
We have some Python websockets, apache2 hosts, and Percona XtraDB Cluster (mysql) hosts behind our proxy. ( HA-Proxy version 2.0.20-1~bpo10+1 2021/01/12 ) The websockets require client certificate...
View ArticleCrushftp Behind HaProxy
Hi. I’m tryng to set ftp (with explocit tls), ftps (implicit tls) and sftp with crushftp java software Behind HaProxy Here is my haproxy configuration frontend ftp bind *:2121 bind *:20000-20998 mode...
View ArticleRandom routing issue (tcp, sni, http/2)
Hello, I have a hub app routed, and sometimes it gets wrongly routed to the ssl_default backend. Leading to a 404. A control + F5 is needed to get it right, which cannot be done for resources files,...
View ArticleHaproxy replies with TCP FIN on HTTP GET
Hello, I am happily using haproxy 2.0.17 (also happens with 2.0.19) with quite such configuration: global pidfile haproxy.pid master-worker log log.sck local0 defaults log global mode http option...
View Article