connect to jabberd-2.0s3

Uwe Hoffmann qual at tiscali.de
Sun Jul 25 20:33:37 CEST 2004


Hi,

using pyxmpp with jabberd2 i get the following error
from the server: <feature-not-implemented/>
(modified test.py: auth_methods=["plain"])

any hints ?

regards,
	Uwe



creating stream...
connecting...
DEBUG: Creating client stream: <class
pyxmpp.jabber.clientstream.LegacyClientStream at 0x4072968c>,
auth_methods=['plain']
DEBUG: OUT: '<?xml version="1.0" encoding="UTF-8"?>\n<stream:stream
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"
to="localhost" version="1.0">'
processing...
DEBUG: IN: "<?xml version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
from='localhost' version='1.0'
id='knki0ffjj08yg1tho5lserzqze8yb85vwpdw4tgo'><stream:features
xmlns:stream='http://etherx.jabber.org/streams'><mechanisms
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism></mechanisms></stream:features>"
DEBUG: input document: '<?xml version="1.0"?>\n<stream:stream
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client"
from="localhost" version="1.0"
id="knki0ffjj08yg1tho5lserzqze8yb85vwpdw4tgo"/>\n'
DEBUG: Got stream features
DEBUG: Node: <xmlNode (features) object at 0x407388ec>
DEBUG: StartTLS not negotiated
DEBUG: SASL support found
DEBUG: trying auth: ['plain']
DEBUG: OUT: '<iq type="get" id="549395"><query
xmlns="jabber:iq:auth"><username>test</username><resource>Test</resource></query></iq>'
DEBUG: IN: "<iq xmlns='jabber:client' id='549395' type='result'><query
xmlns='jabber:iq:auth'><username>test</username><resource/><password/></query></iq>"
DEBUG: Procesing auth response...
DEBUG: trying auth: ['plain']
DEBUG: OUT: '<iq type="set" id="549396"><query
xmlns="jabber:iq:auth"><username>test</username><resource>Test</resource><password>123</password></query></iq>'
DEBUG: IN: "<iq xmlns='jabber:client' id='549396' type='result'/>"
DEBUG: Authenticated
DEBUG: OUT: '<iq type="set" id="549397"><session
xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>'
DEBUG: IN: "<iq xmlns='jabber:client' id='549397' type='error'><error
type='cancel' code='501'><feature-not-implemented
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error><session
xmlns='urn:ietf:params:xml:ns:xmpp-session'/></iq>"
DEBUG: OUT: '</stream:stream>'
Traceback (most recent call last):
  File "uwe_chat.py", line 41, in ?
    s.loop(1)
  File
"/usr/local/graphic/lib/python2.3/site-packages/pyxmpp/client.py", line
134, in loop
    self.stream.loop(timeout)
  File
"/usr/local/graphic/lib/python2.3/site-packages/pyxmpp/stream.py", line
517, in loop
    self._loop_iter(timeout)
  File
"/usr/local/graphic/lib/python2.3/site-packages/pyxmpp/stream.py", line
541, in _loop_iter
    self._process()
  File
"/usr/local/graphic/lib/python2.3/site-packages/pyxmpp/stream.py", line
556, in _process
    self._read()
  File
"/usr/local/graphic/lib/python2.3/site-packages/pyxmpp/stream.py", line
584, in _read
    r=self.reader.feed(r)
  File
"/usr/local/graphic/lib/python2.3/site-packages/pyxmpp/xmlextra.py",
line 99, in feed
    return self.reader.feed(s)
  File
"/usr/local/graphic/lib/python2.3/site-packages/pyxmpp/xmlextra.py",
line 31, in _stanza
    self.stanza(doc,node)
  File
"/usr/local/graphic/lib/python2.3/site-packages/pyxmpp/stream.py", line
358, in stanza
    self._process_node(node)
  File
"/usr/local/graphic/lib/python2.3/site-packages/pyxmpp/stream.py", line
621, in _process_node
    self.process_stanza(stanza)
  File
"/usr/local/graphic/lib/python2.3/site-packages/pyxmpp/stream.py", line
762, in process_stanza
    if self.process_iq(stanza):
  File
"/usr/local/graphic/lib/python2.3/site-packages/pyxmpp/stream.py", line
680, in process_iq
    err_handler(stanza)
  File
"/usr/local/graphic/lib/python2.3/site-packages/pyxmpp/client.py", line
142, in __session_error
    raise FatalClientError("Failed to establish a session")
pyxmpp.client.FatalClientError: Failed to establish a session



-- 
To unsubscribe, send mail to pyxmpp-unsubscribe at lists.bnet.pl.



More information about the Pyxmpp mailing list