Page MenuHomePhabricator
Paste P2685

No chunked upload session with this key
ActivePublic

Authored by zhuyifei1999 on Feb 29 2016, 9:05 AM.
Tags
None
Referenced Files
F3452321: No chunked upload session with this key
Feb 29 2016, 9:05 AM
Subscribers
None
[2016-02-28 10:48:30,040: WARNING/Worker-11] -1: Uploading...
[2016-02-28 10:48:30,524: INFO/Worker-11] Sleeping for 9.1 seconds, 2016-02-28 10:48:30
[2016-02-28 10:49:06,740: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:49:29,870: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:49:52,369: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:50:17,824: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:50:42,077: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:51:04,521: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:51:27,871: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:51:48,629: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:52:11,812: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:52:37,152: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:53:00,429: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:53:21,620: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:53:42,046: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:54:02,630: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:54:28,309: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:54:51,963: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:55:16,548: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:55:38,725: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:55:59,289: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:58:15,136: WARNING/Worker-11] Http response status 503
[2016-02-28 10:58:15,137: VERBOSE/Worker-11] Http response doesn't contain a charset.
[2016-02-28 10:58:15,139: WARNING/Worker-11] Non-JSON response received from server commons:commons; the server may be down.
[2016-02-28 10:58:15,139: WARNING/Worker-11] Waiting 5 seconds before retrying.
[2016-02-28 10:58:20,146: VERBOSE/Worker-11] Submitting unthrottled action 'upload'.
[2016-02-28 10:58:37,444: WARNING/Worker-11] API error stashfailed: No chunked upload session with this key
[2016-02-28 10:58:37,445: VERBOSE/Worker-11] API Error: query=
u"{u'ignorewarnings': [False], u'maxlag': ['5'], u'format': [u'json'], u'filekey': [u'13ua5xnevmjo.z9d9a.14108.ogx'], u'stash': [True], u'filename': [u'1924 \\u0421\\u0442\\u0430\\u0447\\u043a\\u0430.ogv'], u'assert': [u'user'], u'token': [u'5b5139<REDACTED>56d2d07e+\\\\'], u'filesize': [1337930716], u'offset': [1275068416], u'action': [u'upload']}"
[2016-02-28 10:58:37,445: VERBOSE/Worker-11] response=
{u'servedby': u'mw1126', u'error': {u'info': u'No chunked upload session with this key', u'code': u'stashfailed', u'help': u'See https://commons.wikimedia.org/w/api.php for API usage'}}
[2016-02-28 10:58:37,449: WARNING/Worker-11] -1: Cleaning up...
[2016-02-28 10:58:38,040: ERROR/MainProcess] Task worker.main[fac03c09-ead7-401d-8ac9-b3e442ace1cf] raised unexpected: TaskError('pywikibot.Error: APIError: stashfailed: No chunked upload session with this key [help:See https://commons.wikimedia.org/w/api.php for API usage]',)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 438, in __protected_call__
return self.run(*args, **kwargs)
File "/srv/v2c/backend/worker.py", line 77, in main
filename, wikifileurl = upload.upload(file, filename, url, http_host, filedesc, username, statuscallback, errorcallback)
File "/srv/v2c/backend/upload/__init__.py", line 49, in upload
if site.upload(page, source_filename=filename, comment=comment, text=filedesc, chunk_size=chunked, ignore_warnings=['exists-normalized']):
File "/usr/local/lib/python2.7/dist-packages/pywikibot-3.0.dev0-py2.7.egg/pywikibot/tools/__init__.py", line 1357, in wrapper
return obj(*__args, **__kw)
File "/usr/local/lib/python2.7/dist-packages/pywikibot-3.0.dev0-py2.7.egg/pywikibot/site.py", line 5799, in upload
raise error
TaskError: pywikibot.Error: APIError: stashfailed: No chunked upload session with this key [help:See https://commons.wikimedia.org/w/api.php for API usage]