AnsweredAssumed Answered

4.1.2 and sendxmpp: SASL / auth problem?

Question asked by Kristian Rink on Feb 23, 2017
Latest reply on May 10, 2017 by Bob

Folks;

upgrading our OpenFire from 4.0.x to 4.1.2 rendered our nagios / sendxmpp integration useless. We use sendxmpp in order to deliver status messages to XMPP recipients / groups, and by now this worked pretty well. Starting with 4.1.2, it doesn't, anymore; sendxmpp just terminates like this:

 

XML::Stream: Send: (<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>YXV0aHppZD0ia3JAd3d3LnBsYW5jb25uZWN0Lm V1QG9wZW5maXJlMiIsY2hhcnNldD11dGYtOCxjbm9uY2U9Ijg0NmRjZGJlNTMzZmE4ODlmMWMyMGI4Zm ZlN2M0OWVlIixkaWdlc3QtdXJpPSJ4bXBwL29wZW5maXJlMiIsbmM9MDAwMDAwMDEsbm9uY2U9IkNlNG pQR2R2U21ET0k3U0Q3TnR2ZGtjZ3RKbnZxOEZwZ3Blb1dkL3MiLHFvcD1hdXRoLHJlYWxtPSJ3d3cucG xhbmNvbm5lY3QuZXUiLHJlc3BvbnNlPWY1NWM4YzRiOGM0NmExZmZkYWRlNWJlZWZmMTc3ZjhhLHVzZX JuYW1lPSJrckB3d3cucGxhbmNvbm5lY3QuZXUi</response>)

XML::Stream: Process: block(0)

XMPP::Conn: AuthSASL: haven't authed yet... let's wait.

XMPP::Conn: Process: timeout(1)

XML::Stream: Read: buff(<failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>)

XML::Stream: Node: _handle_element: sid(pl3eh5iw0) sax(XML::Stream::Parser=HASH(0x25f4228)) tag(failure) att( xmlns urn:ietf:params:xml:ns:xmpp-sasl )

XML::Stream: Node: _handle_element: check( -1 )

XML::Stream: Node: _handle_element: sid(pl3eh5iw0) sax(XML::Stream::Parser=HASH(0x25f4228)) tag(not-authorized) att( )

XML::Stream: Node: _handle_element: check( 0 )

XML::Stream: Node: _handle_close: sid(pl3eh5iw0) sax(XML::Stream::Parser=HASH(0x25f4228)) tag(not-authorized)

XML::Stream: Node: _handle_close: check( 1 )

XML::Stream: Node: _handle_close: check2( 0 )

XML::Stream: Node: _handle_close: sid(pl3eh5iw0) sax(XML::Stream::Parser=HASH(0x25f4228)) tag(failure)

XML::Stream: Node: _handle_close: check( 0 )

XML::Stream: Node: _handle_close: check2( -1 )

XML::Stream: Process: block(0)

XMPP::Conn: AuthSASL: Authentication failed.

Error 'AuthSend': error: not-authorized[?]

XML::Stream: Send: (</stream:stream>)

XML::Stream: SetCallBacks: tag(node) func(CODE(0x1703a68))

XMPP::Conn: Disconnect: bye bye

sendxmpp: Disconnect

 

Any ideas? Any hints on which information required to help track this down?

TIA,

K.

Outcomes