[Telepathy] Loudmouth register fails
Matti Reijonen
matti.reijonen at adminotech.com
Mon Mar 9 00:58:22 PDT 2009
Loudmouth register fails
Hi,
I'm trying out telepathy and gabble on windows,
First tried gabble, but moved on testing loudmouth, because it's probably the
root of problems.
I have build loudmouth without libasyncns to make it work in windows and
currently I'm testing lm-register example. I am able post stream headers and receive
server stream header. After that the server posts features, and client sends
register where server responces with 400 bad request..
I have tried to run the example with and without gnutls.
below is the whole debug log, when I get loudmouth first working I get back to
testing telepathy framework in windows.
My version of loudmouth is 1.2.4 that I have ported to windows..
DEBUG LOG:
*** Socket library initialising...
*** Checking for winsock 2.0 or above...
*** Connecting to: jabber.se:5222
*** SRV lookup disabled for jabber.se
Going to connect to jabber.se:5222
Trying 130.236.254.153 port 5222...
Connection success (2).
SEND:
-----------------------------------
<?xml version='1.0' encoding='UTF-8'?>
-----------------------------------
*** g_io_channel_write_chars
*** 38*** bytes_written
*** Sending stream header
*** lm_connection_send
SEND:
-----------------------------------
<stream:stream version="1.0" xmlns="jabber:client" xmlns:stream="http://etherx.j
abber.org/streams" to="jabber.se" id="847872848982">
-----------------------------------
*** g_io_channel_write_chars
*** 132*** bytes_written
RECV [437]:
-----------------------------------
'<?xml version='1.0'?>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='269317488' from='jabber.se' version='1.0' xml:lang='en'>
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>DIGEST-MD5</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
</stream:features>'
-----------------------------------
*** Read: 437 chars
LM-PARSER: ATTRIBUTE: xmlns = jabber:client
LM-PARSER: ATTRIBUTE: xmlns:stream = http://etherx.jabber.org/streams
LM-PARSER: ATTRIBUTE: id = 269317488
LM-PARSER: ATTRIBUTE: from = jabber.se
LM-PARSER: ATTRIBUTE: version = 1.0
LM-PARSER: ATTRIBUTE: xml:lang = en
LM-PARSER: Trying to close node: stream:stream
LM-PARSER: Have a new message
*** New message with type="stream:stream" from: jabber.se
LM-PARSER: ATTRIBUTE: xmlns = urn:ietf:params:xml:ns:xmpp-tls
LM-PARSER: Trying to close node: starttls
LM-PARSER: ATTRIBUTE: xmlns = urn:ietf:params:xml:ns:xmpp-sasl
LM-PARSER: Trying to close node: mechanism
LM-PARSER: Trying to close node: mechanism
LM-PARSER: Trying to close node: mechanisms
LM-PARSER: ATTRIBUTE: xmlns = http://jabber.org/features/iq-register
LM-PARSER: Trying to close node: register
LM-PARSER: Trying to close node: stream:features
LM-PARSER: Have a new message
*** New message with type="stream:error" from: unknown
*** XMPP 1.0 stream received: 269317488
*** lm_connection_send
SEND:
-----------------------------------
<iq type="set" id="401411405138"> <query xmlns="jabber:iq:register"> <username>m
atti at jabber.se</username>
<password>password</password>
</query>
</iq>
-----------------------------------
*** g_io_channel_write_chars
*** 150*** bytes_written
RECV [264]:
-----------------------------------
'<iq from='jabber.se' id='401411405138' type='error'><query xmlns='jabber:iq:reg
ister'> <username>matti at jabber.se</username>
<password>password</password>
</query><error code='400' type='modify'><bad-request xmlns='urn:ietf:params:xml:
ns:xmpp-stanzas'/></error></iq>'
-----------------------------------
*** Read: 264 chars
LM-PARSER: ATTRIBUTE: from = jabber.se
LM-PARSER: ATTRIBUTE: id = 401411405138
LM-PARSER: ATTRIBUTE: type = error
LM-PARSER: ATTRIBUTE: xmlns = jabber:iq:register
LM-PARSER: Trying to close node: username
LM-PARSER: Trying to close node: password
LM-PARSER: Trying to close node: query
LM-PARSER: ATTRIBUTE: code = 400
LM-PARSER: ATTRIBUTE: type = modify
LM-PARSER: ATTRIBUTE: xmlns = urn:ietf:params:xml:ns:xmpp-stanzas
LM-PARSER: Trying to close node: bad-request
LM-PARSER: Trying to close node: error
LM-PARSER: Trying to close node: iq
LM-PARSER: Have a new message
*** New message with type="iq" from: jabber.se
Failed to register account 'matti at jabber.se@jabber.se' due to:
______________________________
Matti Reijonen
Software developer
ADMINO technologies
www.adminotech.com<http://www.adminotech.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/telepathy/attachments/20090309/c2ad3a4b/attachment.htm
More information about the telepathy
mailing list