sendxmpp Jabber, Verbindungszeitüberschreitung

391
Brian Brown

Ich habe ein Jabber-Konto auf dem Server xmpp.jix.im registriert. Ich habe eine sendxmpp-Anwendung installiert, um Jabber-Nachrichten zu senden. Ich habe ein einfaches Skript zum Versenden von Nachrichten geschrieben, hier ist es:

#!/bin/bash to=$1 msg=$2 sendxmpp -n -v -d -u user@jix.im -p password-j xmpp.jix.im -m hello user@jix.im 

Ich habe jedoch Probleme beim Ausführen des Skripts. Ich erhalte keine Nachrichten. Hier ist die Ausgabe des Skripts:

XML::Stream: new: hostname = (localhost) XML::Stream: SetCallBacks: tag(node) func(CODE(0x12c2a40)) XMPP::Conn: xmppCallbackInit: start XMPP::Conn: SetCallBacks: tag(message) func(CODE(0x21ac810)) XMPP::Conn: SetCallBacks: tag(presence) func(CODE(0x224da30)) XMPP::Conn: SetCallBacks: tag(iq) func(CODE(0x223f090)) XMPP::Conn: SetPresenceCallBacks: type(subscribe) func(CODE(0x2199a00)) XMPP::Conn: SetPresenceCallBacks: type(unsubscribed) func(CODE(0x12c2980)) XMPP::Conn: SetPresenceCallBacks: type(unsubscribe) func(CODE(0x12c2860)) XMPP::Conn: SetPresenceCallBacks: type(subscribed) func(CODE(0x12c2830)) XMPP::Conn: SetDirectXPathCallBacks: xpath(/[@xmlns="urn:ietf:params:xml:ns:xmpp-tls"]) func(CODE(0x12c2818)) XMPP::Conn: SetDirectXPathCallBacks: xpath(/[@xmlns="urn:ietf:params:xml:ns:xmpp-sasl"]) func(CODE(0x12c2b48)) XMPP::Conn: xmppCallbackInit: stop sendxmpp: ssl_verify: 0 sendxmpp: tls_ca_path:  XMPP::Conn: Connect: host(xmpp.jix.im:5222) namespace(jabber:client) XMPP::Conn: Connect: timeout(10) XML::Stream: Connect: type(tcpip) XML::Stream: Connect: Got a connection XML::Stream: Send: (<?xml version='1.0'?><stream:stream version='1.0' xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='xmpp.jix.im' from='localhost' xml:lang='en' >) XML::Stream: Read: buff(<?xml version='1.0'?><stream:stream id='17217592136130365441' version='1.0' xml:lang='en' xmlns:stream='http://etherx.jabber.org/streams' to='localhost' from='xmpp.jix.im' xmlns='jabber:client'>) XML::Stream: _handle_root: sid(newconnection) sax(XML::Stream::Parser=HASH(0x12c34d8)) tag(stream:stream) att( xml:lang en id 17217592136130365441 xmlns jabber:client xmlns:stream http://etherx.jabber.org/streams version 1.0 to localhost from xmpp.jix.im ) XML::Stream: Read: buff(<stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error></stream:stream>) XML::Stream: Node: _handle_element: sid(17217592136130365441) sax(XML::Stream::Parser=HASH(0x12c34d8)) tag(stream:error) att( ) XML::Stream: Node: _handle_element: check( -1 ) XML::Stream: Node: _handle_element: sid(17217592136130365441) sax(XML::Stream::Parser=HASH(0x12c34d8)) tag(host-unknown) att( xmlns urn:ietf:params:xml:ns:xmpp-streams ) XML::Stream: Node: _handle_element: check( 0 ) XML::Stream: Node: _handle_close: sid(17217592136130365441) sax(XML::Stream::Parser=HASH(0x12c34d8)) tag(host-unknown) XML::Stream: Node: _handle_close: check( 1 ) XML::Stream: Node: _handle_close: check2( 0 ) XML::Stream: Node: _handle_close: sid(17217592136130365441) sax(XML::Stream::Parser=HASH(0x12c34d8)) tag(stream:error) XML::Stream: Node: _handle_close: check( 0 ) XML::Stream: Node: _handle_close: check2( -1 ) XML::Stream: Node: _handle_close: sid(17217592136130365441) sax(XML::Stream::Parser=HASH(0x12c34d8)) tag(stream:stream) XML::Stream: Node: _handle_close: check( -1 ) XML::Stream: Node: _handle_close: rootTag(stream:stream) tag(stream:stream) XML::Stream: Process: block(0) XML::Stream: Read: buff() XML::Stream: Read: ERROR XML::Stream: Process: block(0) XML::Stream: Process: block(1) XML::Stream: Process: block(1) XML::Stream: Process: block(1) XML::Stream: Process: block(1) XML::Stream: Process: block(1) 

Kann jemand helfen? Was mache ich falsch?

0

0 Antworten auf die Frage