Bug #1126340: bugs.debian.org: SOAP interface often (not always) returns 503 Service Unavailable

Laura Arjona Reina <[email protected]> Tue, 27 Jan 2026 21:30:32 +0100
Newsgroups gmane.linux.debian.devel.www
Message-ID <[email protected]>
Hello all

We are experiencing this issue (503 Service Unavailable) too, every time 
the website is built (6 times a day), when we try to build wnpp data.

Here is the relevant part of our code:

my $soap = 
SOAP::Lite->uri('Debbugs/SOAP')->proxy('https://bugs.debian.org/cgi-bin/soap.cgi')
        or die "Couldn't make connection to SOAP interface: $@";
my $bugs = $soap->get_bugs(package=>'wnpp')->result
        or die "Failed to get the list of bugs for package wnpp";
my $status = {};
my $count = 0;
my $total = @$bugs;
while (my @slice = splice(@$bugs, 0, 1000)) {
     $count = $count + 1;
     my $tmp = $soap->get_status(@slice)->result()
         or die "Failed to get status for bunch $count (of 1000 bugs), 
total bugs to process: $total)";
     %$status = (%$status, %$tmp);
}

The complete script is here: 
https://salsa.debian.org/webmaster-team/webwml/-/blob/master/english/devel/wnpp/wnpp.pl#L41 
(anchor leads to the relevant code)

and here the error we get in the logs:
/srv/www.debian.org/cron/log/wml_run.log-make -C wnpp install
/srv/www.debian.org/cron/log/wml_run.log-make[3]: Entering directory 
'/srv/www.debian.org/webwml/english/devel/wnpp'
/srv/www.debian.org/cron/log/wml_run.log-wml -q -D CUR_YEAR=2026 -o 
UNDEFuEN:../../../english/devel/wnpp/wnpp.data@g+w -W7,-Squotes 
../../../english/devel/wnpp/wnpp.pl
/srv/www.debian.org/cron/log/wml_run.log:ePerl:Error: Perl runtime error 
(interpreter rc=2)
/srv/www.debian.org/cron/log/wml_run.log-
/srv/www.debian.org/cron/log/wml_run.log----- Contents of STDERR 
channel: ---------
/srv/www.debian.org/cron/log/wml_run.log-503 Service Unavailable at 
/tmp/8QkhgWG5xO/wml.tmp1 line 146.
/srv/www.debian.org/cron/log/wml_run.log-------------------------------------------
/srv/www.debian.org/cron/log/wml_run.log:** WML:Break: Error in Pass 3 
(rc=1).
/srv/www.debian.org/cron/log/wml_run.log-Died at 
/usr/share/wml/TheWML/Frontends/Wml/Runner.pm line 402.
/srv/www.debian.org/cron/log/wml_run.log- 
TheWML::Frontends::Wml::Runner::_run_pass(TheWML::Frontends::Wml::Runner=HASH(0x565028e43830), 
3, SCALAR(0x5650293d9af8), REF(0x5650293d9ac8), REF(0x5650293d9ae0)) 
called at /usr/share/wml/TheWML/Frontends/Wml/Runner.pm line 440
/srv/www.debian.org/cron/log/wml_run.log- 
TheWML::Frontends::Wml::Runner::_passes_loop(TheWML::Frontends::Wml::Runner=HASH(0x565028e43830)) 
called at /usr/share/wml/TheWML/Frontends/Wml/Runner.pm line 727
/srv/www.debian.org/cron/log/wml_run.log- 
TheWML::Frontends::Wml::Runner::_output_and_cleanup(TheWML::Frontends::Wml::Runner=HASH(0x565028e43830)) 
called at /usr/share/wml/TheWML/Frontends/Wml/Runner.pm line 932
/srv/www.debian.org/cron/log/wml_run.log- 
TheWML::Frontends::Wml::Runner::run_with_ARGV(TheWML::Frontends::Wml::Runner=HASH(0x565028e43830), 
HASH(0x5650291c8498)) called at /usr/bin/wml line 47
/srv/www.debian.org/cron/log/wml_run.log:make[3]: *** [Makefile:34: 
../../../english/devel/wnpp/wnpp.data] Error 2
/srv/www.debian.org/cron/log/wml_run.log-make[3]: Leaving directory 
'/srv/www.debian.org/webwml/english/devel/wnpp'
/srv/www.debian.org/cron/log/wml_run.log:make[2]: 
[../../Makefile.common:84: wnpp-install] Error 2 (ignored)

(The error appears several times in each build since all languages after 
English also try to connect).
The last complete log is always found in 
https://www-master.debian.org/build-logs/webwml/wml_run.log

I can reproduce the error if I log into www-master.debian.org, go to 
the  /srv/www.debian.org/webwml/english/devel/wnpp folder, and run sudo 
-u debwww make

If you want me to change the code to make any test, just tell, but I 
cannot create a test myself (not enough programming skills).

Thanks for your help!

Kind regards,

Laura Arjona Reina

https://wiki.debian.org/LauraArjona