Closed (fixed)
Project:
Flickr
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2014 at 17:17 UTC
Updated:
28 Feb 2015 at 11:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ladybug_3777 commentedComment #2
ladybug_3777 commentedComment #3
lolandese commentedTry the latest dev version. This should be solved recently in #2295241: Unable to contact flickr and retrieve the pictures (try to use cURL when drupal_http_request returns a 403, forbidden).
Select the checkbox 'Use 'cURL' instead of 'stream_socket_client (drupal_http_request)' (Otherwise cURL will be only used as fallback when the usual method returns a 403 (forbidden)).
Feedback on it is very welcome.
Comment #4
ladybug_3777 commentedGreat! I will give your suggestion a try and report back. Thanks!
Comment #5
ladybug_3777 commentedInstalled dev, selected the checkbox and everything is working as expected again! Thank you for your help lolandese!
Comment #6
ladybug_3777 commentedComment #7
lolandese commentedHi Jennifer,
We would like to know a couple of additional things:
Thanks.
Some more background info: http://pingv.com/blog/better-getter
The library itself is unrelated.
Comment #8
lolandese commentedComment #9
ladybug_3777 commentedI will provide you with more information likely on Monday. I work on the Windows machines here (which did not have this issue) and my coworker is in charge of the CentOS box. He's out today but I will have him check these items for you when he returns. I do know that after installing the dev version he forgot to check the checkbox and the original error listed in my first post was still being displayed. After checking the box it went away. Our host is not a free one, we actually work for a big name client that deals with large security threats on a daily basis so they have things locked down quite a bit which may explain why we had an issue. I'll check back in with you next week, and thanks again for being so prompt and so helpful!
Comment #10
dhewitt commentedThe unix flavor is CentOS release 5.11 in this case. Not sure if that helps.
Comment #11
lolandese commentedNot sure if the reported error message corresponds to an HTTP status code that we could use to trigger cURL as a connection method as is currently done with a 403 or 408.
Alternatively we could maybe fallback to cURL in any case that the 'open socket' method fails, independent from any returned error code? Meanwhile patches as such are welcome.
I' m glad that the checkbox to force use cURL solved your problem for now.
Comment #12
lolandese commentedComment #13
lolandese commentedComment #14
lolandese commentedComment #15
lolandese commentedAttached patch contains:
Comment #17
lolandese commented