Re: bad-namespace-prefix when connecting to a non-public server
From: Brian Arandez <barandez@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 31 Aug 2006 00:48:32 +0200

On 08 31, 06, at 3:28 AM, Brian Arandez wrote:


On 08 30, 06, at 4:47 PM, Jakob Schroeter wrote:

On Wednesday August 30 2006 10:46, Brian Arandez wrote:
This is what happens when i try to register a new account:

[...]

Which server implementation is this?

The server being used is a Wildfire server

Are you able to connect to that server with any other client?

Yeah. I've been able to connect to the server using the AgsXMPP
client library. But yeah... its .Net and it doesn't run properly on
Mac OS X. Is the bad-namespace-prefix error a problem with the
server? Is there a workaround for this from the client?

I just tried with Psi and it didn't work. Same error. Could you post the first
couple of packets agsXMPP sends and receives?
gloox usually works just fine with Wildfire (and vice versa...).


Thanks. This is what a normal connection looks like...

SEND: <stream:stream to='extranet.digitalvariant.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/ streams' version='1.0'>

RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/ streams" version="1.0" from="extranet.digitalvariant.com" xml:lang="en" id="cbfb5f92" >

RECV: <stream:features xmlns:stream="http://etherx.jabber.org/ streams"><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp- sasl"><mechanism>PLAIN</mechanism><mechanism>CRAM-MD5</ mechanism><mechanism>DIGEST-MD5</mechanism></ mechanisms><compression xmlns="http://jabber.org/features/ compress"><method>zlib</method></compression><auth xmlns="http:// jabber.org/features/iq-auth" /><register xmlns="http://jabber.org/ features/iq-register" /></stream:features>

[...]

I don't know how to read the xml files, but i did notice one inconsistency...

the client receives a bad-namespace-prefix xmlns=urn:ietf:params:xml:ns:xmpp-streams. The server sends the xmlns="urn:ietf:params:xml:ns:xmpp-sasl"

RECV: <stream:features xmlns:stream="http://etherx.jabber.org/ streams"><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp- sasl"><mechanism>PLAIN</mechanism><mechanism>CRAM-MD5</ mechanism><mechanism>DIGEST-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress";><method>zlib</method></ compression><auth xmlns="http://jabber.org/features/iq-auth"; / ><register xmlns="http://jabber.org/features/iq-register"; /></ stream:features>

Could this be a cause of the incompatibility/error?




Jakob
--
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx

--
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx

-- 
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx