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

Slow speed when using SFTP client through Ha proxy

Hello, I am experiencing performance issues when downloading files through HAProxy, with download speeds typically ranging between 30-50 Kb/sec. However, when bypassing HAProxy and downloading...

View Article


Client Certificate Authentication - No Encryption!

This is an unusual requirement which is far from the correct way to do this, however, this is a system which I’ve just taken on and we need to get this working in this way until we can do it better...

View Article


Need help with HAProxy, pfsense, Truenas Core to get Photoprism working

Hi there, I am stuck with the installation of Photoprism as app (docker) on TruenNAS Scale behind pfsense. I installed HAproxy, forwarded both HTTP+HTTPS ports to a virtual IP. When I try to access...

View Article

Image may be NSFW.
Clik here to view.

Is there any settings to avoid 502 before Azure LB default idle timeout(4m)

Hello, I have a setup as below to upload large file(~2G), we exposed the HAProxy and ISTIO GW service via Azure LoadBalancer(default idle time is 4 munities), the application is need 6+ munites to...

View Article

Image may be NSFW.
Clik here to view.

Dynamic Server Weight from a variable

Hey folks, im trying to configure server weights from environment variables. I ended up with this but its not working (503) (stripped away not relevant parts of the config) global set-var...

View Article


Fd[0x13] OpenSSL error[0xa00010b] (null): wrong version number

entry point that’s not working is synology.xxxxxxx.org → synology-backend any ideas what may be wrong … haproxy -vv HAProxy version 2.4.24-0ubuntu0.22.04.1 2023/10/31 - https://haproxy.org/ Status:...

View Article

Connection marked as private

Hello! If I use check ssl sni hdr(Host) or http-reuse never how can I check if a connection is marked as private? Thanks! 1 post - 1 participant Read full topic

View Article

All possible socket commands errors

Hi, I often use the socket commands from scripts. Obviously, if “socat” has managed to transmit the command, its return code is 0. If we want to check if the command was successful or failed, we have...

View Article


IRULE to HAPROXY

Need help to convert following irule to haproxy if { [HTTP::header Host] eq “app.site.com” and [HTTP::path] starts_with “/call1”} { HTTP::header replace Host “ssl.api.site.com” HTTP::uri [string map...

View Article


Routing to a specific machine

Hello, I want to know how I can route traffic from a domain to a specific local machine. The idea is that I have two machines under the same public ip and I want to access the first machine with for...

View Article

Configuring dynamic backends based on SNI

Hello, Is it possible to configure HAProxy to resolve hostnames and forward to a certain IP based on the SNI value? I want to configure something like the following: Client → HAProxy (resolve SNI...

View Article

SQL injection rule breaks service start

any idea why this line break and how to fix it? acl is_sql_injection urlp_reg -i (union|select|insert|update|delete|drop|@@|1=1|`1)\n") it breaks in this part - 1|`1)\n backspace won’t work 2 posts -...

View Article

Frontend mode tcp with ssl not work

Hi all, I want to use haproxy to reverse proxy for a postgresql service 192.168.7.112 is haproxy (haproxy run as container) (postgres.mydomain.com resolve dns = 192.168.7.112) 192.168.0.205 is...

View Article


Haproxy no-check config not working as intended

Not sure if this is a bug or some misconfiguration System: HAProxy lrunnign as a K8s container pod and load balancing services in a k8s cluster with HAProxy backends pointing at k8s services Desired...

View Article

HaProxy capture client hostname

I want to capture client hostname into HaProxy log. Using the help at HAProxy Log Customization I am able to customize log format. But not able to capture client hostname (I mean requesting client...

View Article


Problems with images

Hi , i’m new with haproxy…we have 2 backends that serve serveral web apps and in one app we generate a pdf file with a barcode image…in those backend i can generate the pdf and i can see the barcode...

View Article

Redirect https localhost to docker with. their own http server

Hello everyone, Could you please help me?I am currently working with HAProxy in a Docker Compose setup. Here is a snippet of my configuration: services: haproxy: image: haproxy:2.8 container_name:...

View Article


Can't switch to backup server

Can’t switch to backup server When I set the health check to fail while requests were flowing to the primary server (e.g. by stopping the primary server’s service (port:8080)), I was hoping that the...

View Article

Does haproxy really block http request with invalid characters ? (RFC7230)

Hello all I have the following log : Jan 9 09:55:10 advance haproxy[4697]: 8.222.220.181:11074 [09/Jan/2025:09:55:10.366] public~ tomcat/tomcat 0/0/0/0/+0 400 +2532 - - ---- 147/147/1/1/0 0/0...

View Article

How to Set Host Header Dynamically After Backend Server Selection in HAProxy

Hello Team I’m working on a setup where I need to dynamically set the Host header based on the backend server that HAProxy selects upon load balancing. My backend configuration looks like this:...

View Article
Browsing all 4849 articles
Browse latest View live


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