10 messages in ru.sysoev.nginxRe: 500 error on multipart POST, no e...
FromSent OnAttachments
Jonathan VanascoJul 29, 2008 3:27 pm 
Jonathan VanascoJul 29, 2008 3:37 pm 
Aníbal RojasJul 29, 2008 4:10 pm 
Jonathan VanascoJul 29, 2008 4:28 pm 
jeff emmingerJul 30, 2008 5:40 am 
Igor SysoevJul 30, 2008 5:53 am 
Igor SysoevJul 30, 2008 5:54 am 
Jonathan VanascoJul 30, 2008 10:40 am 
Jonathan VanascoJul 30, 2008 11:03 am 
Igor SysoevJul 30, 2008 12:00 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: 500 error on multipart POST, no error logActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Jul 30, 2008 5:53:30 am
List:ru.sysoev.nginx

On Tue, Jul 29, 2008 at 06:27:25PM -0400, Jonathan Vanasco wrote:

I can't figure this out... ( nginx/0.6.31 )

my server{} block has this

access_log /var/log/nginx/SITE/dev.SITE.com-access.log main; error_log /var/log/nginx/SITE/dev.SITE.com-error.log ;

location ~ "^/(_img|_css|_js)" { root /home/SITE/_current-web; }

location ~ "^/" { proxy_pass http://127.0.0.1:5001; }

When trying to upload an image to the ProxyPass, I get an 500 Internal Server Error .. but nothing goes to the error log

the access log tells me:

24.239.177.95 - jonathan [29/Jul/2008:22:11:49 +0000] 500 "POST / admin HTTP/1.1" 193 "http://dev.SITE.com/admin/?m=add_edit_image" "Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/ 525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22" "-" "cookie =cookie_val; cooki=cookie_val"

I'm probably doing something wrong , but there's no error to point me in the right direction. the site works fine locally (without nginx proxying). there just seems to be something on the post through NGINX that screws things up.

Do you see nginx's signature in 500 error page ?