Welcome! Log In Create A New Profile

Advanced

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

July 17, 2014 08:15AM
Hi,

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 /home/ubuntu/www/mysite/core/model/aws/lib/requestcore/requestcore.class.php:704
Stack trace:
#0 /home/ubuntu/www/mysite/core/model/aws/lib/requestcore/requestcore.class.php(819): RequestCore->prep_request()
#1 /home/ubuntu/www/mysite/core/model/aws/services/s3.class.php(723): RequestCore->send_request()
#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 /home/ubuntu/www/mysite/core/model/aws/lib/requestcore/requestcore.class.php on line 704" while reading response header from upstream, client: 118.137.4.63, server: mysite.com, request: "POST /web_assets/includes/fineuploader/upload.php?qquuid=ccb8962f-347b-4d33-8c37-865f29983981&qqtotalfilesize=6562&qqfile=not+jack+sparrow.jpg HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.mysite.com", referrer: "
Subject Author Posted

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

email_ardi July 17, 2014 08:15AM

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

Francis Daly July 18, 2014 10:46AM

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

taragano July 20, 2014 05:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 143
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready