id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,irc_client,os,os_version 569,"Can't connect to Jabber server on localhost (""stanza sent before session start"")",thecloud,,"I have a Jabber server at localhost:5223 (it's actually not running on the same machine, but rather is port-forwarded via SSH.) Other clients (Adium, mcabber) are able to connect without a problem. Bitlbee (also running locally, in daemon mode) fails every time after making the connection and authenticating: {{{ 00:39 <@root> jabber - Logging in: Connecting 00:39 <@root> jabber - Logging in: Connected to server, logging in 00:39 <@root> jabber - Logging in: Authentication finished 00:39 <@root> jabber - Couldn't log in: Stream error: not-authorized: stanza sent before session start 00:39 <@root> jabber - Logging in: Signing off.. }}} This is on Mac OS X 10.5.8, but Google shows that at least one other person has run into this on Gentoo; see bugs.gentoo.org/238533. Here are the settings for this account: {{{ 00:43 <@thecloud> account set 1 00:43 <@root> auto_connect = `0' 00:43 <@root> auto_reconnect = `true' 00:43 <@root> password is empty 00:43 <@root> username = `thecloud@XXXXXXX.XXXXX.com' 00:43 <@root> port = `5223' 00:43 <@root> priority = `0' 00:43 <@root> resource = `Bitlbee' 00:43 <@root> resource_select = `priority' 00:43 <@root> server = `localhost' 00:43 <@root> ssl = `true' 00:43 <@root> tls = `try' 00:43 <@root> xmlconsole = `true' }}} Finally, here is the xmlconsole spew (note: I had to replace the beginning of URLs with XXXX's to avoid the spam filter!) {{{ 00:39 -!- Irssi: Starting query in localhost with xmlconsole 00:39 TX: 00:39 RX: DIGEST-MD5PLAINGSSAPIDIGEST-MD5 00:39 TX: 00:39 RX: bm9uY2U9ImxJb2FKdHNTdUk1V0JrbGpRNHZnc1l5am1Ybjl4dUwxVjcybGo4SUJadW89IixyZWFsbT0ic3dlY2hhdC5hcHBsZS5jb20iLHFvcD0iYXV0aCIsbWF4YnVmPTY1NTM2LGNoYXJzZXQ9dXRmLTgsYWxnb3JpdGhtPW1kNS1zZXNz 00:39 TX: dXNlcm5hbWU9InRoZWNsb3VkIixyZWFsbT0ic3dlY2hhdC5hcHBsZS5jb20iLG5vbmNlPSJsSW9hSnRzU3VJNVdCa2xqUTR2Z3NZeWptWG45eHVMMVY3MmxqOElCWnVvPSIsY25vbmNlPSIxU2ZoVHJuMXAwUFArTytBNFpUUEx2NDNNRWJjTkxTTzkrZTk3TTh2IixuYz0wMDAwMDAwMSxxb3A9YXV0aCxkaWdlc3QtdXJpPSJ4bXBwL3N3ZWNoYXQuYXBwbGUuY29tIixyZXNwb25zZT1mNjU0Yjk2NjUyM2JmNmY1OTgwYWY3NjAwNzdiNjlkZixjaGFyc2V0PXV0Zi04 00:39 RX: cnNwYXV0aD0xOTZlNThlMjVlMjU4YWYxNTI4ZThhOWVjNTYwZmVlZA== 00:39 TX: 00:39 RX: 00:39 TX: 00:39 RX: 00:39 TX: Bitlbee 00:39 TX: 00:39 RX: stanza sent before session start 00:39 TX: }}} ",defect,closed,normal,,BitlBee,1.2.4,fixed,,,Irssi v0.8.14,MacOS,Mac OS X