[Pidgin] #14690: Pidgin cannot connect to SoapBox server, host-unknown stream error

Pidgin trac at pidgin.im
Mon Oct 24 14:17:37 EDT 2011

#14690: Pidgin cannot connect to SoapBox server, host-unknown stream error
Reporter:  lpeabody  |        Type:  defect                          
  Status:  new       |   Component:  libpurple                       
 Version:  2.10.0    |    Keywords:  xmpp host-unknown soapbox-server
 Currently we're operating on SoapBox Server 2007.  I've done some googling
 and cannot find which XMPP standard it uses, so I'm assuming it was the
 standard set in 2004 http://tools.ietf.org/html/rfc3920#section-4.

 I'm running Pidgin 2.1.  The server requires SSL to authenticate.  I've
 told Pidgin to use old-style SSL and to allow plaintext auth over
 unencrypted systems, and to connect on port 5223.  It seems to
 authenticate fine, but errors out with a host-unknown stream error.  Here
 is the log.

 (14:10:14) account: Connecting to account
 lpeabody at im.ccom.unh.edu/bluewhale.
 (14:10:14) connection: Connecting. gc = 0x7f07b4534c00
 (14:10:14) dnsquery: Performing DNS lookup for
 (14:10:14) dnsquery: IP resolved for
 (14:10:14) proxy: Attempting connection to
 (14:10:14) proxy: Connecting to with no proxy
 (14:10:14) proxy: Connection in progress
 (14:10:14) proxy: Connecting to
 (14:10:14) proxy: Connected to
 (14:10:14) nss: subject=CN=ccom.unh.edu issuer=CN=ccom.unh.edu
 (14:10:14) certificate/x509/tls_cached: Starting verify for
 (14:10:14) certificate/x509/tls_cached: Checking for cached cert...
 (14:10:14) certificate/x509/tls_cached: ...Found cached cert
 (14:10:14) nss/x509: Loading certificate from
 (14:10:14) certificate/x509/tls_cached: Peer cert matched cached
 (14:10:14) nss/x509: Exporting certificate to
 (14:10:14) util: Writing file
 (14:10:14) certificate: Successfully verified certificate for
 (14:10:14) jabber: Sending (ssl) (lpeabody at im.ccom.unh.edu/bluewhale):
 <?xml version='1.0' ?>
 (14:10:14) jabber: Sending (ssl) (lpeabody at im.ccom.unh.edu/bluewhale):
 <stream:stream to='im.ccom.unh.edu' xmlns='jabber:client'
 xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
 (14:10:14) jabber: Recv (ssl)(214): <stream:error
 xmlns="urn:ietf:params:xml:ns:xmpp-streams" /><text
 xmlns="urn:ietf:params:xml:ns:xmpp-streams" xml:lang="en-
 (14:10:14) jabber: Expecting stream header, got error with xmlns
 (14:10:14) connection: Connection error on 0x7f07b4534c00 (reason: 3
 description: XMPP stream header missing)
 (14:10:14) jabber: Expecting stream header, got host-unknown with xmlns
 (14:10:14) jabber: Expecting stream header, got text with xmlns
 (14:10:14) jabber: Recv (ssl)(16): </stream:stream>
 (14:10:14) jabber: xmlParseChunk returned fatal 5
 (14:10:14) account: Disconnecting account
 lpeabody at im.ccom.unh.edu/bluewhale (0x7f07b37a5f10)
 (14:10:14) connection: Disconnecting connection 0x7f07b4534c00
 (14:10:14) jabber: Sending (ssl) (lpeabody at im.ccom.unh.edu/bluewhale):
 (14:10:14) connection: Destroying connection 0x7f07b4534c00

 Now, following is the definition of the host-unknown stream error:

 <host-unknown/> -- the value of the 'to' attribute provided by the
       initiating entity in the stream header does not correspond to a
       hostname that is hosted by the server.

 To me that means the Domain field in the Pidgin settings needs to be set
 to the hostname of the server, which I have done.  So I'm a bit confused
 as to why this is erroring out.

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

More information about the Tracker mailing list