Last modified: 2013-02-04 03:47:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33610, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31610 - Recurring loss of session data makes 77MB file upload fail on Wikimedia Commons
Recurring loss of session data makes 77MB file upload fail on Wikimedia Commons
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-11 14:52 UTC by folengo
Modified: 2013-02-04 03:47 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description folengo 2011-10-11 14:52:15 UTC
I have tried to upload a 77 MB file on Wikimedia Commons 2 or 3 times yesterday night and 2 or 3 times today again. Each time 100% of the file seems to upload, but at the end I obtain the "Sorry! We could not process your edit due to a loss of session data. Please try again. If it still does not work, try logging out and logging back in." message.

These attempts were made using Firefox 7, except the last one which was made using Chrome 9.0.

Uploading this file takes 1 hour and 20 minutes from my computer. I have already spent 5 or 6 hours for this upload only, without success. Is there anything I can do ?

Yesterday morning, I uploaded another file which was 78 MB and it was OK from the first time.
Comment 1 folengo 2011-10-12 13:42:19 UTC
The above was with the old upload form. With the upload wizard the upload is also failing and the error message is "Internal error: Bad token".
Comment 2 Mark A. Hershberger 2011-11-17 20:50:56 UTC
(In reply to comment #0)

> Yesterday morning, I uploaded another file which was 78 MB and it was OK from
> the first time.

Were they both the same type of file, jpg or png or ogv or ???

Would it be possible to point us to a URL of the file you were having trouble with?  If not, could you attempt to upload it as an attachment here (in the hope that Bugzilla supports files that large and has something else happening during upload)?
Comment 3 Mark A. Hershberger 2011-11-17 20:52:45 UTC
Also, give a URL to the file that you were able to upload?

(Switching component since this seems to be a general uploading problem.)
Comment 4 Sisa 2011-11-26 11:58:41 UTC
For me (Win7, Seamonkey 2.5, file type: ogv) all uploads with file sizes bigger than (about) 30 MB produce these messages too. I think the reason may be my slow upload speed (DSL 384) and the resulting long upload times. However it is no problem to transfer the files to a file hoster (and ask other users for help to transfer it from there to commons). But it would be nice to solve this issue.
Comment 5 Dovi Jacobs 2012-05-04 05:48:49 UTC
Hi, I have been having very painful upload problems at the Commons for months. I usually upload PDFs, some small (2-3M) and some large (~50M).

For months already I have not been able to upload anything larger than the 2-3M range (small files), and even those can easily take half an hour or longer.

Large files take many hours, sometimes I've left them overnight (!) and they always crash and fail in the end. I haven't uploaded a single large file in a great many months.

I've tried with both the new upload page and the old one.
Comment 6 Erik Moeller 2012-05-06 19:37:01 UTC
Hi Dovi,

are you able to successfully upload large files to other websites (e.g. YouTube, Scribd)? Can you also specify browser/OS info?

In general I'd recommend that anyone who experiences "session data" problems with large uploads try the new chunked upload user preference and see if that improves stability of your uploads: http://commons.wikimedia.org/wiki/Commons:Chunked_uploads

Note that this will only have any effect on Upload Wizard.
Comment 7 Dovi Jacobs 2012-05-08 19:59:14 UTC
::Thanks Erik. I tried chunked uploads and it didn't work. But today I uploaded from someone else's computer with a different internet provider and it worked fine: A large file uploaded in just a few minutes. So I'm beginning to think it might have something to do with my own internet. Downloads work fine, though. ~~~~
Comment 8 Tim Starling 2013-02-04 03:47:17 UTC
In 2011, it would have been possible for session storage to expire or disappear during the 1 hour it took to do an upload. Sessions are stored in Redis now, which is much more reliable than using the main memcached pool. So it's unlikely that the problem described in the original report still occurs. The issue has apparently not been re-reported since November 2011. Marking fixed.

Uploads can be slow due to network issues. Such issues are typically transient and should be reported on IRC to be isolated immediately. There's no way to debug them a year after the fact.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links