#888649#5
Date:
2018-01-28 11:38:14 UTC
From:
To:
Dear Maintainer,

Using apt-listbugs with aptitude, after a download apt-listbugs fails
to fetch the bug reports:

Performing actions...
Récupération des rapports de bogue… 0% Échec
Err : échec de HTTP GET
Réessayer de télécharger les informations du bogue ? [Y/n]

When asked to download one bug report at a time, it works:

Performing actions...
Récupération des rapports de bogue… 0% Échec
Err : échec de HTTP GET
Réessayer de télécharger les informations du bogue ? [Y/n]
Un paquet à la fois ? [Y/n]
Un rapport de bogue à la fois ? [Y/n]
Récupération des rapports de bogue… Fait
Analyse des informations Trouvé/Corrigé… Fait

I get this almost everytime when I'm on an ipv6 connexion. On ipv4,
everything works properly.

my IPs:

2001:910:1033::/48
80.67.176.51

Regards,

#888649#10
Date:
2018-01-28 14:19:04 UTC
From:
To:
Control: severity -1 normal
Control: tags -1 + moreinfo

Hello eingousef,
thanks for your bug report.

Taking what you reported into account, it seems to me that your IPv6
connection may have some issues large SOAP replies.
Or maybe the issue with IPv6 is in some ruby library used by
apt-listbugs to manage the SOAP http connections?!?

[...]
[...]

I see that you do not have the recommended ruby-httpclient package
installed: could you please try to install it with

  # aptitude install ruby-httpclient

and see whether you still have issues with your IPv6 connection?

Please let me know.
Thanks for your time and for using apt-listbugs!

#888649#19
Date:
2018-01-29 20:08:04 UTC
From:
To:
Performing actions...
Récupération des rapports de bogue… 0% Échec
Échec de récupération des rapports de bogue depuis le serveur avec le message d'erreur suivant :
Err : HTTPClient::KeepAliveDisconnected:
Cela peut venir d'une connexion réseau inactive, de problèmes de serveurs mandataires ou de l'arrêt du serveur du
BTS lui-même. Veuillez vérifier la configuration réseau et recommencer
Réessayer de télécharger les informations du bogue ? [Y/n]
Un paquet à la fois ? [Y/n]
Un rapport de bogue à la fois ? [Y/n]
Récupération des rapports de bogue… Fait

Regards,

#888649#24
Date:
2018-01-29 21:29:50 UTC
From:
To:
Control: reassign -1 ruby-httpclient 2.8.3-1
Control: affects -1 + apt-listbugs
Control: tags -1 - moreinfo



Dear Debian Ruby Extras Maintainers
I am reassigning a [bug](https://bugs.debian.org/888649) to package
ruby-httpclient, since a user of apt-listbugs is having issues with an
IPv6 connection.
It seems that a similar issue shows up without ruby-httpclient (when
apt-listbugs uses the HTTP library from Ruby standard library), but
ruby-httpclient produces a more verbose error message.

I have too little experience in debugging HTTP connection issues, and
zero experience with IPv6: I am not sure whether the problem lies in
some IPv6 link misconfiguration or in an actual bug of the Ruby HTTP
client libraries.

Could you please help the user in the investigation?

Thanks for your time and dedication!
Bye.

#888649#39
Date:
2021-02-13 20:19:31 UTC
From:
To:
While we wait for IPv6 adoption, here is a workaround for anyone interested:
configure getaddrinfo(3) to give precedence to IPv4-mapped addresses for sites that prefer IPv4 and then apt-listbugs (and many other stuff) just works.

In particular uncomment the following line in /etc/gai.conf:

precedence ::ffff:0:0/96  100

Best regards,
Marius