I have an image field with the upload destination set to Amazon S3. When I try to upload an image file, the upload stalls with the ajax throbber spinning (refer attached screenshot). I can't create the content type because of this, but when I check the S3 bucket, the file is already there.

CommentFileSizeAuthor
Create_Article___Developer_Playground.png15.14 KBhuijing
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jordan8037310’s picture

I also ran into this issue. This has less to do with the settings of the application and more to do with the server configuration settings. What is happening is your upload gets sent to S3 after being locally cached on the server. Then your mysqld is likely timing out while the server waits for a response from S3.

I had to increase the timeout configuration settings for my.cnf on my server in order to avoid this problem. Similar optimizations were made to php.ini and for fcgid timeout repsonses.

Another option is to try amazons3_cors which should bypass the timeout issues.

deviantintegral’s picture

Status: Active » Fixed

I've tested uploading very large (768MB) files on the 7.x-2.x branch, and it works as expected assuming PHP (and MySQL) is configured correctly. As well, image styles have been rewritten to both be simpler and faster, so anything there should now be fixed.

If you have trouble against that branch, feel free to reopen this.

Status: Fixed » Closed (fixed)

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