Page MenuHomePhabricator

Wizard refuses to upload images from flickr via http
Closed, InvalidPublic

Description

Author: cometstyles

Description:
When trying to upload an image from flickr to commons via [[Special UploadWizard/Flickr]] using http, when we add the image link to the "Get from Flickr", it goes to the next step but the image just keeps on loading (in a loop).... it doesn't go any further ..only affects http version, not the https one..

The web console for the browser shows this:

GET https://api.flickr.com/services/rest/ [HTTP/1.1 200 OK 3453ms]
GET https://api.flickr.com/services/rest/ [HTTP/1.1 200 OK 1282ms]
GET http://commons.wikimedia.org/w/api.php [HTTP/1.1 200 OK 2064ms]
GET https://api.flickr.com/services/rest/ [HTTP/1.1 200 OK 547ms]
GET http://commons.wikimedia.org/w/api.php [HTTP/1.1 200 OK 985ms]
POST http://commons.wikimedia.org/w/api.php [HTTP/1.1 504 Gateway Time-out 10433ms]


Version: unspecified
Severity: normal
OS: Windows Vista
Platform: PC

Details

Reference
bz68981

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:26 AM
bzimport added a project: UploadWizard.
bzimport set Reference to bz68981.
bzimport added a subscriber: Unknown Object (MLST).

At a glance, this seems like an upload error which is not related to Flickr. Can you reproduce with the same file? Can you reproduce with a file from a different Flickr user?

And with the original user it fails all the time?
Maybe the user is blacklisted and the error message about the blacklist is not returned for some reason? The blacklist is at https://commons.wikimedia.org/wiki/User:FlickreviewR/bad-authors

cometstyles wrote:

tried it with multiple others, seems to be be affecting one user who releases all his images under (cc-by-sa) and no he is not blacklisted, probably one of the only few to release their images fully on flickr..

did the same test on test.wikipedia.org using http, same outcome

GET https://api.flickr.com/services/rest/ [HTTP/1.1 200 OK 1471ms]
GET https://api.flickr.com/services/rest/ [HTTP/1.1 200 OK 905ms]
GET https://api.flickr.com/services/rest/ [HTTP/1.1 200 OK 557ms]
POST http://commons.wikimedia.org/w/api.php [HTTP/1.1 504 Gateway Time-out 11060ms]

^
Request URL: http://commons.wikimedia.org/w/api.php
Request Method: POST
Status Code: HTTP/1.1 504 Gateway Time-out

cometstyles wrote:

Its still a problem, when on http (http://commons.wikimedia.org/wiki/Special:UploadWizard), it refuses to upload most images, it goes on a loop, nothing to do with vrowser cache, more to do with being unable to converts https API link to http ..
web console data for "POST" (http://pastebin.com/HfbLGEXm)

Gilles triaged this task as Medium priority.Nov 24 2014, 2:29 PM
Gilles subscribed.
jayvdb claimed this task.
jayvdb subscribed.

Using http urls works for me.
To make this bug report reproducible, please indicate which image is not working.