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

 
 

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

Submitted by:  None
Submitted on:  Fri 19 Sep 2014 06:38:22 PM UTC  
 
Category: Program LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: Darshit Shah <darnir>
Originator Name: Stuart P. BentleyOriginator Email: -unavailable-
Open/Closed: ClosedRelease: trunk
Operating System: GNU/LinuxReproducibility: Every Time
Fixed Release: NonePlanned Release: 1.16.1
Regression: NoneWork Required: None
Patch Included: No

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 02 Mar 2015 05:00:46 PM UTCdarnirStatusAwaiting Approval=>Fixed
      Open/ClosedOpen=>Closed
    Wed 19 Nov 2014 08:48:54 AM UTCdarnirStatusNeeds Investigation=>Awaiting Approval
      Planned ReleaseNone=>1.16.1
    Tue 28 Oct 2014 03:05:33 AM UTCdarnirCategoryNone=>Program Logic
    Sat 27 Sep 2014 06:32:07 PM UTCdarnirStatusNone=>Needs Investigation
      Assigned toNone=>darnir

    Back to the top


    Powered by Savane 3.1-cleanup1