[Popcon-developers] Bug#350934: popularity-contest: HTTP method fails to recognize success

Bill Allombert allomber at math.u-bordeaux.fr
Thu Apr 6 22:54:06 UTC 2006


On Wed, Feb 01, 2006 at 05:09:13PM -0300, Javier Kohen wrote:
> Package: popularity-contest
> Version: 1.32
> Severity: normal
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Popcon-upload fails to recognize a successful upload. The popcon web server replies within 2 seconds with the following banner, still popcon ends up aborting with a timeout after 30 seconds:
> 
> 
> HTTP/1.1 200 OK
> Transfer-Encoding: chunked
> Date: Wed, 01 Feb 2006 19:59:48 GMT
> Content-Type: text/plain; charset=utf-8
> Server: Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-16 DAV/1.0.3
> 
> 27 
> Compressed (x-gzip) encoding detected.
> 
> 54 
> Thanks for your submission to Debian Popularity-Contest!
> DEBIAN POPCON HTTP-POST OK
> 
> 0
> 
> 
> Running popcon-upload with the -d switch doesn't give any useful output at all, as it never reaches the line where the content is matched against the "DEBIAN POPCON HTTP-POST OK" pattern.
> 

Hello Javier,

It seems popcon-upload will timeout after 30 seconds when the script to
send the data, so if your connection is slow it might take more than 30
seconds to complete, and the timeout will occur.

Given the amount of data to send, 30 secnds is not much.

Cheers,
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 




More information about the Popcon-developers mailing list