Closed Bug 514155 Opened 15 years ago Closed 12 years ago

Add-on download failure comes up with. Download error -228

Categories

(Firefox :: Extension Compatibility, defect)

3.5 Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: schung08, Unassigned)

References

Details

(Whiteboard: [testday-20120615])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)

When I try to download an Add-on it comes up with Firefox could not install the file at 

https://addons.mozilla.org/en-US/firefox/downloads/latest/2497/addon-2497-latest.xpi?src=addondetail

because: Download error
-228

It also happens for other add-ons

Reproducible: Always

Steps to Reproduce:
1.try install add-on
2.
3.
Actual Results:  
same thing occurred

Expected Results:  
Downloaded and installed the add-on
I have a similar error message while trying to upgrade the Web Developer extension. My current version is 1.1.5, and its updateURL is: <em:updateURL>http://downloads.mozdev.org/webdeveloper/update.rdf</em:updateURL>

The url to download the latest version at that url is:
https://addons.mozilla.org/downloads/latest/60/addon-60-latest.xpi

At the moment, this url returns a 302 with a new location at:
https://addons.mozilla.org/en-US/downloads/latest/60/addon-60-latest.xpi

This one also returns a 302, with another location:
https://addons.mozilla.org/en-US/firefox/downloads/latest/60/addon-60-latest.xpi

This one also returns a 302, with another location:
https://addons.mozilla.org/en-US/firefox/downloads/file/56976/xpi/web_developer-1.1.8-fx+sm.xpi

Now, putting some breakpoints on all the possible spots where this DOWNLOAD_ERROR can be triggered, on my case, at least, I ended up with this stacktrace:
#0  nsXPInstallManager::OnStopRequest (this=0x7fffd8cc8060, request=0x0, ctxt=0x7ffff7ede040, status=3) at nsXPInstallManager.cpp:1209
#1  0x00007ffff5c093de in nsHttpChannel::OnStopRequest (this=0x7fffd8807400, request=0x0, ctxt=<value optimized out>, status=2152398850) at nsHttpChannel.cpp:4967
#2  0x00007ffff5ba53a3 in nsInputStreamPump::OnStateStop (this=0x7fffda99c900) at nsInputStreamPump.cpp:576
#3  0x00007ffff5ba560d in nsInputStreamPump::OnInputStreamReady (this=0x7fffda99c900, stream=0x0) at nsInputStreamPump.cpp:401
#4  0x00007ffff6302e86 in nsInputStreamReadyEvent::Run (this=0x7fffd8ce3430) at nsStreamUtils.cpp:111
#5  0x00007ffff6314ddd in nsThread::ProcessNextEvent (this=0x7ffff6c2b790, mayWait=1, result=0x7fffffff986c) at nsThread.cpp:521
#6  0x00007ffff62eb1c9 in NS_ProcessNextEvent_P (thread=0x7ffff7ede040, mayWait=0) at nsThreadUtils.cpp:250
#7  0x00007ffff626ecbd in nsBaseAppShell::Run (this=0x7fffea4872e0) at nsBaseAppShell.cpp:170
#8  0x00007ffff6147bdc in nsAppStartup::Run (this=0x7fffea4d2380) at nsAppStartup.cpp:193
#9  0x00007ffff5b3d8e8 in XRE_main (argc=<value optimized out>, argv=<value optimized out>, aAppData=<value optimized out>) at nsAppRunner.cpp:3331
#10 0x00000000004024df in main (argc=3, argv=0x7fffffffe1d8) at nsXULStub.cpp:493

status=3 is not specifically handled by nsXPInstallManager::OnStopRequest, and is NS_BINDING_REDIRECTED according to netwerk/base/public/nsNetError.h, which means, (again) at least in my case, the download error seems to be due to the multiple redirections.

Obviously, installing the file from disk after downloading it by hand, works.

Please tell me if I shall report a new bug for my issue.
I have the same for the plugin's and tried with different ones: Adblock Plus and ReminderFox.

Error:
Firefox could not install the file at 
https://addons.mozilla.org/en-US/firefox/downloads/latest/1865/addon-1865-latest.xpi?src=search
because: Download error
-228

Firefox version v3.5.7

Location: Australia


I guess it could be a mirror issue, I get an empty Http page delivered when hitting this address. My home computer the same.
Version: unspecified → 3.5 Branch
I was not able to replicate this bug using Nightly 16.0a1 (2012-06-14) and Windows 7(x86_64).  The stated add-ons (CookieSafe, Adblock plus, and ReminderFox) download and install without issue.
I downloaded these add-ons (CookieSafe, Adblock plus, and ReminderFox) and they download and install without issue and nothing wrong, working Ok..! using Nightly 16.0a1 (2012-06-15) and Windows 7(x86_64) the same thing as Ross.
These problems are temporary for the most part, so it is best that you post them to the AMO Forum: https://forums.mozilla.org/addons/viewforum.php?f=20. Us admins can take care of them fairly quickly.

If there are any of you currently experiencing any such problems, I'll be happy to look into them.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Whiteboard: [testday-20120615]
You need to log in before you can comment on or make changes to this bug.