lhost / sendxmpp

perl-script to send xmpp (jabber), similar to what mail(1) does for mail.
63 stars 22 forks source link

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

Open sleeksorrow opened 8 years ago

sleeksorrow commented 8 years ago

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.

Chekr commented 8 years ago

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

lhost commented 8 years ago

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

laiti commented 7 years ago

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 ubuntu-devel-discuss@lists.ubuntu.com 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 ubuntu-devel-discuss@lists.ubuntu.com 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 ubuntu-devel-discuss@lists.ubuntu.com 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

anu17 commented 6 years ago

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.

1Hyena commented 6 years ago

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.