Skip to main content
The 2024 Developer Survey results are live! See the results

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.

0 votes
0 answers
26 views

I have a cluster patroni, patroni state show streaming, but HAProxy show DOWN, It's normal or not

List excute from patronictl -c /etc/patroni.yml list result from excute This is haproxy config global maxconn 100 defaults log global mode tcp retries 2 timeout client 30m ...
Sinh Long's user avatar
0 votes
1 answer
19 views

EC2 ELB and HAProxy - Unable to preserve Client's IP

I've configured an Amazon Elastic Load Balancing (ELB) in front of a HAProxy node but I'm having issues preserving the Client's IP, the access logs have random IPs associated with my VPC CIDR Network. ...
Tonis's user avatar
  • 5
0 votes
0 answers
15 views

HAProxy: configuring multiple single domain SSL certs for domain and subdomain

I have 2 single domain SSL certs for the following urls: domain.com test.domain.com Due to business requirements, both of those domains will point to the same backend for some period of time (a ...
user2263572's user avatar
  • 5,545
0 votes
0 answers
12 views

Proxy outbound diameter traffic with haproxy

I would like to have a egress-static-ip server on which I installed haproxy with this configuration: global log /dev/log local0 log /dev/log local1 notice chroot /var/lib/...
pkruk's user avatar
  • 839
0 votes
0 answers
13 views

HAProxy terminates / resets an idle connection even there are no timeouts configured

I'm about to test PostgreSQL connection idling over HAProxy. I let a JDBC connection idle in a loop to test this. With each iteration I am doubling the idle wait time. Currently HAProxy terminates the ...
mzwettler's user avatar
-1 votes
0 answers
41 views

How to configure Let's Encrypt for GitLab using HAProxy on pfSense?

I have a pfSense firewall with HAProxy and ACME installed. I usually use HAProxy to serve public web traffic via HTTPS using Let's Encrypt certificates for subdomains like web.example.com. Now, I want ...
nobody's user avatar
  • 1
0 votes
0 answers
13 views

Problem in adding option inside haproxy backend

This is what the backend I want is like backend backend_name1 mode http option httpchk option forwarded The key code with data-plane-api to add the backend is url = f'{host}/v2/services/...
azteker's user avatar
  • 61
0 votes
0 answers
19 views

Haproxy 3.0 with PHP-FPM 301 header mangled to 302

I am trying to use HAProxy with an FCGI backend to php-fpm for a redirection service When I attempt to write a 301 redirect, and check the response with cURL, it's sending a 302 instead of a 301. Very ...
user3713910's user avatar
0 votes
0 answers
13 views

How to make HAProxy redirect traffic via a certain sub-proxy depending on URL?

I have a server (S-1) with HAProxy and a number of residential proxies (PR-s) as login-passwords-port. There're multiple users who will connect to the internet via S-1. I want to have HAProxy to ...
Marco C. Stewart's user avatar
0 votes
0 answers
13 views

Curl request to haproxy node returning resulting in SSL_ERROR_ZERO_RETURN

I am trying to send a large multipart file to my server through haproxy. However, the request fails with SD-- in the log and the curl verbose output produces the following (command is being run on the ...
Bryan Tan's user avatar
  • 257
0 votes
0 answers
105 views

Forcing HAProxy to send HTTP 1.1 requests to backend server

I'm serving some legacy clients that support only HTTP/1.0. The min version that the backend server accepts is HTTP/1.1. I'm trying to configure HAProxy so that it receives HTTP/1.0 requests and then ...
Christian Zazueta's user avatar
0 votes
0 answers
7 views

Can I set different healthchecks to each server in one backend in HAproxy?

I have a HAproxy instance with one backend and two mysql servers. My question is Can I set for each server in backend different healthchecks? It could be perfect to set mysql-check to backend server ...
Roman Gunko's user avatar
1 vote
0 answers
27 views

HaProxy unescaping path params

I have a RestEasy path: @GET @Path("loadPageData/{path}") @Produces(MediaType.APPLICATION_JSON) public Response loadPageData(@PathParam("path") String path) { //...
MysticUnicorn's user avatar
1 vote
0 answers
25 views

Can HAProxy support JWT validation and CORS together?

I need to support CORS between a react js application on http://localhost:3000 and an 'api gateway" proxy server(HAProxy here) on ex: http://localhost:8081. I'm able to successfully configure ...
TheBitMuncher's user avatar
0 votes
1 answer
30 views

JMeter, load testing on HAProxy - org.apache.http.NoHttpResponseException: server-address:80 failed to respond

I am doing load testing using jmeter 5.6.2 on HAProxy. One of my scenario consists of several http requests. When I send less than 8 units everything works fine but above that some of the requests are ...
LeFenouille's user avatar

15 30 50 per page
1
2 3 4 5
176