502 bad gateway error from haproxy

846 views
Skip to first unread message

Arun Maha

unread,
Feb 24, 2021, 8:28:57 AM2/24/21
to haproxy-ingress
I am using openshift 4.5. I used service and routes and it is externally accessible. Application is working fine, but sometimes i am getting 502 error. I am using haproxy  ingress routes. When does haproxy ingress return 502 error?
 Appreciate your thoughts on resolving this issue.

Joao Morais

unread,
Feb 28, 2021, 6:27:18 AM2/28/21
to haproxy...@googlegroups.com
On Wed, Feb 24, 2021 at 10:28 AM Arun Maha <2233ar...@gmail.com> wrote:
>
> I am using openshift 4.5. I used service and routes and it is externally accessible. Application is working fine, but sometimes i am getting 502 error. I am using haproxy ingress routes. When does haproxy ingress return 502 error?
> Appreciate your thoughts on resolving this issue.

From haproxy doc -
http://cbonte.github.io/haproxy-dconv/2.2/configuration.html#1.3.1

502 when the server returns an empty, invalid or incomplete response, or
when an "http-response deny" rule blocks the response.
Reply all
Reply to author
Forward
0 new messages