Hi Elias, On Mon, Sep 28, 2020 at 12:51:18PM +0200, Elias Abacioglu wrote: > Hi > > I'm trying to get details about some errors in one of my backends. > Looking at the stats, there are a bunch of errors per server. > However, when I try to get details about the errors via the stats socket. > > # echo "show errors -1" | socat stdio /var/lib/haproxy/stats.sock > Total events captured on [28/Sep/2020:12:44:29.832] : 0 > > I get nothing. > Anyone with a clue on what I might be doing wrong?
That's already a good thing! Errors captured there are unparsable messages (requests or responses) indicating either attacks from a client, or a severe bug on a server. What type of errors are you noticing ? It's possible to have plenty of other types of errors, including closed connections, resets, timeouts etc, which will not appear there. Willy