Skip Menu |

This queue is for tickets about the AnyEvent-XMPP CPAN distribution.

Report information
The Basics
Id: 80148
Status: resolved
Priority: 0/
Queue: AnyEvent-XMPP

People
Owner: Nobody in particular
Requestors: mail4bvn [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.53
Fixed in: (no value)



Subject: Protocol error
I couldn't connect to the jabber-server in cause of error. I try to connect and gain this report: Connecting to boyko_vn@jabber.ru... $[ used in numeric lt (<) (did you mean $] ?) at /usr/lib/perl5/vendor_perl/5.16.0/XML/Twig.pm line 7286. $[ used in numeric lt (<) (did you mean $] ?) at /usr/lib/perl5/vendor_perl/5.16.0/XML/Twig.pm line 7292. $[ used in numeric lt (<) (did you mean $] ?) at /usr/lib/perl5/vendor_perl/5.16.0/XML/Twig.pm line 7304. send<< boyko_vn@jabber.ru <?xml version="1.0"?> <stream:stream to="jabber.ru" version="1.0" xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"> Show quoted text
recv>> boyko_vn@jabber.ru
<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4103046715' from='jabber.ru' version='1.0' xml:lang='ru'> Show quoted text
recv>> boyko_vn@jabber.ru
<deb> <stream:features> <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> <compression xmlns="http://jabber.org/features/compress"> <method>zlib</method> </compression> <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"> <mechanism>PLAIN</mechanism> <mechanism>DIGEST-MD5</mechanism> <mechanism>SCRAM-SHA-1</mechanism> </mechanisms> <c hash="sha-1" node="http://www.process-one.net/en/ejabberd/" ver="rvAR01fKsc40hT0hOLGDuG25y9o=" xmlns="http://jabber.org/ protocol/caps"/> <register xmlns="http://jabber.org/features/iq-register"/> </stream:features> </deb> send<< boyko_vn@jabber.ru <deb> <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> </deb> Show quoted text
recv>> boyko_vn@jabber.ru
<deb> <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> </deb> Got disconnected: [AnyEvent::XMPP::Client=HASH(0xa134158) AnyEvent::XMPP::IM::Account=HASH(0xa5d2a18) 77.88.57.177 5222 Error on connection to 77.88.57.177:5222: Protocol error] unhandled callback exception on event (connect_error, AnyEvent::XMPP::Client=HASH(0xa134158), AnyEvent::XMPP::IM::Account=HASH (0xa5d2a18) Error on connection to 77.88.57.177:5222: Protocol error): ERROR! Error on connection to 77.88.57.177:5222: Protocol error My Perl version: This is perl 5, version 16, subversion 0 (v5.16.0) built for i586-linux-thread-multi My linux is OpenSUSE 12.2
On Fri Oct 12 07:24:57 2012, bvn13 wrote: Show quoted text
> Got disconnected: [AnyEvent::XMPP::Client=HASH(0xa134158) > AnyEvent::XMPP::IM::Account=HASH(0xa5d2a18) 77.88.57.177 5222 Error on > connection to 77.88.57.177:5222: Protocol error] > unhandled callback exception on event (connect_error, > AnyEvent::XMPP::Client=HASH(0xa134158), > AnyEvent::XMPP::IM::Account=HASH > (0xa5d2a18) Error on connection to 77.88.57.177:5222: Protocol error): > ERROR! Error on connection to 77.88.57.177:5222: Protocol > error
I cannot reproduce this problem with jabber.ru. The error message "Protocol error" sounds like an OpenSSL error message. Which version of Net::SSLeay do you use? It works for me with Net::SSLeay 1.48 (using OpenSSL 1.0.1).
From: mail4bvn [...] gmail.com
Срд Окт 17 02:14:53 2012, MSTPLBG писал: Show quoted text
> On Fri Oct 12 07:24:57 2012, bvn13 wrote:
> > Got disconnected: [AnyEvent::XMPP::Client=HASH(0xa134158) > > AnyEvent::XMPP::IM::Account=HASH(0xa5d2a18) 77.88.57.177 5222 Error
on Show quoted text
> > connection to 77.88.57.177:5222: Protocol error] > > unhandled callback exception on event (connect_error, > > AnyEvent::XMPP::Client=HASH(0xa134158), > > AnyEvent::XMPP::IM::Account=HASH > > (0xa5d2a18) Error on connection to 77.88.57.177:5222: Protocol
error): Show quoted text
> > ERROR! Error on connection to 77.88.57.177:5222: Protocol > > error
> I cannot reproduce this problem with jabber.ru. > > The error message "Protocol error" sounds like an OpenSSL error
message. Show quoted text
> Which version of Net::SSLeay do you use? It works for me with
Net::SSLeay Show quoted text
> 1.48 (using OpenSSL 1.0.1).
Oh, I have no Net::SSLeay installed. When I have installed it, this error has been resolved.
On Wed Oct 17 02:28:09 2012, bvn13 wrote: Show quoted text
> > The error message "Protocol error" sounds like an OpenSSL error
> message.
> > Which version of Net::SSLeay do you use? It works for me with
> Net::SSLeay
> > 1.48 (using OpenSSL 1.0.1).
> > Oh, I have no Net::SSLeay installed. > When I have installed it, this error has been resolved.
Thanks for this update. I’ve added a dependency on Net::SSLeay for the next release: https://github.com/AnyEvent-XMPP/AnyEvent- XMPP/commit/468b5b2af82dbcae1d97c135afee8960188facff