Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4760

504 Gateway Timeout (sHVN)

$
0
0

Hi everyone,

I have some strange behavior. Everything is working except the request to “/api/auth/GetFirstAuthentication” leading to 504 Gateway Timeout.

The log says:

<134>Jul  4 15:43:29 haproxy[8]: 172.30.0.1:35538 [04/Jul/2022:15:42:59.142] pub1~ app1/pws-srv1 0/0/0/-1/30050 504 198 - - sHVN 1/1/0/0/0 0/0 "POST https://localhost/api/auth/GetFirstAuthentication HTTP/2.0"

In case you wonder why localhost, I am using haproxy docker container before pushing to live.

As I found here, it looks like the backend application does send some kind of malformed or incomplete headers.

The backend app is in fact behind an IIS which is reverse-proxying the requests for '/, /api, /...' to different ports of the backend app itself.

Any ideas how to troubleshoot or overcome this?

full haproxy.cfg (click for more details)

Thanks in advance!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4760

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>