NginxHttpUploadProgressModule constantly hangs

Hello,

Ive been trying to get this module to work for days now.
It works, sorta.

It consistently makes it about 1.3 megs and then freezes.
Ive looked at hundreds of nginx.conf file, have set every parameter
known to man in that file and in php.ini.
Im away of just about every issue out there I think, at this point.

But the progress bar still freezes at around 1.3 megs. Its made it as
far as 3 megs. Sometimes it freezes at 500K.

The other peculiar thing is, when the progress bar freezes, it still
seems to be uploading.
Then if I click on a bookmark in firefox to go to google, the progress
bar will make a sudden jump, correcting itself to its REAL position just
before the page changes. Same freeze occurs in IE.

I even downgraded nginx to version 0.6.30, which was the latest tested
with NginxHttpUploadProgressModule.
Still no difference. Im using fastcgi to PHP 5.3.1.

If have set all timeouts high, all max_client_body size type stuff BIG,
etc.

Obviously, since it does work for a bit, most of the params have to be
right. But it gets stuck.

I have run out of ideas, but need to upload 30 meg video files WITH a
progress bar.
Otherwise I will have to switch to apache and I really dont want to do
that.

Heeeeeelp… im pulling all my hair out after many days of searching
google for clues and looking at hundres of nginx conf files.

Any ideas? Anything else I can try?

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,47648,47648#msg-47648

PS: The upload does indeed finish successfully, but the progress bar
gets stuck after 1.3 to 1.4 megs are uploaded

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,47648,47681#msg-47681

UPDATE: May not be an nginx issue at all.

I did an experiment using a fixed X-Progress-ID so I could monitor the
/progress url from another computer as I uploaded from my main computer.

Seems the hang up occurs within the AJAX request.
The ajax request fails every Xth request so the progress meter in the
browser hangs.
However, if I just use a http meta refresh so that the javascript call
is made anew every time, then I can get the progress.

Not sure what is hanging up the javascript when polling for progress in
a loop, but I can work around it

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,47648,47739#msg-47739

Hi,

On Sat, 2010-01-30 at 07:46 -0500, nginxhound wrote:

But the progress bar still freezes at around 1.3 megs. Its made it as
Still no difference. Im using fastcgi to PHP 5.3.1.
that.

Heeeeeelp… im pulling all my hair out after many days of searching
google for clues and looking at hundres of nginx conf files.

Any ideas? Anything else I can try?

If you have any bug with this module, please a new issue at:
http://github.com/masterzen/nginx-upload-progress-module/issues

Make sure to enclose the full debug log (you need to compile nginx with
–with-debug).

Also, make sure this isn’t an issue with your javascript. If unsure
please use something like:
http://github.com/drogus/jquery-upload-progress
or
http://github.com/drogus/prototype-upload-progress
which are proven to work fine.

Thanks,

Brice F.
My Blog: http://www.masterzen.fr/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs