We are getting 502 errors from HAproxy sayingthe server returned an invalid or incomplete response. In the haproxy logs, it has code PH which when looked into, it said The proxy blocked the server’s response, because it was invalid,
incomplete, dangerous (cache control), or matched a security filter.
In any case, an HTTP 502 error is sent to the client. One possible
cause for this error is an invalid syntax in an HTTP header name
containing unauthorized characters.
We also noticed that the request didn’t get logged at the server end. Maybe we didn’t have enough logging implemented but we don’t know the issue. How to fix it? This has not happened for any of our other services onboarded to same Haproxy cluster. Please someone can guide on this.
1 post - 1 participant