It has been reported on Commons Village Pump that some uploads are failing.
@Josve05a did a quick test and got these errors in console, showing 500 and 503s:
zhuyifei1999 | |
Mar 17 2016, 1:00 PM |
F3649541: Screenshot 2016-03-17 at 13.48.32 - Edited.png | |
Mar 17 2016, 1:00 PM |
It has been reported on Commons Village Pump that some uploads are failing.
@Josve05a did a quick test and got these errors in console, showing 500 and 503s:
These errors are just failures to generate the thumbnails and should not interfere with uploads, perhaps there's something else going on (I'll reply on Commons). I could reproduce these reliably with a big JPG file, and unreliably with some SVGs. (Small non-SVG files are thumbnailed client-side by UploadWizard.)
i have been asked to check logs. this is from oxygen /srv/log/webrequests/5xx.json where that filename appears. all the same IP that should be matmarex.
{"hostname":"cp3009.esams.wmnet","sequence":3049221719,"dt":"2016-03-17T17:34:20","time_firstbyte":5.546011209,"ip":"91.218.200.230","cache_status":"miss","http_status":"500","response_size":286,"http_method":"GET","uri_host":"commons.wikimedia.org","uri_path":"/wiki/Special:UploadStash/thumb/13vu5jeqv2as.6m2ump.239936.jpg/100px-13vu5jeqv2as.6m2ump.239936.jpg","uri_query":"","content_type":"text/html; charset=utf-8","referer":"https://commons.wikimedia.org/wiki/Special:UploadWizard?debug=1","x_forwarded_for":"91.218.200.230","user_agent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 OPR/36.0.2130.29 (Edition beta)","accept_language":"en-US,en;q=0.8","x_analytics":"WMF-Last-Access=17-Mar-2016;https=1","range":"-","x_cache":"cp1065 miss(0), cp3003 miss(0), cp3009 frontend miss(0)"} {"hostname":"cp3009.esams.wmnet","sequence":3049233242,"dt":"2016-03-17T17:34:27","time_firstbyte":6.065303087,"ip":"91.218.200.230","cache_status":"miss","http_status":"503","response_size":871,"http_method":"GET","uri_host":"commons.wikimedia.org","uri_path":"/wiki/Special:UploadStash/thumb/13vu5jeqv2as.6m2ump.239936.jpg/100px-13vu5jeqv2as.6m2ump.239936.jpg","uri_query":"","content_type":"text/html; charset=utf-8","referer":"https://commons.wikimedia.org/wiki/Special:UploadWizard?debug=1","x_forwarded_for":"91.218.200.230","user_agent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 OPR/36.0.2130.29 (Edition beta)","accept_language":"en-US,en;q=0.8","x_analytics":"WMF-Last-Access=17-Mar-2016;https=1","range":"-","x_cache":"cp1065 miss+chfp(0), cp3003 miss(0), cp3009 frontend miss(0)"} {"hostname":"cp3009.esams.wmnet","sequence":3049238144,"dt":"2016-03-17T17:34:29","time_firstbyte":2.473597288,"ip":"91.218.200.230","cache_status":"miss","http_status":"503","response_size":871,"http_method":"GET","uri_host":"commons.wikimedia.org","uri_path":"/wiki/Special:UploadStash/thumb/13vu5jeqv2as.6m2ump.239936.jpg/100px-13vu5jeqv2as.6m2ump.239936.jpg","uri_query":"","content_type":"text/html; charset=utf-8","referer":"-","x_forwarded_for":"91.218.200.230","user_agent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 OPR/36.0.2130.29 (Edition beta)","accept_language":"en-US,en;q=0.8","x_analytics":"WMF-Last-Access=17-Mar-2016;https=1","range":"-","x_cache":"cp1065 miss+chfp(0), cp3003 miss(0), cp3009 frontend miss(0)"} {"hostname":"cp3009.esams.wmnet","sequence":3049242981,"dt":"2016-03-17T17:34:32","time_firstbyte":4.801492214,"ip":"91.218.200.230","cache_status":"miss","http_status":"503","response_size":872,"http_method":"GET","uri_host":"commons.wikimedia.org","uri_path":"/wiki/Special:UploadStash/thumb/13vu5jeqv2as.6m2ump.239936.jpg/100px-13vu5jeqv2as.6m2ump.239936.jpg","uri_query":"","content_type":"text/html; charset=utf-8","referer":"https://commons.wikimedia.org/wiki/Special:UploadWizard?debug=1","x_forwarded_for":"91.218.200.230","user_agent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 OPR/36.0.2130.29 (Edition beta)","accept_language":"en-US,en;q=0.8","x_analytics":"WMF-Last-Access=17-Mar-2016;https=1","range":"-","x_cache":"cp1065 miss+chfp(0), cp3003 miss(0), cp3009 frontend miss(0)"} {"hostname":"cp3009.esams.wmnet","sequence":3049248942,"dt":"2016-03-17T17:34:35","time_firstbyte":2.482312202,"ip":"91.218.200.230","cache_status":"miss","http_status":"503","response_size":872,"http_method":"GET","uri_host":"commons.wikimedia.org","uri_path":"/wiki/Special:UploadStash/thumb/13vu5jeqv2as.6m2ump.239936.jpg/100px-13vu5jeqv2as.6m2ump.239936.jpg","uri_query":"","content_type":"text/html; charset=utf-8","referer":"https://commons.wikimedia.org/wiki/Special:UploadWizard?debug=1","x_forwarded_for":"91.218.200.230","user_agent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 OPR/36.0.2130.29 (Edition beta)","accept_language":"en-US,en;q=0.8","x_analytics":"WMF-Last-Access=17-Mar-2016;https=1","range":"-","x_cache":"cp1065 miss+chfp(0), cp3003 miss(0), cp3009 frontend miss(0)"} {"hostname":"cp3009.esams.wmnet","sequence":3049255230,"dt":"2016-03-17T17:34:38","time_firstbyte":2.475832701,"ip":"91.218.200.230","cache_status":"miss","http_status":"503","response_size":872,"http_method":"GET","uri_host":"commons.wikimedia.org","uri_path":"/wiki/Special:UploadStash/thumb/13vu5jeqv2as.6m2ump.239936.jpg/100px-13vu5jeqv2as.6m2ump.239936.jpg","uri_query":"","content_type":"text/html; charset=utf-8","referer":"https://commons.wikimedia.org/wiki/Special:UploadWizard?debug=1","x_forwarded_for":"91.218.200.230","user_agent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 OPR/36.0.2130.29 (Edition beta)","accept_language":"en-US,en;q=0.8","x_analytics":"WMF-Last-Access=17-Mar-2016;https=1","range":"-","x_cache":"cp1065 miss+chfp(0), cp3003 miss(0), cp3009 frontend miss(0)"} {"hostname":"cp3009.esams.wmnet","sequence":3049262761,"dt":"2016-03-17T17:34:42","time_firstbyte":2.376269341,"ip":"91.218.200.230","cache_status":"miss","http_status":"503","response_size":871,"http_method":"GET","uri_host":"commons.wikimedia.org","uri_path":"/wiki/Special:UploadStash/thumb/13vu5jeqv2as.6m2ump.239936.jpg/100px-13vu5jeqv2as.6m2ump.239936.jpg","uri_query":"","content_type":"text/html; charset=utf-8","referer":"https://commons.wikimedia.org/wiki/Special:UploadWizard?debug=1","x_forwarded_for":"91.218.200.230","user_agent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 OPR/36.0.2130.29 (Edition beta)","accept_language":"en-US,en;q=0.8","x_analytics":"WMF-Last-Access=17-Mar-2016;https=1","range":"-","x_cache":"cp1065 miss+chfp(0), cp3003 miss(0), cp3009 frontend miss(0)"} .. {"hostname":"cp3009.esams.wmnet","sequence":3050266989,"dt":"2016-03-17T17:43:39","time_firstbyte":2.547093153,"ip":"91.218.200.230","cache_status":"miss","http_status":"503","response_size":872,"http_method":"GET","uri_host":"commons.wikimedia.org","uri_path":"/wiki/Special:UploadStash/thumb/13vu5jeqv2as.6m2ump.239936.jpg/100px-13vu5jeqv2as.6m2ump.239936.jpg","uri_query":"","content_type":"text/html; charset=utf-8","referer":"-","x_forwarded_for":"91.218.200.230","user_agent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 OPR/36.0.2130.29 (Edition beta)","accept_language":"en-US,en;q=0.8","x_analytics":"WMF-Last-Access=17-Mar-2016;https=1","range":"-","x_cache":"cp1065 miss+chfp(0), cp3003 miss(0), cp3009 frontend miss(0)"} {"hostname":"cp3009.esams.wmnet","sequence":3050290796,"dt":"2016-03-17T17:43:52","time_firstbyte":2.638962746,"ip":"91.218.200.230","cache_status":"miss","http_status":"503","response_size":871,"http_method":"GET","uri_host":"commons.wikimedia.org","uri_path":"/wiki/Special:UploadStash/thumb/13vu5jeqv2as.6m2ump.239936.jpg/100px-13vu5jeqv2as.6m2ump.239936.jpg","uri_query":"","content_type":"text/html; charset=utf-8","referer":"-","x_forwarded_for":"91.218.200.230","user_agent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 OPR/36.0.2130.29 (Edition beta)","accept_language":"en-US,en;q=0.8","x_analytics":"WMF-Last-Access=17-Mar-2016;https=1","range":"-","x_cache":"cp1065 miss+chfp(0), cp3003 miss(0), cp3009 frontend miss(0)"} {"hostname":"cp3009.esams.wmnet","sequence":3051249107,"dt":"2016-03-17T17:52:24","time_firstbyte":2.449830055,"ip":"91.218.200.230","cache_status":"miss","http_status":"503","response_size":872,"http_method":"GET","uri_host":"commons.wikimedia.org","uri_path":"/wiki/Special:UploadStash/thumb/13vu5jeqv2as.6m2ump.239936.jpg/100px-13vu5jeqv2as.6m2ump.239936.jpg","uri_query":"","content_type":"text/html; charset=utf-8","referer":"-","x_forwarded_for":"91.218.200.230","user_agent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 OPR/36.0.2130.29 (Edition beta)","accept_language":"en-US,en;q=0.8","x_analytics":"WMF-Last-Access=17-Mar-2016;https=1","range":"-","x_cache":"cp1065 miss+chfp(0), cp3003 miss(0), cp3009 frontend miss(0)"} {"hostname":"cp3009.esams.wmnet","sequence":3052200290,"dt":"2016-03-17T18:00:45","time_firstbyte":2.939506531,"ip":"91.218.200.230","cache_status":"miss","http_status":"503","response_size":872,"http_method":"GET","uri_host":"commons.wikimedia.org","uri_path":"/wiki/Special:UploadStash/thumb/13vu5jeqv2as.6m2ump.239936.jpg/100px-13vu5jeqv2as.6m2ump.239936.jpg","uri_query":"","content_type":"text/html; charset=utf-8","referer":"-","x_forwarded_for":"91.218.200.230","user_agent":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 OPR/36.0.2130.29 (Edition beta)","accept_language":"en-US,en;q=0.8","x_analytics":"WMF-Last-Access=17-Mar-2016;https=1","range":"-","x_cache":"cp1065 miss+chfp(0), cp3003 miss(0), cp3009 frontend miss(0)"}
also check backend logs on fluorine but can't find "UploadStash" related issues in exception.log or fatal.log, except this single one:
2016-03-17 11:39:20 mw1200 commonswiki 1.27.0-wmf.17 exception ERROR: [d1f325d3] /w/api.php?action=query&format=json&prop=stashimageinfo&siifilekey=13vted7b2nlk%2Exchznz%2E79828%2Ejpg&siiprop=url&siiurlwidth=100&siiurlheight=100 UploadStashNotLoggedInException from line 126 of /srv/mediawiki/php-1.27.0-wmf.17/includes/upload/UploadStash.php: UploadStash::getFile No user is logged in, files must belong to users {"exception_id":"d1f325d3"} [Exception UploadStashNotLoggedInException] (/srv/mediawiki/php-1.27.0-wmf.17/includes/upload/UploadStash.php:126) UploadStash::getFile No user is logged in, files must belong to users #0 /srv/mediawiki/php-1.27.0-wmf.17/includes/api/ApiQueryStashImageInfo.php(57): UploadStash->getFile(string)
2016-03-17 11:39:20 mw1200 commonswiki 1.27.0-wmf.17 exception ERROR: [d1f325d3] /w/api.php?action=query&format=json&prop=stashimageinfo&siifilekey=13vted7b2nlk%2Exchznz%2E79828%2Ejpg&siiprop=url&siiurlwidth=100&siiurlheight=100 UploadStashNotLoggedInException from line 126 of /srv/mediawiki/php-1.27.0-wmf.17/includes/upload/UploadStash.php: UploadStash::getFile No user is logged in, files must belong to users {"exception_id":"d1f325d3"} [Exception UploadStashNotLoggedInException] (/srv/mediawiki/php-1.27.0-wmf.17/includes/upload/UploadStash.php:126) UploadStash::getFile No user is logged in, files must belong to users #0 /srv/mediawiki/php-1.27.0-wmf.17/includes/api/ApiQueryStashImageInfo.php(57): UploadStash->getFile(string) #1 /srv/mediawiki/php-1.27.0-wmf.17/includes/api/ApiQuery.php(250): ApiQueryStashImageInfo->execute() #2 /srv/mediawiki/php-1.27.0-wmf.17/includes/api/ApiMain.php(1359): ApiQuery->execute() #3 /srv/mediawiki/php-1.27.0-wmf.17/includes/api/ApiMain.php(462): ApiMain->executeAction() #4 /srv/mediawiki/php-1.27.0-wmf.17/includes/api/ApiMain.php(433): ApiMain->executeActionWithErrorHandling() #5 /srv/mediawiki/php-1.27.0-wmf.17/api.php(83): ApiMain->execute() #6 /srv/mediawiki/w/api.php(3): include(string) #7 {main}
@Dzahn @ori I split off this error to T130253: UploadStash::getFile No user is logged in, files must belong to users, I think it's unrelated.
The content-type is image/png, so there is no point in gzipping, but the backend sends a gzipped-encoded response anyhow.
Mentioned in SAL [2016-03-17T22:14:27Z] <ori@tin> Synchronized php-1.27.0-wmf.17/includes/specials/SpecialUploadStash.php: Debug code for T130204 (duration: 00m 28s)
Mentioned in SAL [2016-03-17T22:17:39Z] <ori@tin> Synchronized php-1.27.0-wmf.17/includes/specials/SpecialUploadStash.php: Revert: Debug code for T130204 (it worked!) (duration: 00m 25s)
Change 278168 had a related patch set uploaded (by Bartosz Dziewoński):
SpecialUploadStash: Disable output gzipping when outputting remove scaled thumb
Change 278168 merged by jenkins-bot:
SpecialUploadStash: Disable output gzipping when outputting remove scaled thumb
Change 278190 had a related patch set uploaded (by Ori.livneh):
SpecialUploadStash: Disable output gzipping when outputting remove scaled thumb
Change 278190 merged by jenkins-bot:
SpecialUploadStash: Disable output gzipping when outputting remove scaled thumb
I don't think so. I'm pretty sure this was broken for just a few days at most, that bug is from last year.
There's actually an UploadWizard-specific bit here, see T130437. That only affects Internet Explorer, other browsers should not be running into this naymore.