Closed Bug 874549 Opened 12 years ago Closed 12 years ago

Mozdownload: Getting 'Authorization Required' error after mozdownload upgraded to 1.7.2

Categories

(Testing :: Mozbase, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: rwood, Unassigned)

Details

My gaia-ui endurance test jenkins build for downloading the latest b2g nightly (which uses mozdownload) was working fine up until mozdownload was uprgraded to 1.7.2 on May 13th, then it started failing with this: + mozdownload --url=https://pvtbuilds.mozilla.org/pub/mozilla.org/b2g/nightly/mozilla-b2g18-unagi-eng/latest/unagi.zip --username=rwood@mozilla.com --password=******** Downloading from: https://pvtbuilds.mozilla.org/pub/mozilla.org/b2g/nightly/mozilla-b2g18-unagi-eng/latest/unagi.zip Traceback (most recent call last): File "/var/lib/jenkins/workspace/endurance.b2g.unagi.download.pvtbuilds/.env/bin/mozdownload", line 8, in <module> load_entry_point('mozdownload==1.7.2', 'console_scripts', 'mozdownload')() File "/var/lib/jenkins/workspace/endurance.b2g.unagi.download.pvtbuilds/.env/local/lib/python2.7/site-packages/mozdownload/scraper.py", line 889, in cli build.download() File "/var/lib/jenkins/workspace/endurance.b2g.unagi.download.pvtbuilds/.env/local/lib/python2.7/site-packages/mozdownload/scraper.py", line 232, in download r = urllib2.urlopen(self.final_url) File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 406, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 519, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 444, in error return self._call_chain(*args) File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 401: Authorization Required If I manually navigate to the URL I can login fine and download fine with the same username and password (ldap). The same command worked fine in jenkins with mozdownload 1.7.1.
This is not a mozbase bug. mozdownload is hosted on github and has its own issue tracker. So please file an issue over there. https://github.com/mozilla/mozdownload
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Done, thanks Henrik
You need to log in before you can comment on or make changes to this bug.