I’m trying to understand why instead of the fallback mechanism of haproxy working (in case of sticky connections) I’m getting 504 gateway timeout errors when a server fails although there are other backup servers available to handle the requests. So, I’m currently studying the C code of haproxy and would appreciate any pointers.
I tried increasing the “timeout server” config value in the haproxy configuration file from 3000ms to 30000ms and that eliminated the 504 errors but that solution wasn’t accepted by the team leader because he said we cannot afford such a long timeout period.
3 posts - 2 participants