[JDEV] jabber login question

Steve Dekorte steve at dekorte.com
Mon Apr 9 19:43:55 CDT 2001


On Monday, April 9, 2001, at 05:07 PM, Jens Alfke wrote:

> The header you need to start with is:
>
> <?xml version="1.0" encoding="UTF-8" ?>

Thanks for the reply.
Unfortunately, that doesn't seem to work either:

% telnet jabber.com 5222
Trying 207.182.168.127...
Connected to jabber.com.
Escape character is '^]'.
<?xml version="1.0" encoding="UTF-8" ?>
<stream:stream to='jabber.org' xmlns='jabber:client' 
xmlns:stream='http://etherx.jabber.org/streams'>
<?xml version='1.0'?><stream:stream 
xmlns:stream='http://etherx.jabber.org/streams' id='3AD25548' 
xmlns='jabber:client' from='jabber.org'><iq type="set" id="1000"><query 
xmlns="jabber:iq:auth"><username>stevedekorte2</username><password>xxx</password>
</query></iq>
<stream:error>Server Configuration Error</stream:error>Connection closed 
by foreign host.
%

Something else odd - The standard jabber client doesn't send the header 
you describe. Or at least it doesn't when a have it connect to a local 
telnet server. It does send the stream command though.

Steve




More information about the JDev mailing list