Score:0

HAProxy 2.4 http check fails

ng flag

We are attempting to upgrade from HAProxy 1.8 to 2.4 but the http check we use gets a network timeout (connection reset by peer)

We have a separate script running under xinetd on port 9700 on the remote host that responds with an HTTP response if our whole stack is up or not. If not it returns 500. This works perfectly with 1.8.

option httpchk
server app2 app2:81 check inter 3s port 9700 rise 1 fall 2

This config on 2.4 results in connection reset by peer errors:

Server nginx/app2 is DOWN, reason: Socket error, info: "Connection reset by peer", check duration: 26ms. 0 active and 1 backup servers left. Running on backup. 0 sessions active
, 0 requeued, 0 remaining in queue.

What's the difference between 1.8 and 2.4 that causes this problem and what's the solution?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.