bugGNU Wget - Bugs: bug #43262, 504 Gateway Timeout should be a...

 
 

bug #43262: 504 Gateway Timeout should be a non-fatal error

Submitter:  None
Submitted:  Fri 19 Sep 2014 06:38:22 PM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  darnir
Originator Name:  Stuart P. Bentley Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  trunk
Operating System:  GNU/Linux Reproducibility:  Every Time
Fixed Release:  None Planned Release:  1.16.1
Regression:  None Work Required:  None
Patch Included:  No
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 29 Oct 2014 06:30:16 PM UTC, comment #2: 

yes, I think we should make it failing like any other timeout.

Giuseppe Scrivano <gscrivano>
Group administrator
Sat 27 Sep 2014 06:32:07 PM UTC, comment #1: 

I haven't written a test case to confirm this behaviour yet, but I guess a Gateway Timeout should not be a fatal error.

Maybe, this can be fixed without adding a new option.
@Giuseppe, what do you think?

Darshit Shah <darnir>
Group administrator
Fri 19 Sep 2014 06:38:22 PM UTC, original submission:  

I'm trying to wget a site under heavy load that's sitting behind an Nginx proxy. A lot of the time, the proxy server's connection to the backend will timeout for a request, and Nginx will respond with a 504 Gateway Timeout error.

When this happens, Wget should treat it like any other timeout (or at most a "connection refused" event); instead, it's treating it as a fatal error like 403 Forbidden or 404 Not Found.

Maybe there should be an option like --nonfatal-server-errors for other cases where an unreliable server will sporadically put out 5xx codes and wget should try to power through them.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gscrivano (Posted a comment)
  • -email is unavailable- added by darnir (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-02 darnir StatusAwaiting Approval Fixed
        Open/ClosedOpen Closed
    2014-11-19 darnir StatusNeeds Investigation Awaiting Approval
        Planned ReleaseNone 1.16.1
    2014-10-28 darnir CategoryNone Program Logic
    2014-09-27 darnir StatusNone Needs Investigation
        Assigned toNone darnir

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code