#11947 NORM Future : Handle connection failures better (was: Not all activities updated on first pass)

Zarro Boogs per Child bugtracker at laptop.org
Sun Jun 17 23:23:37 EDT 2012

#11947: Handle connection failures better
           Reporter:  dsd              |       Owner:  dsd           
               Type:  defect           |      Status:  new           
           Priority:  normal           |   Milestone:  Future Release
          Component:  upgrade utility  |     Version:  not specified 
         Resolution:                   |    Keywords:                
        Next_action:  diagnose         |    Verified:  0             
Deployment_affected:                   |   Blockedby:                
           Blocking:                   |  
Changes (by dsd):

  * milestone:  12.1.0 => Future Release


 This is because one (or more) of the mirrors in the SL rotation often
 produces "Connection refused". we've also been bitten by this while
 building OS images. So this is something we'll also see on old OS builds -
 not a regression.

 There are two possible manifestations:

 Firstly, when the updater downloads the initial activity list, it first
 makes a quick request to each activity file to be downloaded (to figure
 out file size). If the connection fails at this moment, the update won't
 even be shown in the update list presented to the user.

 Secondly, if the initial connection succeeds but when coming to actually
 download the file, the connection fails, the activity will not be updated
 and will re-appear in the available updates list later, but with no
 indication of this condition.

 We should improve on this in future.

 Also, I'm going to try and figure out which mirror causes "connection
 refused" so much and write to SL admins.

Ticket URL: <http://dev.laptop.org/ticket/11947#comment:2>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system

More information about the Bugs mailing list