Welcome! Log In Create A New Profile

Advanced

Re: Getting 502 bad gateway on uploading a file

October 12, 2011 02:12PM
2011/10/12 Maxim Dounin <mdounin@mdounin.ru>:

>> if you are using php-fpm over fastcgi i would guess its due to fpm's
>> request_terminate_timeout because the upload took too long
>
> Very unlikely, as everything happens within 1 second.
>
> 2011/10/11 17:55:34 [debug] 2505#0: *1 http request line: "POST ...
> ...
> 2011/10/11 17:55:34 [error] 2505#0: *1 recv() failed (104: Connection reset by peer) ...

Exactly - this happens *immediately* like it doesn't even try...

Alright well if the logs don't give you any clue from the nginx side,
I'll have to try to figure out the PHP side now :)

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Getting 502 bad gateway on uploading a file

mike October 11, 2011 09:02PM

Re: Getting 502 bad gateway on uploading a file

Maxim Dounin October 12, 2011 07:30AM

Re: Getting 502 bad gateway on uploading a file

replay October 12, 2011 07:40AM

Re: Getting 502 bad gateway on uploading a file

Maxim Dounin October 12, 2011 08:30AM

Re: Getting 502 bad gateway on uploading a file

mike October 12, 2011 02:12PM

Re: Getting 502 bad gateway on uploading a file

Jim Ohlstein October 12, 2011 02:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 301
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