Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 525104

Summary: app-portage/mirrorselect: Apply timeout when server asks for authentication
Product: Portage Development Reporter: Weedy <weedy2887>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Weedy 2014-10-12 08:25:59 UTC
Asking for auth makes mirrorselect hang for what feels like forever.

* Downloading mirrorselect-test files from each mirror... [3 of 192]
_deeptime(): maxtime is 4
deeptime(): ip's for host gentoo.netnitco.net: ['216.176.132.235']
deeptime(): testing url: ftp://216.176.132.235/pub/mirrors/gentoo/source/distfiles/mirrorselect-test

maxtime should probably apply to auth requests.
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2014-12-16 21:41:39 UTC
Mirror itself is fine again, assigning to mirrorselect developers for followup.
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2022-05-31 01:22:17 UTC
Is this still an issue?

The code (at least in recent versions) handles timeout exceptions.  Perhaps this has changed in recent dev-python/requests lib used for this.

Please re-open if it is still an issue.