Welcome! Log In Create A New Profile

Advanced

Re: NginxHttpUploadProgressModule received and size are the same

Brice Figureau
February 26, 2010 10:08AM
Hi,

On Fri, 2010-02-26 at 08:53 -0500, fredanthony wrote:
> Hi, I am having a weird issue. It seems I have everything up and working with the NginxHttpUploadProgressModule, however, when I upload a file and attempt to track the progress I get the expected response but the received is the same as the size:
>
> new Object({ 'state' : 'starting' })
> new Object({ 'state' : 'uploading', 'received' : 4505554, 'size' : 4505554 })
> new Object({ 'state' : 'uploading', 'received' : 4505554, 'size' : 4505554 })
> new Object({ 'state' : 'uploading', 'received' : 4505554, 'size' : 4505554 })
> new Object({ 'state' : 'uploading', 'received' : 4505554, 'size' : 4505554 })
> new Object({ 'state' : 'uploading', 'received' : 4505554, 'size' : 4505554 })
> new Object({ 'state' : 'done' })
>
> Notice its does send back done when completed. Any ideas on a possible cause? Thanks.

The usual issue when having those symptoms is that your upload actually
finished before the first upload progress probe could even reach the
server.
People usually test the upload on localhost, but nowadays localhost is
so fast that 4MiB are uploaded in less than 1 second...
To actually see something:
* either throttle your upload
or
* upload something really large (ie > 1GiB).

Compile nginx --with-debug and look to the debug log, you'll certainly
see that the upload was finished before your client sent the upload
progress probe.

If not, then please open an issue here:
http://github.com/masterzen/nginx-upload-progress-module/issues

Check issue #3 for more information:
http://github.com/masterzen/nginx-upload-progress-module/issues/closed#issue/3
--
Brice Figureau
My Blog: http://www.masterzen.fr/


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

NginxHttpUploadProgressModule received and size are the same

fredanthony February 26, 2010 08:53AM

Re: NginxHttpUploadProgressModule received and size are the same

Brice Figureau February 26, 2010 10:08AM

Re: NginxHttpUploadProgressModule received and size are the same

fredanthony March 01, 2010 11:46AM

Re: NginxHttpUploadProgressModule received and size are the same

Brice Figureau March 02, 2010 05:22AM

Re: NginxHttpUploadProgressModule received and size are the same

fredanthony March 04, 2010 03:42PM

Re: NginxHttpUploadProgressModule received and size are the same

fredanthony March 04, 2010 05:34PM

Re: NginxHttpUploadProgressModule received and size are the same

fredanthony March 04, 2010 05:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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