#48379 closed defect (bug) (fixed)
Expand error codes to include all 5xx HTTP errors when retring to create image sub-sizes
| Reported by: | 
  
     | 
      Owned by: | 
  
     | 
    
|---|---|---|---|
| Milestone: | 5.3 | Priority: | normal | 
| Severity: | normal | Version: | 5.3 | 
| Component: | Upload | Keywords: | has-patch commit dev-reviewed | 
| Focuses: | Cc: | ||
| PR Number: | 
Description
Attachments (1)
Change History (14)
    
      
        
        
This ticket was mentioned in Slack in #hosting-community by azaozz. View the logs.
      
      
5 weeks ago
    
    
  
              
    
      
    #4
  
    
        
          
            
 @
            
5 weeks ago
        
    
  
  
    
As reference / one example, it looks like 508 is commonly used by cPanel (see discussion on Slack), so I think at the very least we should fix that.
Upon a bit more research, looks like this isn't the only other code in the 5xx range that is used.
To cover the most cases, I agree retrying for any 5xx would be the best.
Trying to see if I can get this working on my test setup for retries that worked previously.
    
      
        
        
This ticket was mentioned in Slack in #core-media by mike. View the logs.
      
      
5 weeks ago
    
    
  
              
    
      
    #7
  
    
        
          
            
 @
            
5 weeks ago
        
    
  
  
  - Summary changed from Expand error codes to include all 5xx HTTP errors when retring to create imabe sub-sizes to Expand error codes to include all 5xx HTTP errors when retring to create image sub-sizes
 
    
      
    #8
  
    
        
          
            
 @
            
5 weeks ago
        
    
  
  
    
Just a quick update that this looks to work with tests so far in the media library.
    
      
        
        
This ticket was mentioned in Slack in #core by david.baumwald. View the logs.
      
      
5 weeks ago
    
    
  
              
    
      
        
        
This ticket was mentioned in Slack in #core by azaozz. View the logs.
      
      
5 weeks ago
    
    
  
              
    
      
    #11
  
    
        
          
            
 @
            
5 weeks ago
        
    
  
  
  - Keywords commit dev-reviewed added; needs-testing removed
 
48379.diff looks good to me.
    
      
    #12
  
    
        
          
            
 @
            
5 weeks ago
        
    
  
  
  - Owner set to azaozz
 - Resolution set to fixed
 - Status changed from new to closed
 
In 46566:
Setting this tentatively for 5.3 as it will fix the new functionality to work for all users and with most server configurations.