#1145671 uscan: failed: 400 SourceForge HTTP Error: Bad Request

Package:
devscripts
Source:
devscripts
Description:
scripts to make the life of a Debian Package maintainer easier
Submitter:
Ludovic Rousseau
Date:
2026-09-01 21:11:02 UTC
Severity:
normal
#1145671#5
Date:
2026-08-26 14:23:45 UTC
From:
To:
$ uscan --verbose
uscan info: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="pykcs11" version="1.5.18-1" (as seen in debian/changelog)
uscan info: package="pykcs11" version="1.5.18" (no epoch/revision)
uscan info: ./debian/changelog sets package="pykcs11" version="1.5.18"
uscan info: Found upstream signing keyring: debian/upstream/signing-key.asc
uscan info: Process watch file at: debian/watch
    package = pykcs11
    version = 1.5.18
    pkg_dir = .
uscan info: Parsing pgpsigurlmangle: s/$/.asc/
uscan info: sf.net redirection to qa.debian.org/watch/sf.php
uscan info: Last orig.tar.* tarball version (from debian/changelog): 1.5.18
uscan info: Last orig.tar.* tarball version (dversionmangled): 1.5.18
uscan info: Requesting URL:
https://qa.debian.org/watch/sf.php/pkcs11wrap/
uscan warn: In watchfile debian/watch, reading webpage
https://qa.debian.org/watch/sf.php/pkcs11wrap/ failed: 400 SourceForge HTTP Error: Bad Request
uscan info: Scan finished

$ cat debian/watch
Version: 5

Source: https://sf.net/pkcs11wrap/
Matching-Pattern: pykcs11-(.*)\.tar\.gz
Pgpsigurlmangle: s/$/.asc/


It looks like the problem is with https://qa.debian.org/watch/sf.php/

https://qa.debian.org/watch/sf.php/pkcs11wrap/ fails with:
http response: HTTP/1.1 400 Bad Request
libxml error: Warning 1549: failed to load external entity "https://sourceforge.net/projects/pkcs11wrap/rss?limit=10000000000000000000"

$ wget https://sourceforge.net/projects/pkcs11wrap/rss?limit=10000000000000000000
--2026-08-26 16:15:50--  https://sourceforge.net/projects/pkcs11wrap/rss?limit=10000000000000000000
Resolving sourceforge.net (sourceforge.net)... 104.18.12.149, 104.18.13.149, 2606:4700::6812:c95, ...
Connecting to sourceforge.net (sourceforge.net)|104.18.12.149|:443... connected.
HTTP request sent, awaiting response... 400 Bad Request
2026-08-26 16:15:50 ERROR 400: Bad Request.

If I user a smaller limit number than 10000000000000000000 I have more success.

$ wget https://sourceforge.net/projects/pkcs11wrap/rss?limit=100
--2026-08-26 16:16:52--  https://sourceforge.net/projects/pkcs11wrap/rss?limit=100
Resolving sourceforge.net (sourceforge.net)... 104.18.12.149, 104.18.13.149, 2606:4700::6812:c95, ...
Connecting to sourceforge.net (sourceforge.net)|104.18.12.149|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 89070 (87K) [application/rss+xml]
Saving to: 'rss?limit=100'

rss?limit=100       100%[===================>]  86.98K  --.-KB/s    in 0.1s

2026-08-26 16:16:53 (655 KB/s) - 'rss?limit=100' saved [89070/89070]

I think the problem must be fixed in the QA web site
https://qa.debian.org/watch/sf.php/ and not the uscan command itself.
--- /etc/devscripts.conf ---
Empty.
--- ~/.devscripts --- Not present
#1145671#10
Date:
2026-08-31 23:01:29 UTC
From:
To:
Control: reassign -1 qa.debian.org

Agreed, a couple of bug reports were also filed against qa.debian.org.

Reassigning.

Regards,