[Pidgin] #10450: Incorrect error when connecting to unserved domain

Pidgin trac at pidgin.im
Mon Oct 5 20:13:13 EDT 2009


#10450: Incorrect error when connecting to unserved domain
------------------------+---------------------------------------------------
 Reporter:  darkrain42  |     Owner:  darkrain42
     Type:  defect      |    Status:  new       
Component:  XMPP        |   Version:  2.6.2     
 Keywords:              |  
------------------------+---------------------------------------------------
 If we connect to an XMPP server that doesn't serve the domain we're trying
 to connect to (and the server does not specify a stream version
 attribute), we get a bogus error because the prpl falls back to IQ auth
 before attempting to process the stream error (IQ auth is started in
 parser.c:jabber_parser_element_start_libxml, the stream:error is parsed
 after that).

   1. Create account foo at typist.quicktate.com
   1. Attempt to connect.
   1. Connection errors with bogus "You require encryption..."

 {{{
 (17:08:59) jabber: Sending: <stream:stream to='typist.quicktate.com'
 xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'
 version='1.0'>
 (17:08:59) jabber: Recv (269): <?xml version='1.0'?><stream:stream
 xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'
 id='1548086890' from='typists.quicktate.com' xml:lang='en'><stream:error
 ><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-
 streams'/></stream:error></stream:stream>
 (17:08:59) connection: Connection error on 0x1d28f60 (reason: 5
 description: You require encryption, but it is not available on this
 server.)
 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/10450>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list