not-authorized error during dialback authentication with
gmail.com
Piers Harding
piers at ompka.net
Sat Jan 31 07:08:04 UTC 2009
Hi -
I've reported this problem before, with openfire servers - it just
started happening to me a couple of months back.
I was kind of hoping someone with commit access would remove the problem
code.
Cheers,
Piers Harding.
On Fri, Jan 30, 2009 at 06:16:15PM -0800, Gordon Irlam wrote:
> Hi,
>
> I've been having difficulties getting my DJabberd to federate with
> gmail.com. It federates fine with jabber.com.
>
> I've attached a packet trace at the end of this email, but it seems
> the problem is caused by the following code in
> Connection/ServerOut.pm:
>
> if ($ss->version->supports_features) {
> # they can eat a dick for all we care. they get no features.
> # what is this weird XMPP 1.0 + old-school Dialback world anyway?
> # maybe we're still confused. FIXME: care.
> my $features = "<stream:features></stream:features>";
> $self->write($features);
> $self->log->debug("$self->{id} sending '$features'");
> }
>
> Deleting this code allows my DJabberd to federate with Google.
>
> This is my first tweak to DJabberd, so I wanted to check if it is safe
> to delete this code, or are there gremlins I don't understand.
>
> Also, is this really a Google problem? Should I follow up with them
> too?
>
> thanks,
> Gordon
>
> -----------------------------------------------------
>
> myserver.32838 > wf-in-f125.google.com.xmpp-server:
> <?xml version="1.0" encoding="UTF-8"?><stream:stream to='gmail.com'
> xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:server'
> xml:lang='en' xmlns:db='jabber:server:dialback' version='1.0'>
>
> wf-in-f125.google.com.xmpp-server > myserver.32838:
> <?xml version="1.0" encoding="UTF-8"?><stream:stream from="gmail.com"
> id="0A8E5AD27E429B7E" version="1.0"
> xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:server"
> xmlns:db="jabber:server:dialback">
>
> wf-in-f125.google.com.xmpp-server > myserver.32838:
> <stream:features><dialback
> xmlns="urn:xmpp:features:dialback"/></stream:features>
>
> myserver.32838 > wf-in-f125.google.com.xmpp-server:
> <stream:features></stream:features>
>
> wf-in-f125.google.com.xmpp-server > myserver.32838:
> <stream:error><not-authorized
> xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error>
--
Home - http://www.piersharding.com
xmpp:piers at ompka.net
More information about the Djabberd
mailing list