Bug 15397

Summary: telepathy-gabble (GTalk) doesn't work with loudmouth compiled only with openssl support
Product: Telepathy Reporter: Stephen Amar <acetik>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED NOTOURBUG QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
URL: http://bugs.gentoo.org/show_bug.cgi?id=216705
Whiteboard:
i915 platform: i915 features:

Description Stephen Amar 2008-04-07 20:05:37 UTC
Hi,

It seems that when using GTalk (I only tested it with GTalk), telepathy-gabble refuses to connect to google servers because of an SSL error.

This error occurs only when Loudmouth is compiled with openssl and not with gnutls. If I disable the openssl support from loudmouth and active gnutls instead, gabble works perfectly.

Error Message:
(telepathy-gabble:4614): tp-glib-DEBUG: started version 0.7.2 (telepathy-glib
version 0.7.5)
LM-LOG-0x200: Going to connect to talk.google.com:5223

LM-LOG-0x200: Trying 216.239.51.125 port 5223...

LM-LOG-0x200: Connection success (2).


** (telepathy-gabble:4614): WARNING **: SSL_connect(): 0 / SSL_ERROR_SYSCALL
LM-LOG-0x200: SSL_connect()

LM-LOG-0x200: Freeing up IOChannel and file descriptor

(telepathy-gabble:4614): tp-glib-DEBUG: no connections, and timed out

Using:
telepathy-gabble-0.7.2 and loudmouth-1.3.4 on Gentoo Linux.
Comment 1 Will Thompson 2009-06-25 04:15:27 UTC
I'm pretty sure this is caused by a bug in Google Talk's SSL implementation, which was worked around by this loudmouth commit: <http://github.com/m5h/loudmouth/commit/49e74fbe1410383aa74604137801d61528cf536a>.

No Loudmouth release has been made with that patch included; maybe Gentoo should ship it if you want to support Lm with OpenSSL?

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.