Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Haproxy -- File is getting truncated on download -- intermittent

    Cache/Proxy
    1
    2
    403
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gnordli
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • G
        gnordli
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.