Haproxy -- File is getting truncated on download -- intermittent
-
Hi.
I am running haproxy-devel on pfsense 2.5.2.
Doing an HTTPs -> HTTP backend.
Everything is working OK, except I am intermittently getting some .js files truncated.
The interesting part is the status code is 200 on the client, but it is not getting the whole file.
It doesn't appear to be a timeout as it only take a 3-4 seconds to get the file.
Any thoughts?
thanks,
Geoff -
Got more information from the log file.
Feb 4 14:38:25 fw1 haproxy[14494]: 192.168.0.1:37014 [04/Feb/2022:14:38:22.412] HTTPS_443~ Production_ipvANY/si-erp14 0/0/0/216/2799 200 3455367 - - SD-- 4/4/0/0/0 0/0 "GET https://domain.com/web/assets/334-e80f7c3/web.assets_backend.min.js HTTP/2.0"
The "SD" in the connection state says the
S : the TCP session was unexpectedly aborted by the server, or the server explicitly refused it. D : the session was in the DATA phase.
In the backed setting I tried to set "retries" to 3 but it didn't retry on failure.
Any other thoughts.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.