Nginx can not upload image to cloudinary (hosted in AWS)

email_ardi nginx-forum at
Thu Jul 17 12:15:11 UTC 2014


Im new in Nginx. After read few articles, i think Nginx is faster than
apache (if i'm not mistaken) 

Currently we're developing a project in apache. But when we set up a "user
acceptance test", our clients complain that our site is running slow. So we
migrate to nginx, everything seems to be ok, but when i want to upload a
file (using cloudinary), we never success. Previously when we're in apache,
this feature is ok.

we host our site in AWS

here are the log file..

any thoughts will be very helpful

2014/07/17 17:00:39 [error] 25448#0: *290 FastCGI sent in stderr: "PHP
message: PHP Fatal error:  Uncaught exception 'RequestCore_Exception' with
message 'The stream size for the streaming upload cannot be determined.' in
Stack trace:
#1 /home/ubuntu/www/mysite/core/model/aws/services/s3.class.php(723):
#2 /home/ubuntu/www/mysite/core/model/aws/services/s3.class.php(1230):
AmazonS3->authenticate('yap', Array)
#3 /home/ubuntu/www/mysite/core/model/aws/modaws.class.php(115):
AmazonS3->create_object('yap', 'reviews/ee5309f...', Array)
#4 /home/ubuntu/www/mysite/web_assets/includes/fineuploader/upload.php(85):
modAws->uploadSingle('/home/ubuntu/ww...', 'reviews/')
#5 {main}
  thrown in
on line 704" while reading response header from upstream, client:, server:, request: "POST
HTTP/1.1", upstream: "fastcgi://", host: "",
referrer: "

Posted at Nginx Forum:,251881,251881#msg-251881

More information about the nginx mailing list