I'm not sure whether this is the same problem, but I'm seeing the server return an HTML page demanding that the client enable Javascript. A log is attached. apt-listbugs fails to parse the returned data.
At the time, I tried accessing packages.debian.org in a browser and saw a similar demand. But that's working normally now, while apt-listbugs isn't. -- Michael On Fri, Jan 09, 2026 at 23:37:15 +0100, Francesco Poli wrote: > Control: tags -1 + moreinfo > > > On Thu, 8 Jan 2026 17:49:57 +0100 Vincent Lefevre wrote: > > [...] > > apt-listbugs sometimes gives the following error: > > > > Retrieving bug reports... 0% Fail > > E: HTTP GET failed > > Retry downloading bug information? [Y/n] > > Hello Vincent, thanks for your bug report! > > I have seen that error too, in recent times, but only very sporadically. > > > > > It is not clear whether the error comes from the package itself or > > from the remote side, but in the latter case, the reason should be > > output (e.g. HTTP error code). > > The error message is produced by apt-listbugs, when it catches an > exception of class SOAP::HTTPStreamError, raised by the SOAP library. > > I am convinced that it depends on a communication error with the server > (the Debian BTS). > > I can try to modify apt-listbugs, so that it prints some more > information about the exception on stderr, but I am not sure it can be > done easily enough. > Moreover, since, as I said, the error shows up very sporadically, it's > hard to test. > > Do you have a reliable way to artificially obtain that error? > > > -- > http://www.inventati.org/frx/ > There's not a second to spare! To the laboratory! > ..................................................... Francesco Poli . > GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
PPID is 309280 Exception `LoadError' at <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136 - cannot load such file -- sys/proctable Exception `LoadError' at <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:144 - cannot load such file -- sys/proctable Using QueryStep = 200 Using ParseStep = 200 Exception `LoadError' at <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136 - cannot load such file -- soap/rpc/driver Exception `LoadError' at <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136 - cannot load such file -- xml/encoding-ja Exception `LoadError' at <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:144 - cannot load such file -- xml/encoding-ja Exception `LoadError' at <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136 - cannot load such file -- httpclient Exception `LoadError' at <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:144 - cannot load such file -- httpclient Exception `LoadError' at <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:136 - cannot load such file -- http-access2 Exception `LoadError' at <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:144 - cannot load such file -- http-access2 Loading http-access2 failed. Net/http is used. Wire dump: opening connection to bugs.debian.org:443... opened starting SSL for bugs.debian.org:443... SSL established, protocol: TLSv1.3, cipher: TLS_AES_128_GCM_SHA256 = Request <?xml version="1.0" encoding="utf-8" ?> <env:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Body> <n1:get_bugs env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:n1="Debbugs/SOAP/"> <keyvalue xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/" n2:arrayType="xsd:anyType[4]" xsi:type="n2:Array"> <item xsi:type="xsd:string">severity</item> <item n2:arrayType="xsd:anyType[3]" xsi:type="n2:Array"> <item xsi:type="xsd:string">critical</item> <item xsi:type="xsd:string">grave</item> <item xsi:type="xsd:string">serious</item> </item> <item xsi:type="xsd:string">package</item> <item n2:arrayType="xsd:string[1]" xsi:type="n2:Array"> <item>apt-listbugs</item> </item> </keyvalue> </n1:get_bugs> </env:Body> </env:Envelope> <- "POST /cgi-bin/soap.cgi HTTP/1.1\r\nContent-Type: text/xml; charset=utf-8\r\nSoapaction: \"\"\r\nUser-Agent: SOAP4R/1.6.1-SNAPSHOT\r\nAccept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3\r\nAccept: */*\r\nHost: bugs.debian.org\r\nContent-Length: 1030\r\n\r\n" <- "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<env:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:env=\"http://schemas.xmlsoap.org/soap/envelope/\">\n <env:Body>\n <n1:get_bugs env:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:n1=\"Debbugs/SOAP/\">\n <keyvalue xmlns:n2=\"http://schemas.xmlsoap.org/soap/encoding/\"\n n2:arrayType=\"xsd:anyType[4]\"\n xsi:type=\"n2:Array\">\n <item xsi:type=\"xsd:string\">severity</item>\n <item n2:arrayType=\"xsd:anyType[3]\"\n xsi:type=\"n2:Array\">\n <item xsi:type=\"xsd:string\">critical</item>\n <item xsi:type=\"xsd:string\">grave</item>\n <item xsi:type=\"xsd:string\">serious</item>\n </item>\n <item xsi:type=\"xsd:string\">package</item>\n <item n2:arrayType=\"xsd:string[1]\"\n xsi:type=\"n2:Array\">\n <item>apt-listbugs</item>\n </item>\n </keyvalue>\n </n1:get_bugs>\n </env:Body>\n</env:Envelope>" -> "HTTP/1.1 200 OK\r\n" -> "Connection: keep-alive\r\n" -> "set-cookie: _fs_ch_st_FSBmUei20MqUiJb9=AW5dmI8W71ZwBPZOpOA3stERoxra9ihomcfjS3V_1HUFRSPjUkZdZGTVWibFqO_qguVl37SIFeGyGC0Uu5Tp7-YBFemD5MAUiE_LmApIuP3pUHQxF-7B72Sajsyqal0mDlZn7YhZlNwObIP7_9sS7PIW1kfwKd3sGcHoCZsCx3m4ygILgfCiBumGLzVOQIs8Iaho15pTRtYa-rpjZCT0cbSzBsjOeg8QC-nG7rqGtbI7KkfjIZnNd1kQlCGE63KT69JwCBF3KiFxiQwylpkRfVHPFAAQnqWmvvML9IiFg787DswhbZKpM-revFP-_QVfFd-0TGBwTKvhe_DoVW7fcfejFFTvHluWMwSsvOwWVc1x0qs7iRwIruKlWW6dZpYIBnMDvf22PurTt8eK9M7ZLfiNW1pT2N0=; Max-Age=10; HttpOnly; Path=/\r\n" -> "content-type: text/html; charset=utf-8\r\n" -> "cache-control: private, no-store\r\n" -> "Accept-Ranges: bytes\r\n" -> "Via: 1.1 varnish, 1.1 varnish\r\n" -> "Date: Sat, 10 Jan 2026 19:14:30 GMT\r\n" -> "X-Served-By: cache-pdx12320-PDX, cache-pdx12320-PDX, cache-vie6352-VIE\r\n" -> "X-Cache: MISS, MISS\r\n" -> "X-Cache-Hits: 0, 0\r\n" -> "X-Timer: S1768072470.926974,VS0,VE197\r\n" -> "transfer-encoding: chunked\r\n" -> "\r\n" -> "c1d\r\n" reading 3101 bytes... -> "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta\n http-equiv=\"Content-Security-Policy\"\n content=\"default-src 'self'; img-src 'self' data:; media-src 'self' data:; object-src 'none'; style-src 'self' 'sha256-o4vzfmmUENEg4chMjjRP9EuW9ucGnGIGVdbl8d0SHQQ='; script-src 'self' 'sha256-KXex2o39zxtnzVWK4H5rW07g2+BlwSPtn+aguzsWkNg=';\"\n />\n <link\n href=\"/_fs-ch-1T1wmsGaOgGaSxcX/assets/inter-var.woff2\"\n rel=\"preload\"\n as=\"font\"\n type=\"font/woff2\"\n crossorigin\n />\n <link href=\"/_fs-ch-1T1wmsGaOgGaSxcX/assets/styles.css\" rel=\"stylesheet\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <title>Client Challenge</title>\n <style>\n #loading-error {\n font-size: 16px;\n font-family: 'Inter', sans-serif;\n margin-top: 10px;\n margin-left: 10px;\n display: none;\n }\n </style>\n </head>\n <body>\n <noscript>\n <div class=\"noscript-container\">\n <div class=\"noscript-content\">\n <img\n src=\"/_fs-ch-1T1wmsGaOgGaSxcX/assets/errorIcon.svg\"\n alt=\"\"\n role=\"presentation\"\n class=\"error-icon\"\n />\n <span class=\"noscript-span\"\n >JavaScript is disabled in your browser.</span\n >\n <p>Please enable JavaScript to proceed.</p>\n </div>\n </div>\n </n" -> "oscript>\n <div id=\"loading-error\" role=\"alert\" aria-live=\"polite\">\n A required part of this site couldn\xE2\x80\x99t load. This may be due to a browser\n extension, network issues, or browser settings. Please check your\n connection, disable any ad blockers, or try using a different browser.\n </div>\n <script>\n function loadScript(src) {\n return new Promise((resolve, reject) => {\n const script = document.createElement('script');\n script.onload = resolve;\n script.onerror = (event) => {\n console.error('Script load error event:', event);\n document.getElementById('loading-error').style.display = 'block';\n loadingError.setAttribute('aria-hidden', 'false');\n reject(\n new Error(\n `Failed to load script: ${src}, Please contact the service administrator.`\n )\n );\n };\n script.src = src;\n document.body.appendChild(script);\n });\n }\n\n loadScript('/_fs-ch-1T1wmsGaOgGaSxcX/errors.js')\n .then(() => {\n const script = document.createElement('script');\n script.src = '/_fs-ch-1T1wmsGaOgGaSxcX/script.js?reload=true';\n script.onerror = (event) => {\n console.error('Script load error event:', event);\n const errorMsg = new Error(\n " -> " `Failed to load script: ${script.src}. Please contact the service administrator.`\n );\n console.error(errorMsg);\n handleScriptError();\n };\n document.body.appendChild(script);\n })\n .catch((error) => {\n console.error(error);\n });\n </script>\n </body>\n</html>\n" read 3101 bytes reading 2 bytes... -> "\r\n" read 2 bytes -> "0\r\n" -> "\r\n" Conn keep-alive = Response <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Security-Policy" content="default-src 'self'; img-src 'self' data:; media-src 'self' data:; object-src 'none'; style-src 'self' 'sha256-o4vzfmmUENEg4chMjjRP9EuW9ucGnGIGVdbl8d0SHQQ='; script-src 'self' 'sha256-KXex2o39zxtnzVWK4H5rW07g2+BlwSPtn+aguzsWkNg=';" /> <link href="/_fs-ch-1T1wmsGaOgGaSxcX/assets/inter-var.woff2" rel="preload" as="font" type="font/woff2" crossorigin /> <link href="/_fs-ch-1T1wmsGaOgGaSxcX/assets/styles.css" rel="stylesheet" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Client Challenge</title> <style> #loading-error { font-size: 16px; font-family: 'Inter', sans-serif; margin-top: 10px; margin-left: 10px; display: none; } </style> </head> <body> <noscript> <div class="noscript-container"> <div class="noscript-content"> <img src="/_fs-ch-1T1wmsGaOgGaSxcX/assets/errorIcon.svg" alt="" role="presentation" class="error-icon" /> <span class="noscript-span" >JavaScript is disabled in your browser.</span > <p>Please enable JavaScript to proceed.</p> </div> </div> </noscript> <div id="loading-error" role="alert" aria-live="polite"> A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser. </div> <script> function loadScript(src) { return new Promise((resolve, reject) => { const script = document.createElement('script'); script.onload = resolve; script.onerror = (event) => { console.error('Script load error event:', event); document.getElementById('loading-error').style.display = 'block'; loadingError.setAttribute('aria-hidden', 'false'); reject( new Error( `Failed to load script: ${src}, Please contact the service administrator.` ) ); }; script.src = src; document.body.appendChild(script); }); } loadScript('/_fs-ch-1T1wmsGaOgGaSxcX/errors.js') .then(() => { const script = document.createElement('script'); script.src = '/_fs-ch-1T1wmsGaOgGaSxcX/script.js?reload=true'; script.onerror = (event) => { console.error('Script load error event:', event); const errorMsg = new Error( `Failed to load script: ${script.src}. Please contact the service administrator.` ); console.error(errorMsg); handleScriptError(); }; document.body.appendChild(script); }) .catch((error) => { console.error(error); }); </script> </body> </html> Exception `XMLParserError' at /usr/share/rubygems-integration/all/gems/soap4r-ruby1.9-2.0.5/lib/xsd/xmlparser/xmlparser.rb:31 - not well-formed (invalid token) Exception: XMLParserError E: not well-formed (invalid token) Exception `RuntimeError' at /usr/lib/ruby/vendor_ruby/aptlistbugs/logic.rb:1201 - Exiting with error E: Exiting with error Set XSD::XMLParser::XMLParser as XML processor. Fail Error retrieving bug reports from the server with the following error message: It could be because your network is down, or because of broken proxy servers, or the BTS server itself is down. Check network configuration and try again
signature.asc
Description: PGP signature

