Any progress on dialback issue?

Philip Gladstone philip at
Fri Mar 27 03:38:02 UTC 2009

Peter Saint-Andre wrote:
> What is the hack in question?
> Also, please note that there were generalized issues with s2s to Google
> Talk a while back, caused by some modifications on the Google side. Most
> or all of those have been fixed by Google. Are there still problems
> between djabberd installations and Google Talk?
> Peter
As far as I can tell -- yes. If I am connected to google talk, and I try 
and add as a contact someone on my DJabberd server, then the dialback 
fails. For me, this is quite reproducible.

It appears that google sends a 'not-authorized' in response to DJabberd 
sending the '<stream:features></stream:features>' stanza. Indeed, from a 
packet capture, this looks as though it is exactly what is happening. 
The packet flow is:

TX: <?xml version="1.0" encoding="UTF-8"?><stream:stream to='' 
xmlns:stream='' xmlns='jabber:server' 
xml:lang='en' xmlns:db='jabber:server:dialback' version='1.0'>

RX: <stream:stream from="" id="51FC8F15EDF601B9" version="1.0" 
xmlns:stream="" xmlns="jabber:server" 

TX: <stream:features></stream:features>

RX: <stream:error><not-authorized 

TX: <db:result to='' 

RX: </stream:stream>

TX: </stream:stream>

10787 DEBUG DJabberd.Delivery.S2S                    s2s delivery 
attempt for philip.gladstone at
10787 DEBUG DJabberd.Queue                           Queuing stanza 
(DJabberd::Presence=ARRAY(0x8f5d9c0)) for
10787 DEBUG DJabberd.Queue                             .. pushing queue 
10787 DEBUG DJabberd.Callback                        
$callback->delivered(  ) has been called from 
10787 DEBUG DJabberd.DNS                             DNS socket 
IO::Socket::INET=GLOB(0x8155340) became readable for 'srv'
10787 DEBUG DJabberd.DNS                             DNS socket 
IO::Socket::INET=GLOB(0x8155340) for 'srv' found stuff, now doing 
hostname lookup on
10787 DEBUG DJabberd.DNS                             DNS socket 
IO::Socket::INET=GLOB(0x8ebc02c) became readable for 'a'
10787 DEBUG DJabberd.Queue.ServerOut                 Resolver callback 
for '': [DJabberd::IPEndPoint=HASH(0x8ea7668)]
10787 DEBUG DJabberd.Queue                           Starting connection
10787 DEBUG DJabberd.Connection.ServerOut            New connection '21' 
from <undef>
10787 DEBUG DJabberd.Connection.ServerOut            Connecting to 
'' for ''
10787 DEBUG DJabberd.Queue                           Set connection for 
queue to '' to connection '21'
10787 DEBUG DJabberd.Connection.XML.ServerOut        21 > <?xml 
version="1.0" encoding="UTF-8"?><stream:stream to='' 
xmlns:stream='' xmlns='jabber :server' 
xml:lang='en' xmlns:db='jabber:server:dialback' version='1.0'>
10787 DEBUG DJabberd.Connection.ServerOut            We got a stream 
back from connection 21!

10787 DEBUG DJabberd.Connection.ServerOut            Connection 21 
supports dialback
10787 DEBUG DJabberd.Connection.ServerOut            21 sending 
10787 INFO  DJabberd.DialbackParams                  Generating dialback 
result for vhost
10787 DEBUG DJabberd.DialbackParams                  Generated dialback 
result 'i-943ed83cb0418bda534dfdb3eedcd1269b46198d' using secret(of 
handle 'i')='0.04732086797012160.13565853855344 
10787 DEBUG DJabberd.Connection.ServerOut            21 sending res 
10787 DEBUG DJabberd.Connection.XML.ServerOut        21 < <features 
10787 DEBUG DJabberd.Connection.XML.ServerOut        21 < <error 
Unknown/handled stanza: {}error on 
connection (21), DJabberd::Connection::ServerOut
10787 DEBUG DJabberd.Queue                           connection error 
for queue
10787 DEBUG DJabberd.Queue                             .. match
10787 ERROR DJabberd.Queue.ServerOut                 Connection error 
while connecting to, giving up
10787 DEBUG DJabberd.Callback                        $callback->error( 
connection failure ) has been called from 
10787 DEBUG DJabberd.Callback                        $callback->error( 
connection failure ) has been called from 
10787 DEBUG DJabberd.Connection.ServerOut            DISCONNECT: 21


More information about the Djabberd mailing list