Quantcast
Channel: Serverphorums.com - HAProxy
Viewing all articles
Browse latest Browse all 5112

Problem with BOM in healthcheck-file? (1 reply)

$
0
0
Hi,

I had a very strange situation earlier.

He have a site behind a haproxy/nginx combination, it has been working
for years.
(It's Windows).

However, suddenly I get L7 timeouts.

But curl to the healthcheck URL works perfectly.

The output I get looks like this:

��server_up

Piping curl through cat -v looks like this:

M-^?M-~s^@e^@r^@v^@e^@r^@_^@u^@p^@^M^@
^@

They have started to generate this file via a powershell script and it
has inserted a byte-order-mark into the file (BOM).
Took a while to figure this out ;-)

haproxy 1.6.9 (FreeBSD 10-amd64) seems to actually choke on these files
and hang - I had to kill -9 it.

After replacing the file with its previous, ASCII-only copy, everything
started to work again.

Can anyone reproduce this?

Maybe it's fixed in later versions?



Regards
Rainer

Viewing all articles
Browse latest Browse all 5112

Trending Articles