<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=FI link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US>Loudmouth register fails<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Hi,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I'm trying out telepathy and gabble on
windows,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>First tried gabble, but moved on testing
loudmouth, because it’s probably the<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>root of problems. <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I have build loudmouth without libasyncns
to make it work in windows and <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>currently I'm testing lm-register example.
I am able post stream headers and receive<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>server stream header. After that the server
posts features, and client sends<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>register where server responces with 400
bad request..<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I have tried to run the example with and
without gnutls.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>below is the whole debug log, when I get
loudmouth first working I get back to<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>testing telepathy framework in windows.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>My version of loudmouth is 1.2.4 that I
have ported to windows..<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>DEBUG LOG:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** Socket library initialising...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** Checking for winsock 2.0 or above...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** Connecting to: jabber.se:5222<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** SRV lookup disabled for jabber.se<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Going to connect to jabber.se:5222<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Trying 130.236.254.153 port 5222...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Connection success (2).<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>SEND:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>-----------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><?xml version='1.0'
encoding='UTF-8'?><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>-----------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** g_io_channel_write_chars<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** 38*** bytes_written<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** Sending stream header<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** lm_connection_send<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>SEND:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>-----------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><stream:stream version="1.0"
xmlns="jabber:client" xmlns:stream="http://etherx.j<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>abber.org/streams" to="jabber.se"
id="847872848982"><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>-----------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** g_io_channel_write_chars<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** 132*** bytes_written<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>RECV [437]:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>-----------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>'<?xml version='1.0'?><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><stream:stream xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams' id='269317488' from='jabber.se'
version='1.0' xml:lang='en'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><stream:features><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <starttls
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <mechanisms
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <mechanism>DIGEST-MD5</mechanism><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <mechanism>PLAIN</mechanism><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> </mechanisms><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <register
xmlns='http://jabber.org/features/iq-register'/><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US></stream:features>'<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>-----------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** Read: 437 chars<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: ATTRIBUTE: xmlns = jabber:client<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: ATTRIBUTE: xmlns:stream =
http://etherx.jabber.org/streams<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: ATTRIBUTE: id = 269317488<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: ATTRIBUTE: from = jabber.se<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: ATTRIBUTE: version = 1.0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: ATTRIBUTE: xml:lang = en<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: Trying to close node: stream:stream<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: Have a new message<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** New message with
type="stream:stream" from: jabber.se<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: ATTRIBUTE: xmlns =
urn:ietf:params:xml:ns:xmpp-tls<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: Trying to close node: starttls<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: ATTRIBUTE: xmlns =
urn:ietf:params:xml:ns:xmpp-sasl<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: Trying to close node: mechanism<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: Trying to close node: mechanism<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: Trying to close node: mechanisms<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: ATTRIBUTE: xmlns =
http://jabber.org/features/iq-register<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: Trying to close node: register<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: Trying to close node:
stream:features<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: Have a new message<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** New message with
type="stream:error" from: unknown<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** XMPP 1.0 stream received: 269317488<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** lm_connection_send<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>SEND:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>-----------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><iq type="set"
id="401411405138"> <query
xmlns="jabber:iq:register"> <username>m<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>atti@jabber.se</username><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <password>password</password><o:p></o:p></span></p>
<p class=MsoNormal></query> <o:p></o:p></p>
<p class=MsoNormal></iq><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>-----------------------------------<o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>*** g_io_channel_write_chars<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** 150*** bytes_written<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>RECV [264]:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>-----------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>'<iq from='jabber.se' id='401411405138'
type='error'><query xmlns='jabber:iq:reg<o:p></o:p></span></p>
<p class=MsoNormal>ister'> <username>matti@jabber.se</username><o:p></o:p></p>
<p class=MsoNormal> <span lang=EN-US><password>password</password><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US></query><error code='400'
type='modify'><bad-request xmlns='urn:ietf:params:xml:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>ns:xmpp-stanzas'/></error></iq>'<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>-----------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** Read: 264 chars<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: ATTRIBUTE: from = jabber.se<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: ATTRIBUTE: id = 401411405138<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: ATTRIBUTE: type = error<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: ATTRIBUTE: xmlns = jabber:iq:register<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: Trying to close node: username<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: Trying to close node: password<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: Trying to close node: query<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: ATTRIBUTE: code = 400<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: ATTRIBUTE: type = modify<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: ATTRIBUTE: xmlns =
urn:ietf:params:xml:ns:xmpp-stanzas<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: Trying to close node:
bad-request<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: Trying to close node: error<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: Trying to close node: iq<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>LM-PARSER: Have a new message<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>*** New message with type="iq"
from: jabber.se<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Failed to register account
'matti@jabber.se@jabber.se' due to:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>______________________________<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Matti Reijonen<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Software developer<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>ADMINO technologies<o:p></o:p></span></p>
<p class=MsoNormal><a href="http://www.adminotech.com"><span style='color:blue'>www.adminotech.com</span></a><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>