Welcome! Log In Create A New Profile

Advanced

Re: Getting 502 bad gateway on uploading a file

October 12, 2011 07:40AM
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

On Wed, Oct 12, 2011 at 19:28, Maxim Dounin <mdounin@mdounin.ru> wrote:
> Hello!
>
> On Tue, Oct 11, 2011 at 06:01:46PM -0700, Michael Shadle wrote:
>
>> Trying to upload a small .png to Drupal. PHP 5.3.8, CentOS 5.6 x64, nginx 1.1.3
>>
>> Everything else seems to work fine, but can't seem to get any deeper
>> information as to why anything is getting messed up. Not sure if the
>> debug log has any hints or not.
>>
>> (note I also tried nginx 1.0.8) - does this debug log help with
>> anything? or is this "probably PHP"?
>>
>> http://pastebin.com/E1kDBegW
>
> The "recv() failed (104: Connection reset by peer) while reading
> response header from upstream" message suggests PHP closed
> connection for some reason (died?) right after nginx sent request
> to it.  Looking more closes on php side is a way to go.
>
> Maxim Dounin
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>

_______________________________________________
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: 217
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