sendxmpp icon indicating copy to clipboard operation
sendxmpp copied to clipboard

SSL.pm warnings (maybe only with newer IO::Socket::SSL)

Open sleeksorrow opened this issue 9 years ago • 5 comments

I run sendxmpp on Ubuntu Xenial (not yet released) and while it works fine, I get 2 warnings when sending messages:

Odd number of elements in anonymous hash at /usr/share/perl5/IO/Socket/SSL.pm line 1421.
Use of uninitialized value within @_ in anonymous hash ({}) at /usr/share/perl5/IO/Socket/SSL.pm line 1421.

I assume that this might be some incompatibility with a newer IO::Socket::SSL version. Ubuntu Xenial ships libio-socket-ssl-perl=2.024-1

I tried the sendxmpp version that ships with xenial (1.23) as well as git master.

sleeksorrow avatar Apr 09 '16 11:04 sleeksorrow

I'm having the same problem in debian using the '2.023' version of IO::Socket::SSL

Chekr avatar May 24 '16 03:05 Chekr

sendxmpp doesn't use IO::Socket::SSL directly. Which version of libnet-xmpp-perl (Net::XMPP::Client) do you have?

lhost avatar May 31 '16 20:05 lhost

I am running Ubuntu 16.04 and have the same problem. Here's some data:

[laiti@moot ~]$ aptitude show libnet-xmpp-perl Package: libnet-xmpp-perl State: installed Automatically installed: yes Version: 1.02-5 Priority: optional Section: universe/perl Maintainer: Ubuntu Developers [email protected] Architecture: all Uncompressed Size: 424 k Depends: perl, libauthen-sasl-perl, libxml-stream-perl Recommends: libnet-dns-perl

[laiti@moot ~]$ aptitude show sendxmpp Package: sendxmpp State: installed Automatically installed: no Version: 1.23-1.1 Priority: optional Section: universe/net Maintainer: Ubuntu Developers [email protected] Architecture: all Uncompressed Size: 66,6 k Depends: perl, libnet-xmpp-perl

[laiti@moot ~]$ aptitude show libio-socket-ssl-perl Package: libio-socket-ssl-perl State: installed Automatically installed: yes Version: 2.024-1 Priority: optional Section: perl Maintainer: Ubuntu Developers [email protected] Architecture: all Uncompressed Size: 478 k Depends: libnet-ssleay-perl (>= 1.59), netbase, perl Recommends: libnet-libidn-perl | libnet-idn-encode-perl | liburi-perl, perl (>= 5.15.6) | libsocket-perl | libsocket6-perl, perl (>= 5.19.8) | libio-socket-ip-perl (>= 0.20) | libio-socket-inet6-perl Suggests: ca-certificates

laiti avatar Sep 18 '16 18:09 laiti

I am running Ubuntu 16.04 and I also have the same problem. Though the notifications are being sent these warnings appear. Any solution here please to avoid these warnings.

anu17 avatar Mar 02 '18 06:03 anu17

Same problem (linux mint 18.3), warning shown but messages delivered

Use of uninitialized value within @_ in anonymous hash ({}) at /usr/share/perl5/IO/Socket/SSL.pm line 1421.

1Hyena avatar Mar 17 '18 21:03 1Hyena