#379 closed defect (worksforme)

Unable to login with gmail account

Reported by: renchap@… Owned by:
Priority: major Milestone:
Component: Jabber Version: 1.2
Keywords: Cc:
IRC client+version: Client-independent Operating System: Linux
OS version/distro: Gentoo amd64


I cant login to my gtalk account using bitlbee :

12:53:32 @      renchap | account add jabber password
12:53:32 @         root |  Account successfully added
12:53:35 @      renchap | account list
12:53:35 @          root  0. msn, (connected)
12:53:35 @          root  1. oscar, renchapav (connected)
12:53:35 @          root  2. yahoo, renchap13 (connected)
12:53:35 @          root  3. jabber, (connected)
12:53:35 @         root |   4. oscar, 43670193 (connected)
12:53:35 @          root  5. jabber,
12:53:35 @         root |  End of account list
12:53:40 @      renchap | account on 5
12:53:40 @          root jabber( - Logging in: Connecting
12:53:40 @          root jabber( - Logging in: Connected to server, logging in
12:53:40 @          root jabber( - Logging in: Converting stream to TLS
12:54:00 @          root jabber( - Logging in: Connected to server, logging in
12:54:00 @          root jabber( - Couldn't log in: Short write() to server
12:54:00 @          root jabber( - Logging in: Signing off..
12:54:00 @          root jabber( - Logging in: Reconnecting in 300 seconds..

bitlbee server : i have tried with another jabber account, does not work :(

Attachments (0)

Change History (6)

comment:1 Changed at 2008-03-22T12:01:34Z by wilmer

Which SSL module are you using?

comment:2 Changed at 2008-03-23T10:45:56Z by renchap@…

How can i see this ?

comment:3 Changed at 2008-03-23T15:05:24Z by wilmer

If you have access to the machine that runs BitlBee, you can use ldd or check Makefile.settings in the build tree. Otherwise, there's no way to see this.

I assume that server's running Gentoo? There are known issues with BitlBee and Gentoo's version of OpenSSL.

comment:4 Changed at 2008-03-23T18:26:41Z by renchap@…

ldd /usr/sbin/bitlbee =>  (0x00007fff1f3fd000) => /usr/lib/ (0x00002b1c8ba40000) => /lib/ (0x00002b1c8bc44000) => /usr/lib/ (0x00002b1c8be48000) => /usr/lib/ (0x00002b1c8c10f000) => /usr/lib/ (0x00002b1c8c35a000) => /lib/ (0x00002b1c8c6d1000)
        /lib64/ (0x00002b1c8b814000)

It is bitlbee 1.2 gentoo package, you can find it here :

Compiled with the following use flags : [code] [ebuild R ] net-im/bitlbee-1.2 USE="ipv6 jabber msn oscar ssl yahoo -debug -gnutls -nss -xinetd" 0 kB code

I have enabled the gnutls use flag, and it works now. Maybe you (or i) should open a bug in gentoo bugtracker.

Thanks a lot :)

comment:5 Changed at 2008-03-23T21:23:56Z by wilmer

Resolution: worksforme
Status: newclosed

That could be nice. There may be a problem in BitlBee as well, although so far this hasn't showed up on any other system than Gentoo, even though my Debian testing box has exactly the same (upstream) version of OpenSSL.

So if you could open a bug with the port maintainer, that'd be great. Is it possible to Cc me on it even though I don't have an account on their BTS?

comment:6 Changed at 2008-12-21T21:30:24Z by paul.t.hinze@…

I am getting the short write error described above on a copy of bitlbee I compiled from scratch from the development bzr branch with openssl on an Ubuntu 8.10 machine. I'm running the bitlbee server locally.

Here is the error showing up:

15:27 <@phinze> account set 2
15:27 <@root> auto_connect = `1'
15:27 <@root> auto_reconnect = `true'
15:27 <@root> password is empty
15:27 <@root> username = `'
15:27 <@root> port = `5223'
15:27 <@root> priority = `0'
15:27 <@root> resource = `BitlBee'
15:27 <@root> resource_select = `priority'
15:27 <@root> server = `'
15:27 <@root> ssl = `true'
15:27 <@root> tls = `true'
15:27 <@root> xmlconsole = `false'
15:27 <@phinze> account on 2
15:27 <@root> jabber( - Logging in: Connecting
15:27 <@root> jabber( - Logging in: Connected to server, logging in
15:27 <@root> jabber( - Couldn't log in: Short write() to server
15:27 <@root> jabber( - Logging in: Signing off..

Here is the ldd output on my compiled binary:

$ ldd /usr/local/sbin/bitlbee =>  (0xb7f5d000) => /usr/lib/ (0xb7f29000) => /usr/lib/ (0xb7e72000) => /usr/lib/i686/cmov/ (0xb7e2b000) => /usr/lib/i686/cmov/ (0xb7ce0000) => /lib/tls/i686/cmov/ (0xb7b82000) => /lib/tls/i686/cmov/ (0xb7b7e000) => /lib/ (0xb7b54000)
        /lib/ (0xb7f43000)

I am going to try with gnutls instead and see if that resolves the problem, but I figure this does effectively open the issue back up as it's not gentoo-specific.

Modify Ticket

as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.