Bug#1012120: libwww-dict-leo-org-perl: does not connect anymore

gregor herrmann gregoa at debian.org
Mon May 30 15:13:44 BST 2022


Control: tag + confirmed bookworm sid

On Mon, 30 May 2022 15:39:39 +0200, Stephan Lachnit wrote:

> The package does not seem to work anymore. Calling it results in `Connection
> failed:` with no further information. Tested on multiple networks and machines.
> A debug log is given below. Probably an upstream issue.

> Debug log:
> 
> $ leo --debug test
> %DEBUG: connecting to site: dict.leo.org port 443
> %DEBUG: GET /dictQuery/m-vocab/ende/query.xml?lp=ende&search=test HTTP/1.0
> Connection failed:
> $

A bit of debugging in the code shows that the "only" problem is

216  close $conn or die "Connection failed: $!\n";

in /usr/share/perl5/WWW/Dict/Leo/Org.pm. If I change the die() to a
warn() or comment out the line, everything works.

I have no idea why "close $conn" fails, it might be related to
changes in OpenSSL3 and/or IO::Socket::SSL ($conn = new
IO::Socket::SSL(...)). -- $conn->close() fails as well without any
further information.

So this is easy to workaround, I'd still appreciate if someone has
more clues what's going on here in order to produce a proper fix.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20220530/bb1cf54b/attachment.sig>


More information about the pkg-perl-maintainers mailing list