#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.
      
      
4 months ago
    
    
  
              
    
      
    #4
  
    
        
          
             @
 @
            
4 months 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.
      
      
4 months ago
    
    
  
              
    
      
    #7
  
    
        
          
             @
 @
            
4 months 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
  
    
        
          
             @
 @
            
4 months 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.
      
      
4 months ago
    
    
  
              
    
      
         
        
This ticket was mentioned in Slack in #core by azaozz. View the logs.
      
      
4 months ago
    
    
  
              
    
      
    #11
  
    
        
          
             @
 @
            
4 months ago
        
    
  
  
  - Keywords commit dev-reviewed added; needs-testing removed
48379.diff looks good to me.
    
      
    #12
  
    
        
          
             @
 @
            
4 months 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.