Quantcast
Channel: HAProxy community - Latest topics
Browsing all 4718 articles
Browse latest View live

Valid config invalid

I just installed HAProxy 2.5.1 on a new system planing to move it there, compilation was error-free on the first try, first time I get it right on the first time too. The system, runs Red Hat...

View Article


Hiding a home hosted minecraft server through a remote VPS running HAProxy

Hello! I am currently hosting a Minecraft server on my home network and was wondering if it would be possible to hide my home IP address by using HAProxy. My setup would be as follows: Player → Remote...

View Article


Haproxy : tcp-request connection Close the connexion in 60 seconds

Hello i have this haproxy configuration to pass traffic to windows FTP server in backend: frontend myFTPservice bind 192.168.1.10:1025-1100,192.168.1.10:555 mode tcp acl AllowClientIPs src -f...

View Article

Image may be NSFW.
Clik here to view.

Removing "www."; what (expression) replaces the scheme?

TLDR; text in bold. I’m attempting to come up with something to accept traffic on www. and redirect it the naked domain (so it’s clear it’s not used). frontend port[80|443] from httpees ......

View Article

Haproxy swallowing 500 errors

When I send a request to the backend server I get a 500 error. If I send the same request to the frontend it returns with a 502. I read another thread that said it was a retry error. I set the...

View Article


Only log successfull connections, nothing else

Hello! We have a problem dealing with huge amount of logs. We have to log every successfull request as we need it to count the downloaded and uploaded bytes. The problem we have is that people that...

View Article

cD during ldap job

On 1.8.30, every day at 17:30 someone runs a ldap sync of some sort and it seems like his connection is getting cut: prd_ldap_389 prd_ldap_backend/prd_ldap_server_389_3 1/0/23774 42933789 cD...

View Article

After setting `seamless reload`,it does not lose any connections?

I learn what seamless reload concept is. Assuming setting seamless reload, I have a 10 server at backend section I remove a 2 server at backend section. then only 8 servers remain. I reload the...

View Article


Random connection drops

Haproxy: 1.5.18 (on centos 7) normal install We have a system that runs two httpd servers. The random connection drops is, random. sometimes one week after, sometimes two weeks after. but when it...

View Article


Seamless at DNS discovery and seamless reload

I wonder that connection lost occur or not (seamless, graceful or not) when a existing server disappears at a A record from DNS discovery when a new server appears at a A record from DNS discovery I...

View Article

Can HAProxy affect the internal latency at service server?

I made a HAproxy server connected to 10 web-server and test its performance because my web-service is very sensitive to latency. I measured lots of things related with performance. I compare two case....

View Article

DNS Filtering With HAproxy

Hi Guys, Is it possible with HAproxy to filter domains ? I mean I am using bind DNS server for DNS resolution, I usually block domains i.e block or blackhole at DNS level. This process requires...

View Article

Per-client queue for rate limiting?

I’d like to put a rate limit on incoming HTTP requests, but without sending 429 errors. Instead, requests beyond the limit should be put into a queue from which they are processed at a speed that...

View Article


Review of template for HA Proxy security enforcement and DDOS attacks protection

Please review below template and suggest any improvement that could be done in order to protect haproxy host and websites in the backend… Please if possible copy and paste the text as it should be...

View Article

Maxlength of a line in a statefile

We’re using service discovery with haproxy, and use statefile to revive states during reloads. Sometimes loading from the statefile is failing with error corrupted global server state file...

View Article


Get srv_name before sending to server

Hi, I have a setup with 2 backend servers srv1 and srv2. I need to change the Host header only if the request is going to srv2. This means srv2 receives the request with the changed Host. Here is what...

View Article

Command limit when using runtime API?

Hi, I am using the runtime API to add/remove/modify entries in map files as described in this blog post, and it works fine for small numbers of commands at a time, but if there are too many commands...

View Article


Optional cookie persistence based on ACL (port)

Hi, I have a few situations where we have the same set of backend servers serving both stateful and stateless clients. The different clients use different frontend ports in HAProxy. Currently we have...

View Article

Safe reloads not working

we use this command to restart our HAProxy when the config file changes: /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -sf $(cat /run/haproxy.pid) recently we’ve been seeing some...

View Article

Dataplaneapi runtime error

There is problem if adding new site. POST {api_url}/v2/services/haproxy/sites?version={version_nr} Error: {"code":500,"message":"runtime error: invalid memory address or nil pointer dereference:...

View Article
Browsing all 4718 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>