[Pidgin] #8383: disconnecting from gmail with "unsupported stanza type" message

Pidgin trac at pidgin.im
Sun Feb 8 16:01:41 EST 2009


#8383: disconnecting from gmail with "unsupported stanza type" message
--------------------+-------------------------------------------------------
 Reporter:  LukynZ  |           Owner:  deryni
     Type:  defect  |          Status:  new   
Milestone:          |       Component:  XMPP  
  Version:  2.5.4   |      Resolution:        
 Keywords:          |   Launchpad_bug:        
--------------------+-------------------------------------------------------
Description changed by LukynZ:

Old description:

> Hi,
>
> looks like pidgin 2.5.4 have a weird bug.
>
> I have a contact using miranda 0.8.0 build#24 and when I connect to my
> gmail account it check info about me and there is a problem...
>
> he ask pidgin for:
>
> {{{ <iq from="rado83 at jabbim.cz/Miranda"
> to="zavodny.lukas at gmail.com/Pidgin1834BC99" xml:lang="en" type="get"
> id="mir_206"><time xmlns="urn:xmpp:time"/></iq> }}}
>
> and pidgin's answer:
>
> {{{ <xml:iq xmlns='jabber:client' lang='en' id='mir_206'
> to='rado83 at jabbim.cz/Miranda' type='error'><time
> xmlns='urn:xmpp:time'/><error type='cancel' code='501'><feature-not-
> implemented xmlns='urn:ietf:params:xml:ns:xmpp-
> stanzas'/></error></xml:iq> }}}
>
> and then
>
> {{{ <stream:error><unsupported-stanza-type xmlns="urn:ietf:params:xml:ns
> :xmpp-streams"/><str:text xmlns:str="urn:ietf:params:xml:ns:xmpp-
> streams">XML namespace not declared correctly for
> stanza.</str:text></stream:error> }}}
>
> and I am disconnected
>
> ....
>
> my another contact is using miranda 0.7 and his checks:
>
> {{{ <iq type="get" to="zavodny.lukas at gmail.com/PidginEEAFEBFB"
> id="mir_19" from="thoraxim at gmail.com/Work40C26D35"><time
> xmlns="urn:xmpp:time"/></iq> }}}
>
> {{{ <iq xmlns='jabber:client' id='mir_19'
> to='thoraxim at gmail.com/Work40C26D35' type='error'><time
> xmlns='urn:xmpp:time'/><error type='cancel' code='501'><feature-not-
> implemented xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
> }}}
>
> and everything is fine.
>
> I noticed that my first "buggy" contact have in question xml:lang and the
> second one have not.
> Pidgin's replies are in the first time <xml:iq and instead of xml:lang it
> have the lang only...
> In the second one <iq... is ok
>
> I think xml:iq is bug and it does'n exist in any specification (I didn't
> find it)  and server disconnect me with bad parsing.
> I think the problem xml:lang (something around this)
>
> But maybe I am wrong...
>
> Thanks

New description:

 Hi,

 looks like pidgin 2.5.4 have a weird bug.

 I have a contact using miranda 0.8.0 build#24 and when I connect to my
 gmail account it check info about me and there is a problem...

 he ask pidgin for:

 {{{ <iq from="rado83 at jabbim.cz/Miranda"
 to="zavodny.lukas at gmail.com/Pidgin1834BC99" xml:lang="en" type="get"
 id="mir_206"><time xmlns="urn:xmpp:time"/></iq> }}}

 and pidgin's answer:

 {{{ <xml:iq xmlns='jabber:client' lang='en' id='mir_206'
 to='rado83 at jabbim.cz/Miranda' type='error'><time
 xmlns='urn:xmpp:time'/><error type='cancel' code='501'><feature-not-
 implemented xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></xml:iq>
 }}}

 and then

 {{{ <stream:error><unsupported-stanza-type xmlns="urn:ietf:params:xml:ns
 :xmpp-streams"/><str:text xmlns:str="urn:ietf:params:xml:ns:xmpp-
 streams">XML namespace not declared correctly for
 stanza.</str:text></stream:error> }}}

 and I am disconnected

 ....

 my another contact is using miranda 0.7 and his checks:

 {{{ <iq type="get" to="zavodny.lukas at gmail.com/PidginEEAFEBFB" id="mir_19"
 from="thoraxim at gmail.com/Work40C26D35"><time xmlns="urn:xmpp:time"/></iq>
 }}}

 {{{ <iq xmlns='jabber:client' id='mir_19'
 to='thoraxim at gmail.com/Work40C26D35' type='error'><time
 xmlns='urn:xmpp:time'/><error type='cancel' code='501'><feature-not-
 implemented xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq> }}}

 and everything is fine.

 I noticed that my first "buggy" contact have in question xml:lang and the
 second one have not.
 Pidgin's replies are in the first time <xml:iq and instead of xml:lang it
 have the lang only...
 In the second one <iq... is ok

 I think xml:iq is bug and it does'n exist in any specification (I didn't
 find it)  and server disconnect me with bad parsing.
 I think the problem is the xml:lang (something around this)

 But maybe I am wrong...

 Thanks

--

-- 
Ticket URL: <http://developer.pidgin.im/ticket/8383#comment:2>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list