Ticket #3786 (closed defect: fixed)

Opened 8 months ago

Last modified 5 months ago

do not connect to gmail (ssl ?)

Reported by: NoX Owned by: asterix
Priority: lowest Milestone: 0.12
Component: None Version: svn
Severity: critical Keywords: gmail ssl connection googleapps
Cc: OS: Unix

Description

I can't connect anymore to my gmail accounts with svn version of gajim. I get this error message when it's trying to :

2008-03-22 17:07:09,575 gajim.c.x.transports_nb: ERROR: Connection to 216.239.51.125 lost: Connection closed unexpectedly [-2]

2008-03-22 17:07:30,310 gajim.c.x.transports_nb: ERROR: Connection to 216.239.51.125 lost: ([('SSL routines', 'SSL3_READ_BYTES', 'ssl handshake failure')],) [-1]

It's working fine with gajim 0.11.4 with the same config (list of checked in "connection"):

  • Warn before using an insecure conneciton
  • Envoi des paquets de maintien de connexion
  • Utiliser un nom d'hote perso : talk.google.com 5223

I suppose the problem is because of a ssl disfunctionment but...

Thanks for working it out !

Attachments

Change History

Changed 8 months ago by shivan

works fine here, with the exact same config, can you reproduce at will, or is it only from time to time ?

Changed 8 months ago by asterix

  • milestone 0.11.4 deleted

could you try to edit src/common/xmpp/transport_nb.py file, line 745, and comment the TLSv1_METHOD line and uncoimment the next one (SSLv23_METHOD) and tell us if it now works?

Changed 8 months ago by lukas.polivka@…

I think he should try proper Gmail setup first, not this for legacy clients which can't do SRV + SASL + STARTTLS

I mean - don't use talk.google.com:5223, just let Gajim/DNS figure out the right host & port itself.

Changed 8 months ago by asterix

I have the same problem here and I have to use SSLv23_METHOD instead of TLSv1_METHOD. But I think TLS is better. So what we should maybe do is to try one, if that fails try the other one?

Changed 7 months ago by NoX

Sorry for the delay (had forgotten the bug since I came back to 0.11.4)

So I commented/uncommented as asked, and it worked fine. Thanks

However, I observe that the not use of custom host & port worked for my *@gmail.com account, but not for my *@personalgmaildns.tld account. So I let the custom host & port for this second account, but then I get this message when it tries to connect (but it connects well) :

"2008-04-13 15:26:40,220 gajim.c.x.transports_nb: ERROR: Connection to 209.85.163.125 lost: Connection closed unexpectedly [-2]"

I don't know if it's normal, but i just wanna tell you in case of...

Thanks again (and for your patience too)

Changed 7 months ago by drujebober@…

i too have this problem, and too working fine after "commented/uncommented". i hope in stable version this bag was be fixed ;) thanks.

sorry for my english.

Changed 7 months ago by Micha

Ditto here. Didn't work with the proposition of Lukas, though, just with the changing of the method. The fallback is probably the best thing to do.

Changed 6 months ago by Dr. Azrael Tod

  • keywords googleapps added

connecting via my @googlemail.com-account works but if i want to use my google-apps-for-your-domain account (@g33ky.de) there seems to be no possible way to get it to connect.

Changed 5 months ago by asterix

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.12

(In [9812]) use SSLv23 method (it support SSLv2, v3 and TLSv1) instead of only TLSv1 method as some server (gmail) don't support TLSv1 method. fixes #3786

Changed 5 months ago by drujebober@…

  • priority changed from high to lowest

thanks. from svn working fine :)

Add/Change #3786 (do not connect to gmail (ssl ?))

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.