Closed
Bug 433958
Opened 18 years ago
Closed 18 years ago
Add-on upload fails with blank page or timeout error
Categories
(addons.mozilla.org Graveyard :: Developer Pages, defect)
addons.mozilla.org Graveyard
Developer Pages
Tracking
(Not tracked)
RESOLVED
FIXED
3.4.6
People
(Reporter: baz, Assigned: fligtar)
References
Details
Attachments
(1 file, 1 obsolete file)
|
775 bytes,
patch
|
wenzel
:
review+
|
Details | Diff | Splinter Review |
This is Add-on ID: 4471 (Key Manager). I have recreated this problem on Fx 3 (Minefield) on Mac OS X, Firefox 2 on Windows XP and the author has tried it on Fx 2 under Linux.
The attached file will not upload and results either in a blank page or a timeout error. I've seen both.
| Reporter | ||
Comment 1•18 years ago
|
||
Attachment is too big for Bugzilla, it's available for download @ http://people.mozilla.com/~basil/tmp/.
| Reporter | ||
Updated•18 years ago
|
Summary: Upload fails with → Add-on upload fails with blank page or timeout error
Comment 2•18 years ago
|
||
(In reply to comment #1)
> Attachment is too big for Bugzilla
That sounds like a hint in and by itself: How big is the maximum upload size at the moment? Does 1.6meg exceed that already? (CCing fligtar because he may know without even looking it up :) )
| Assignee | ||
Comment 3•18 years ago
|
||
1.6MB is an ok size normally, but because the author uploads the same file 3 times for Windows, Mac, and Linux, 4.8MB is not apparently. I tested the upload locally and everything worked fine, so I think the easiest option will be for him to just upload it once and mark it as compatible with ALL.
The other option is to use stubs and involve IT.
| Reporter | ||
Comment 4•18 years ago
|
||
Justin, I cannot upload the single 1.6MB file into my own dev panel.
| Reporter | ||
Comment 5•18 years ago
|
||
Ping. Can we get some attention on this. The add-on author cannot upload their add-on at all.
Assignee: nobody → morgamic
Comment 6•18 years ago
|
||
FYI:
I was able to upload the file FF3 version of the add-on after I removed the references to "Thunderbird 3" and "Seamonkey 2" as target applications in the install.rdf file.
On the other hand references to "Thunderbird 2" and "Seamonkey 1" does not cause the problem for FF2 version.
Comment 7•18 years ago
|
||
I am got the same blank page when tried to upload a new version of addon # 4471.
I cannot upload the add-on at all.
I have successfully uploaded older version of this same add-on 2 weeks ago. I have successfully uploaded another version (#4522) with almost identical RDF tags in install.rdf today.
| Reporter | ||
Comment 8•18 years ago
|
||
Fligtar, can we get some love for this bug? I don't have a workaround and I can't upload Subrata's add-on.
Assignee: morgamic → fligtar
| Assignee | ||
Comment 9•18 years ago
|
||
This is very strange. I can upload the add-on once or even 3 times at once (for each platform) on preview and locally and everything works fine. But in production, I can't upload it once. I thought preview and production were both behind the netscaler with the same configs, etc.
I checked the error logs and there's nothing there. Jeremy, do you have any idea why uploading this file gives a blank page in production after several minutes but works on preview and everywhere else?
http://people.mozilla.com/~jscott/temp/keymanager_amo_ff3_0_1_3_20080629.xpi
| Assignee | ||
Comment 11•18 years ago
|
||
A bug was filed over the weekend with the some problem as this one, and having both of the files helped me find what I think might be the problem. With these two files, I was able to get an SQL error in my dev copy that might be causing a blank page in production but no where else. So, this patch will fix that SQL error and hopefully we can get it in with 3.4.5 and see if this fixes the blank pages.
Attachment #328346 -
Flags: review?(fwenzel)
| Assignee | ||
Updated•18 years ago
|
Target Milestone: --- → 3.4.5
Comment 12•18 years ago
|
||
i found a workaround to upload - Using the 'new version' uploader tool (https://addons.mozilla.org/en-US/developers/add/3120) didn't work but submitting a new add-on (https://addons.mozilla.org/en-US/developers/add) and uploading the same file does recognize that it's a new version of an existing add-on and adds it to the extension. Again, this seems like a workaround but just making sure that you were all aware of it. thanks.
Comment 13•18 years ago
|
||
When uploading a file locally, I ran into the memory limit multiple times, even after upping it to 32M. I don't know how high the limit is in production, but this may well be the problem causing empty pages here?
| Assignee | ||
Comment 14•18 years ago
|
||
It's certainly possible, although I don't know why it would work on preview and not production and Jeremy's OOTO this week.
Comment 15•18 years ago
|
||
Comment on attachment 328346 [details] [diff] [review]
patch, v1
This wfm, though I cannot say if this will fix the problem. We should definitely find out what memory limit is active in production. I needed to increase the limit to 64M for it to be able to handle an extension upload 4KB (sic) in size. I can imagine how much more RAM an actual extension would take.
Is there a bug in there, like an unlimited big query?
Attachment #328346 -
Flags: review?(fwenzel) → review+
| Assignee | ||
Comment 16•18 years ago
|
||
Checked in, r16780.
It's possible there's a big query there or it could be related to extracting the xpi to read install.rdf... I am eagerly trying to get 3.5 done so the old messy code can go away.
I will leave this bug open and after it's pushed, we'll see if the upload still fails.
Status: NEW → ASSIGNED
Keywords: push-needed
Comment 17•18 years ago
|
||
So... does this stay in 3.4.5 or not?
| Assignee | ||
Comment 18•18 years ago
|
||
It can stay, unless it's not fixed. So I guess I will mark it fixed and when it's pushed if it doesn't fix the problem we can re-open and target 3.4.6.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 19•18 years ago
|
||
What is the target date for 3.4.5 going into production?
| Assignee | ||
Comment 20•18 years ago
|
||
This Thursday night.
Comment 21•18 years ago
|
||
Is AMO 3.4.5 in production?
I tried to upload the add-on and got the blank screen.
| Reporter | ||
Comment 22•18 years ago
|
||
Subrata, the push got delayed till Friday, 1:30pm Pacific time. The fix should be live on the site now - could you try it again and let us know if you are successful?
Thanks.
Comment 23•18 years ago
|
||
I have tried few more times and I have failed to upload the add-on in all those cases - I am getting the blank page.
I have used FF3/Linux and FF3/Win-XP browsers.
Comment 24•18 years ago
|
||
Moving to IT -- can someone help us determine what the bottleneck is here? What are our PHP file size config values?
Would be helpful to grab this for PHP:
upload_max_filesize
memory_limit
post_max_size
And this for Apache:
LimitRequestBody
Status: RESOLVED → REOPENED
Component: Developer Pages → Server Operations
Product: addons.mozilla.org → mozilla.org
Resolution: FIXED → ---
Target Milestone: 3.4.5 → ---
Version: 3.2 → other
| Assignee | ||
Comment 25•18 years ago
|
||
Justin was helping us in bug 444547 (same thing).
| Assignee | ||
Comment 27•18 years ago
|
||
IT: The issue that we're trying to figure out is why when uploading the add-on in comment #9 we get a blank page in production but everything works fine on preview and other dev boxes.
Assignee: fligtar → server-ops
Status: REOPENED → NEW
QA Contact: developers → justin
Comment 28•18 years ago
|
||
jeremy is going to take a look at this asap...
Comment 29•18 years ago
|
||
(In reply to comment #24)
memory_limit => 32M => 32M
post_max_size => 16M => 16M
upload_max_filesize => 32M => 32M
We don't have LimitRequestBody set, but it defaults to unlimited.
Comment 30•18 years ago
|
||
This doesn't make a lot of since, because preview is on the same servers behind the netscaler.
Comment 31•18 years ago
|
||
Are you guys seeing any errors on cm-vpn01:/var/log/clusterlogs around the time a blank page is shown?
Comment 32•18 years ago
|
||
also given comment #7 of https://bugzilla.mozilla.org/show_bug.cgi?id=444547 it appears that you can upload using other areas of addons, just not this specific page, which would indicate it's not a global upload issue.
| Assignee | ||
Comment 33•18 years ago
|
||
Narrowed this down to query results that didn't scale. This only affects extensions that support Firefox, which is why some worked. The database on preview hasn't been updated since May and it hadn't yet reached the overload point, which is why uploads worked there but not production.
Assignee: server-ops → nobody
Component: Server Operations → Developer Pages
Keywords: push-needed
Product: mozilla.org → addons.mozilla.org
QA Contact: justin → developers
Target Milestone: --- → 3.4.6
Version: other → unspecified
| Assignee | ||
Updated•18 years ago
|
Assignee: nobody → fligtar
Severity: normal → blocker
| Assignee | ||
Comment 34•18 years ago
|
||
Only return application info instead of every version that supports that application.
Attachment #328346 -
Attachment is obsolete: true
Attachment #330441 -
Flags: review?(fwenzel)
| Assignee | ||
Comment 35•18 years ago
|
||
Jeremy - any ideas why we weren't getting PHP memory limit exceeded errors in the logs?
Comment 36•18 years ago
|
||
I'm not sure.
Error reporting is set to error_reporting = E_ALL & ~E_NOTICE in php.ini. Could the app be resetting that value to something else?
Comment 37•18 years ago
|
||
Comment on attachment 330441 [details] [diff] [review]
fix query
Yes, the problems I had in comment 15 are fixed: I reduced the limit back to 16M and it still works.
Attachment #330441 -
Flags: review?(fwenzel) → review+
| Assignee | ||
Comment 38•18 years ago
|
||
Thanks, checked in r17184. Will go live with 3.4.6 on Thursday night, unless we want to try to have it applied locally before then.
Status: NEW → RESOLVED
Closed: 18 years ago → 18 years ago
Keywords: push-needed
Resolution: --- → FIXED
Updated•18 years ago
|
Keywords: push-needed
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•