[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#930446: popularity-contest: unable to submit report, impossible to debug



On Wed, Jun 12, 2019 at 09:46:58PM +0200, Stefan Fritsch wrote:
> Package: popularity-contest
> Version: 1.67
> Severity: normal
> 
> Dear Maintainer,
> 
> on several of my hosts, popularity-contest logs
> 
>   unable to submit report to http://popcon.debian.org/cgi-bin/popcon.cgi.
>   unable to submit report.
> 
> But it does not log why and there is no way that I could find to trigger
> the sending from the command line with debug output enabled.
> 
> http://popcon.debian.org/cgi-bin/pop is reachable from the host via curl. Also,
> according to the documentation it should fall back to email, which it does not
> do. It does not log why it does not do that.

Hello Stefan!

This comes from /etc/cron.daily/popularity-contest:
# try to post the report through http POST
if [ "$SUBMITURLS" ] && [ "yes" = "$USEHTTP" ]; then
    for URL in $SUBMITURLS ; do
        if setsid /usr/share/popularity-contest/popcon-upload \
            -u $URL -f $POPCON 2>/dev/null ; then
                SUBMITTED=yes
        else
                logger -t popularity-contest "unable to submit report to
$URL."
        fi
    done
fi

/usr/share/popularity-contest/popcon-upload has an option -d for
debugging that you could try.

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

Imagine a large red swirl here. 


Reply to: