In it search for newer versions of the package, reportbug outputs
Checking for newer versions at madison and https://ftp-master.debian.org/new.html
However, /usr/lib/python3/dist-packages/reportbug/checkversions.py
has
NEWQUEUE_URL = 'http://ftp-master.debian.org/new.822'
In the strace output, I can see
193537 connect(45, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("192.91.235.231")}, 16) = -1 EINPROGRESS (Operation now in progress)
193537 poll([{fd=45, events=POLLOUT|POLLERR}], 1, 60000) = 1 ([{fd=45, revents=POLLOUT}])
193537 getsockopt(45, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
193537 poll([{fd=45, events=POLLOUT}], 1, 60000) = 1 ([{fd=45, revents=POLLOUT}])
193537 sendto(45, "GET /new.822 HTTP/1.1\r\nHost: ftp-master.debian.org\r\nUser-Agent: reportbug/12.0.0 (Debian)\r\nAccept-Encoding: gzip;q=1.0, deflate;q=0.9, identity;q=0.5\r\nAccept: */*\r\nConnection: keep-alive\r\n\r\n", 190, 0, NULL, 0) = 190
193537 ioctl(45, FIONBIO, [1]) = 0
193537 poll([{fd=45, events=POLLIN}], 1, 60000) = 1 ([{fd=45, revents=POLLIN}])
193537 recvfrom(45, "HTTP/1.1 301 Moved Permanently\r\nDate: Tue, 14 Nov 2023 14:11:18 GMT\r\nServer: Apache\r\nX-Content-Type-Options: nosniff\r\nX-Frame-Options: sameorigin\r\nReferrer-Policy: no-referrer\r\nX-Xss-Protection: 1\r\nPermissions-Policy: interest-cohort=()\r\nLocation: https://ftp-master.debian.org/new.822\r\nContent-Length: 316\r\nKeep-Alive: timeout=5, max=100\r\nConnection: Keep-Alive\r\nContent-Type: text/html; charset=iso-8859-1\r\n\r\n<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>301 Moved Permanently</title>\n</head><body>\n<h1>Moved Permanently</h1>\n<p>The document has moved <a href=\"https://ftp-master.debian.org/new.822\">here</a>.</p>\n<hr>\n<address>Apache Server at ftp-master.debian.org Port 80</address>\n</body></html>\n", 8192, 0, NULL, NULL) = 727
So this URL gives a 301 Moved Permanently with
https://ftp-master.debian.org/new.822 as the new URL,
and reportbug does not attempt to use this new URL.
So there are several issues:
1. The NEWQUEUE_URL URL is obsolete (this seems to have been fixed
in Git, but even unstable is still affected).
2. In the output, https://ftp-master.debian.org/new.html does not match
what is actually used (or is this on purpose in case this has the same
contents?).
3. The "301 Moved Permanently" is ignored. If this is on purpose,
I think that a warning should be output in order to be aware of the
issue, in case of a future move.