#12479 NORM 13.1.0: Wikipedia can't resolve localhost

Zarro Boogs per Child bugtracker at laptop.org
Fri Jan 25 15:08:32 EST 2013

#12479: Wikipedia can't resolve localhost
           Reporter:  godiard              |       Owner:  godiard      
               Type:  defect               |      Status:  new          
           Priority:  normal               |   Milestone:  13.1.0       
          Component:  wikibrowse-activity  |     Version:  not specified
         Resolution:                       |    Keywords:               
        Next_action:  diagnose             |    Verified:  0            
Deployment_affected:                       |   Blockedby:               
           Blocking:                       |  

Comment(by dsd):

 We may have an explanation for the behaviour described, as posted on the
 upstream bug.

 Even modifying /etc/hosts doesn't solve the issue, because
 SimpleHTTPServer listens on IPv4 only. Even in Python 3...

 As this is only a local-facing server, it seems reasonable to make client
 behaviour match the server. Please could we have a new wikipedia activity
 that connects to "" instead of localhost. No need to try localhost
 first - just go direct.

 This way we skip the resolver (which is subject to some weird behaviour
 described in
 https://fedoraproject.org/wiki/Networking/NameResolution/ADDRCONFIG) and
 we guarantee that we hit the same address family (IPv4) where the server
 is running.

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

More information about the Bugs mailing list