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)

defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: baz, Assigned: fligtar)

References

Details

Attachments

(1 file, 1 obsolete file)

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.
Attachment is too big for Bugzilla, it's available for download @ http://people.mozilla.com/~basil/tmp/.
Summary: Upload fails with → Add-on upload fails with blank page or timeout error
(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 :) )
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.
Justin, I cannot upload the single 1.6MB file into my own dev panel.
Ping. Can we get some attention on this. The add-on author cannot upload their add-on at all.
Assignee: nobody → morgamic
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.
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.
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
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
Attached patch patch, v1 (obsolete) — — Splinter Review
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)
Target Milestone: --- → 3.4.5
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.
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?
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 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+
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
So... does this stay in 3.4.5 or not?
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
What is the target date for 3.4.5 going into production?
This Thursday night.
Is AMO 3.4.5 in production? I tried to upload the add-on and got the blank screen.
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.
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.
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
Justin was helping us in bug 444547 (same thing).
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
jeremy is going to take a look at this asap...
(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.
This doesn't make a lot of since, because preview is on the same servers behind the netscaler.
Are you guys seeing any errors on cm-vpn01:/var/log/clusterlogs around the time a blank page is shown?
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.
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: nobody → fligtar
Severity: normal → blocker
Attached patch fix query — — Splinter Review
Only return application info instead of every version that supports that application.
Attachment #328346 - Attachment is obsolete: true
Attachment #330441 - Flags: review?(fwenzel)
Jeremy - any ideas why we weren't getting PHP memory limit exceeded errors in the logs?
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 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+
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
Keywords: push-needed
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: