Hi All,

It looks like PyYIMt does not support disco query. After the handshake when
the XMPP server asks for disco, the gateway says that "The feature requested
is not implemented by the recipient or server and therefore cannot be
processed.".

It looks like the message is from xmpppy. Please suggest me how can we make
it work.(We need this disco result and can't proceed without).

Can this be fixed if the problem is in implementation or even can you point
me a suggested fix for this. I don't think it is a configuration issue as
the handshake happened properly. Also I have enabled this disco option
<discoName>Yahoo! Transport</discoName>. The same feature works fine for the
other two(PyMSNt and PyAIMt).

Please see the raw dump below.
Much appreciate your time and help.

Thanks and regards,
-Pravin.


################# RAW XMPP TRAFFIC DUMP###################

DEBUG:
DEBUG: Debug created for /usr/lib/python2.4/site-packages/xmpp/client.py
DEBUG:  flags defined: always,nodebuilder
DEBUG: socket       start Plugging <xmpp.transports.TCPsocket instance at
0x1db1 98> into <xmpp.client.Component instance at 0x1d2bc0>
DEBUG: socket       start Successfully connected to remote host ('
mymachine.india.myorg.com', '5269')
DEBUG: dispatcher   start Plugging <xmpp.dispatcher.Dispatcher instance at
0x1db 120> into <xmpp.client.Component instance at 0x1d2bc0>
DEBUG: dispatcher   info  Registering namespace "unknown"
DEBUG: dispatcher   info  Registering protocol "unknown" as
xmpp.protocol.Protoc ol(unknown)
DEBUG: dispatcher   info  Registering protocol "default" as
xmpp.protocol.Protoc ol(unknown)
DEBUG: dispatcher   info  Registering namespace "
http://etherx.jabber.org/stream s"
DEBUG: dispatcher   info  Registering protocol "unknown" as
xmpp.protocol.Protoc ol(http://etherx.jabber.org/streams)
DEBUG: dispatcher   info  Registering protocol "default" as
xmpp.protocol.Protoc ol(http://etherx.jabber.org/streams)
DEBUG: dispatcher   info  Registering namespace "jabber:component:accept"
DEBUG: dispatcher   info  Registering protocol "unknown" as
xmpp.protocol.Protoc ol(jabber:component:accept)
DEBUG: dispatcher   info  Registering protocol "default" as
xmpp.protocol.Protoc ol(jabber:component:accept)
DEBUG: dispatcher   info  Registering protocol "iq" as
xmpp.protocol.Iq(jabber:c
omponent:accept)
DEBUG: dispatcher   info  Registering protocol "presence" as
xmpp.protocol.Prese nce(jabber:component:accept)
DEBUG: dispatcher   info  Registering protocol "message" as
xmpp.protocol.Messag e(jabber:component:accept)
DEBUG: dispatcher   info  Registering handler <bound method
Dispatcher.streamErr orHandler of <xmpp.dispatcher.Dispatcher instance at
0x1db120>> for "error" type -> ns->(http://etherx.jabber.org/streams)
DEBUG: dispatcher   warn  Registering protocol "error" as
xmpp.protocol.Protocol (http://etherx.jabber.org/streams)
DEBUG: socket       sent  <?xml version='1.0'?>
  <stream:stream xmlns="jabber:component:accept" to="yim.india.myorg.com"
version= "1.0" xmlns:stream="http://etherx.jabber.org/streams"; >
DEBUG: socket       got   <stream:stream xmlns='jabber:component:accept'
xmlns:s tream='http://etherx.jabber.org/streams' from='india.myorg.com'
id='612bd715.11c0d 22edc5._7f8c_2120292735' version='1.0'>
  <stream:features/>
DEBUG: dispatcher   warn  Unknown stanza: features
DEBUG: dispatcher   ok    Dispatching unknown stanza with type-> props->[]
id->N one
DEBUG: dispatcher   info  Registering namespace "jabber:client"
DEBUG: dispatcher   info  Registering protocol "unknown" as
xmpp.protocol.Protoc ol(jabber:client)
DEBUG: dispatcher   info  Registering protocol "default" as
xmpp.protocol.Protoc ol(jabber:client)
DEBUG: dispatcher   info  Registering protocol "iq" as
xmpp.protocol.Iq(jabber:c
lient)
DEBUG: dispatcher   info  Registering protocol "message" as
xmpp.protocol.Messag e(jabber:client)
DEBUG: dispatcher   info  Registering protocol "presence" as
xmpp.protocol.Prese nce(jabber:client)
connected: tcp
DEBUG: dispatcher   info  Registering handler <bound method
Transport.xmpp_messa ge of <__main__.Transport instance at 0x1db508>> for
"message" type-> ns->(jabbe r:client)
DEBUG: dispatcher   info  Registering handler <bound method
Transport.xmpp_prese nce of <__main__.Transport instance at 0x1db508>> for
"presence" type-> ns->(jab ber:client)
DEBUG: dispatcher   info  Registering handler <bound method
Transport.xmpp_iq_di scoinfo_results of <__main__.Transport instance at
0x1db508>> for "iq" type->res ult ns->
http://jabber.org/protocol/disco#info(jabber:client)
DEBUG: dispatcher   info  Registering handler <bound method
Transport.xmpp_iq_ve rsion of <__main__.Transport instance at 0x1db508>> for
"iq" type->get ns->jabbe r:iq:version(jabber:client)
DEBUG: dispatcher   info  Registering handler <bound method
Transport.xmpp_iq_re gister_get of <__main__.Transport instance at
0x1db508>> for "iq" type->get ns-> jabber:iq:register(jabber:client)
DEBUG: dispatcher   info  Registering handler <bound method
Transport.xmpp_iq_re gister_set of <__main__.Transport instance at
0x1db508>> for "iq" type->set ns-> jabber:iq:register(jabber:client)
DEBUG: dispatcher   info  Registering handler <bound method
Transport.xmpp_iq_av atar of <__main__.Transport instance at 0x1db508>> for
"iq" type->get ns->jabber :iq:avatar(jabber:client)
DEBUG: dispatcher   info  Registering handler <bound method
Transport.xmpp_iq_ga teway_get of <__main__.Transport instance at 0x1db508>>
for "iq" type->get ns->j abber:iq:gateway(jabber:client)
DEBUG: dispatcher   info  Registering handler <bound method
Transport.xmpp_iq_ga teway_set of <__main__.Transport instance at 0x1db508>>
for "iq" type->set ns->j abber:iq:gateway(jabber:client)
DEBUG: dispatcher   info  Registering handler <bound method
Transport.xmpp_iq_vc ard of <__main__.Transport instance at 0x1db508>> for
"iq" type->get ns->vcard-t emp(jabber:client)
DEBUG: browser      start Plugging <xmpp.browser.Browser instance at
0x1dbf30> i nto <xmpp.client.Component instance at 0x1d2bc0>
DEBUG: dispatcher   info  Registering handler <bound method
Browser._DiscoveryHa ndler of <xmpp.browser.Browser instance at 0x1dbf30>>
for "iq" type->get ns->htt p://jabber.org/protocol/disco#info(jabber:client)
DEBUG: dispatcher   info  Registering handler <bound method
Browser._DiscoveryHa ndler of <xmpp.browser.Browser instance at 0x1dbf30>>
for "iq" type->get ns->htt p://
jabber.org/protocol/disco#items(jabber:client)
DEBUG: commands     start Plugging <xmpp.commands.Commands instance at
0x1db328>  into <xmpp.client.Component instance at 0x1d2bc0>
DEBUG: dispatcher   info  Registering handler <bound method
Commands._CommandHan dler of <xmpp.commands.Commands instance at 0x1db328>>
for "iq" type->set ns->ht tp://jabber.org/protocol/commands(jabber:client)
DEBUG: dispatcher   info  Registering handler <bound method
Commands._CommandHan dler of <xmpp.commands.Commands instance at 0x1db328>>
for "iq" type->get ns->ht tp://jabber.org/protocol/commands(jabber:client)
DEBUG: browser      info  Registering handler <bound method
Commands._DiscoHandl er of <xmpp.commands.Commands instance at 0x1db328>>
for "" node->http://jabber. org/protocol/commands
DEBUG: browser      info  Registering handler <bound method
Commands._DiscoHandl er of <xmpp.commands.Commands instance at 0x1db328>>
for "yim.india.myorg.com" nod e->http://jabber.org/protocol/commands
DEBUG: browser      info  Registering handler <bound method
Online_Users_Command ._DiscoHandler of <jep0133.Online_Users_Command
instance at 0x1e10f8>> for "yim. india.myorg.com" node->
http://jabber.org/protocol/admin#get-online-users-list
DEBUG: browser      info  Registering handler <bound method
Active_Users_Command ._DiscoHandler of <jep0133.Active_Users_Command
instance at 0x1e1288>> for "yim. india.myorg.com" node->
http://jabber.org/protocol/admin#get-active-users-list
DEBUG: browser      info  Registering handler <bound method
Registered_Users_Com mand._DiscoHandler of <jep0133.Registered_Users_Command
instance at 0x1e1328>> f or "yim.india.myorg.com" node->
http://jabber.org/protocol/admin#get-registered-use rs-list
DEBUG: browser      info  Registering handler <bound method
Edit_Admin_List_Comm and._DiscoHandler of <jep0133.Edit_Admin_List_Command
instance at 0x1e1418>> for  "yim.india.myorg.com" node->
http://jabber.org/protocol/admin#edit-admin
DEBUG: browser      info  Registering handler <bound method
Restart_Service_Comm and._DiscoHandler of <jep0133.Restart_Service_Command
instance at 0x1e1508>> for  "yim.india.myorg.com" node->
http://jabber.org/protocol/admin#restart
DEBUG: browser      info  Registering handler <bound method
Shutdown_Service_Com mand._DiscoHandler of <jep0133.Shutdown_Service_Command
instance at 0x1e1620>> f or "yim.india.myorg.com" node->
http://jabber.org/protocol/admin#shutdown
DEBUG: browser      info  Registering handler <bound method
Connect_Registered_U sers_Command._DiscoHandler of
<adhoc.Connect_Registered_Users_Command instance a t 0x1e1738>> for "
yim.india.myorg.com" node->connect-users
DEBUG: browser      info  Registering handler <bound method
Transport.xmpp_base_ disco of <__main__.Transport instance at 0x1db508>> for
"yim.india.myorg.com" node ->
DEBUG: browser      info  Registering handler <bound method
Transport.xmpp_base_ disco of <__main__.Transport instance at 0x1db508>> for
"muc.india.myorg.com" node ->
DEBUG: browser      info  Registering handler <bound method
Transport.xmpp_base_ disco of <__main__.Transport instance at 0x1db508>> for
"" node->
trying auth
DEBUG: gen_auth     start Plugging <xmpp.auth.NonSASL instance at 0x1e1940>
into  <xmpp.client.Component instance at 0x1d2bc0>
DEBUG: socket       sent
<handshake>9294230de2f62f4a78102245311fe987a634ebd9</h andshake>
DEBUG: dispatcher   info  Registering handler <bound method
NonSASL.handshakeHan dler of <xmpp.auth.NonSASL instance at 0x1e1940>> for
"handshake" type-> ns->(ja bber:component:accept)
DEBUG: dispatcher   warn  Registering protocol "handshake" as
xmpp.protocol.Prot ocol(jabber:component:accept)
DEBUG: gen_auth     notifywaiting on handshake
DEBUG: socket       got   <handshake/>
  <stream:features>
  <gatewayed_session
xmlns='myorg:xmpp:gatewayed:support:gatewayed_session'/>
  </stream:features>
DEBUG: dispatcher   ok    Got jabber:component:accept/handshake stanza
DEBUG: dispatcher   ok    Dispatching handshake stanza with type-> props->[]
id- >None
DEBUG: dispatcher   warn  Unknown stanza: features
DEBUG: dispatcher   ok    Dispatching unknown stanza with type->
props->[u'myorg:x mpp:gatewayed:support:gatewayed_session'] id->None
auth return: old_auth
DEBUG: socket       got   <iq from='[EMAIL PROTECTED]/sinha'
id='_19f35f92.11c0e1ca12f._7ff4_2120836081' lang='en' to='
yim.india.myorg.com' type='get'>
  <query xmlns='http://jabber.org/protocol/disco#info'/>
  </iq>
DEBUG: dispatcher   ok    Got jabber:component:accept/iq stanza
DEBUG: dispatcher   ok    Dispatching iq stanza with type->get props->[u'
http://jabber.org/protocol/disco#info']
id->_19f35f92.11c0e1ca12f._7ff4_2120836081
DEBUG: socket       sent  <iq lang="en" to="[EMAIL PROTECTED]/sinha"
from="yim.india.myorg.com" id="_19f35f92.11c0e1ca12f._7ff4_2120836081"
type="error">
  <query xmlns="http://jabber.org/protocol/disco#info"; />
  <error code="501" type="cancel">
  <feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
  <text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">The feature requested is
not implemented by the recipient or server and therefore cannot be
processed.</text>
  </error>
  </iq>


#############################################################

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"py-transports" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/py-transports?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to