HAProxy community

1.7.11 Compression Issue? Parsing errors on response


I understand. If a network capture is not possible, a good start would be to get the request headers sent by the client and the response ones sent by the server. A good way to have is to start HAProxy in debug mode (using -d option).

You can also add 2 trace filters in your frontend section, before and after the compression. To do so, add the following lines in your frontend:

filter trace name BEFORE
filter compression
filter trace name AFTER

You must start HAProxy in foreground to get trace messages. Be careful, the trace filter is pretty verbose.



Apologies I’ve not been able to do this yet but it is on my todo list. I’m hoping to get around to this soon.