When attempting to add an effect to an image style with the AmazonS3 module enabled/configured, the page request is made and waits for response, but never completes and does not time out.

I encountered this problem when troubleshooting an exception thrown during the same workflow by curl via the AWS PHP library. The workaround that I found for that was setting AWS_DISABLE_CONFIG_AUTO_DISCOVERY = TRUE.

Some potentially relevant details:

  • Ubuntu
  • PHP 5.5
  • curl 7.22
  • PHP max_execution_time = 30
  • AmazonS3 module is working in the context of when I add a file to an image field is successfully uploaded/displayed via S3.

screenshot

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

markdorison’s picture

Title: Unable to create add effects to image styles » Attempting to add effects to image styles causes hang
bntsmk’s picture

I'm facing this same issue
using OSX 10.9.3, PHP 5.3, curl 7.30

justafish’s picture

what's your amzons3 setup? Is it configured for sitewide usage or just per field?

markdorison’s picture

@justafish Sitewide usage.

dansanjou’s picture

Same issue for me. I tried with Sitewide usage and per field but the problem persists when trying to create/update an image style.

Using:
AmazonS3: 7.x-1.0

Server:
RedHat
curl: 7.19.7
PHP: 5.3.3

johnkareoke’s picture

Same issue for me. Finding it difficult to troubleshoot as it doesn't throw out any errors in the log.

  • Server Ubuntu 12.04
  • PHP Version 5.4.30-1+deb.sury.org~precise+1
  • Apache 2.2.22
  • GD library rotate and desaturate effects 2.0.36
  • AWSSDK 1.6.2
  • AmazonS3 allow_url_fopen

Sitewide usage of AmazonS3.

Haven't yet done it, but considered disabling the module, creating the style, and re-enabling?

markdorison’s picture

@johncarolin Yes, that is the work-around we are using for now.

onepartscissors’s picture

Hi @markdorison

Working with @johncarolin on his website - i disables AmazonS3 and made the edits to the imagecache styles, and then re-enabled AmazonS3, but the images aren't being created any longer - did try clear caches and so forth, still nothing.

Also, when i go into imagecache now, i can even see the preview of the style isn't being rendered at all. If i open one of the imagecache's images directly, it gives me a '403 forbidden'.

Any ideas how we can get a more permanent/reliable fix to the module?

Thanks,

aryashreep’s picture

@markdorison have you installed mod_pagespeed module for Apache?

jonhines’s picture

I was having this issue but it was resolved when I upgraded to v7.x-1.1. It may have been resolved as part of another issue.

keva’s picture

Updating to Amazons3 7.x-1.1 solved the issue for me also.

Liam McDermott’s picture

Status: Active » Fixed

Marking this as fixed for now, please re-open if you're seeing this issue with version 7.x-1.1 (or greater).

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.