#9338: Unable to connect to the GTalk with GnuTLS 2.8

View: New views
11 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Re: #9338: Unable to connect to the GTalk with GnuTLS 2.8

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#9338: Unable to connect to the GTalk with GnuTLS 2.8
--------------------+-------------------------------------------------------
 Reporter:  LukynZ  |        Owner:  darkrain42
     Type:  defect  |       Status:  new        
Milestone:          |    Component:  Google Talk
  Version:  2.5.6   |   Resolution:            
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by tante):

 Ok, right now I have gnutls-2.8.1 running and it works and Jabber doesn't
 disconnect. I don't know whether 2.8.1 fixed it or whether the error will
 come up later.

 I'll add the changes line real quick and try to get down to the problem
 somehow.

--
Ticket URL: <http://developer.pidgin.im/ticket/9338#comment:21>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #9338: Unable to connect to the GTalk with GnuTLS 2.8

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#9338: Unable to connect to the GTalk with GnuTLS 2.8
--------------------+-------------------------------------------------------
 Reporter:  LukynZ  |        Owner:  darkrain42
     Type:  defect  |       Status:  new        
Milestone:          |    Component:  Google Talk
  Version:  2.5.6   |   Resolution:            
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by tante):

 With the changed patch I get
 {{{
 ssl-gnutls.c: In function ‘ssl_gnutls_init_gnutls’:
 ssl-gnutls.c:71: error: too many arguments to function ‘ssl_gnutls_log’
 make[5]: *** [ssl_gnutls_la-ssl-gnutls.lo] Error 1
 }}}

--
Ticket URL: <http://developer.pidgin.im/ticket/9338#comment:22>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #9338: Unable to connect to the GTalk with GnuTLS 2.8

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#9338: Unable to connect to the GTalk with GnuTLS 2.8
--------------------+-------------------------------------------------------
 Reporter:  LukynZ  |        Owner:  darkrain42
     Type:  defect  |       Status:  new        
Milestone:          |    Component:  Google Talk
  Version:  2.5.6   |   Resolution:            
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by jas):

 Replying to [comment:21 tante]:
 > Ok, right now I have gnutls-2.8.1 running and it works and Jabber
 doesn't disconnect. I don't know whether 2.8.1 fixed it or whether the
 error will come up later.

 Interesting.  Possibly it was a temporary problem at Google's side.
 According to early reports, both 2.8.0 and 2.8.1 failed.  (Btw, the
 differences between 2.8.0 and 2.8.1 are very small.)

 /Simon

--
Ticket URL: <http://developer.pidgin.im/ticket/9338#comment:23>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #9338: Unable to connect to the GTalk with GnuTLS 2.8

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#9338: Unable to connect to the GTalk with GnuTLS 2.8
--------------------+-------------------------------------------------------
 Reporter:  LukynZ  |        Owner:  darkrain42
     Type:  defect  |       Status:  new        
Milestone:          |    Component:  Google Talk
  Version:  2.5.6   |   Resolution:            
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by jas):

 Replying to [comment:22 tante]:
 > With the changed patch I get
 > {{{
 > ssl-gnutls.c: In function ‘ssl_gnutls_init_gnutls’:
 > ssl-gnutls.c:71: error: too many arguments to function ‘ssl_gnutls_log’
 > make[5]: *** [ssl_gnutls_la-ssl-gnutls.lo] Error 1
 > }}}

 Sigh, sorry my fault.  Please add this instead of what I proposed earlier:

 purple_debug_misc("gnutls", "Using API version %s and ABI version %s\n",
 LIBGNUTLS_VERSION, gnutls_check_version (NULL));

 /Simon

--
Ticket URL: <http://developer.pidgin.im/ticket/9338#comment:24>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #9338: Unable to connect to the GTalk with GnuTLS 2.8

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#9338: Unable to connect to the GTalk with GnuTLS 2.8
--------------------+-------------------------------------------------------
 Reporter:  LukynZ  |        Owner:  darkrain42
     Type:  defect  |       Status:  new        
Milestone:          |    Component:  Google Talk
  Version:  2.5.6   |   Resolution:            
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by tante):

 Ok I fixed the patch and it is compiling now.

 I'll do some more testing and hope to manage to reproduce the error
 reliably, I suggest keeping this bug open until we can confirm that it is
 or is not a gnutls problem.

 Thanks for all the help btw.

--
Ticket URL: <http://developer.pidgin.im/ticket/9338#comment:25>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #9338: Unable to connect to the GTalk with GnuTLS 2.8

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#9338: Unable to connect to the GTalk with GnuTLS 2.8
--------------------+-------------------------------------------------------
 Reporter:  LukynZ  |        Owner:  darkrain42
     Type:  defect  |       Status:  new        
Milestone:          |    Component:  Google Talk
  Version:  2.5.6   |   Resolution:            
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by tante):

 Ok, the first version of gnutls that has the error is 2.7.3.
 I'll attach one log of pidgin-2.5.6 with gnutls 2.7.2 (which worked) and
 one with gnutls 2.7.3 which didn't work.

--
Ticket URL: <http://developer.pidgin.im/ticket/9338#comment:26>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #9338: Unable to connect to the GTalk with GnuTLS 2.8

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#9338: Unable to connect to the GTalk with GnuTLS 2.8
--------------------+-------------------------------------------------------
 Reporter:  LukynZ  |        Owner:  darkrain42
     Type:  defect  |       Status:  new        
Milestone:          |    Component:  Google Talk
  Version:  2.5.6   |   Resolution:            
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by tante):

 Oh and just for the record, the account that fails in the output files is
 a jabber.org account, so it's not gtalk's fault.
 Before when things worked I must have messed up somewhere I guess.

--
Ticket URL: <http://developer.pidgin.im/ticket/9338#comment:27>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #9338: Unable to connect to the GTalk with GnuTLS 2.8

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#9338: Unable to connect to the GTalk with GnuTLS 2.8
--------------------+-------------------------------------------------------
 Reporter:  LukynZ  |        Owner:  darkrain42
     Type:  defect  |       Status:  new        
Milestone:          |    Component:  Google Talk
  Version:  2.5.6   |   Resolution:            
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by jas):

 Replying to [comment:26 tante]:
 > Ok, the first version of gnutls that has the error is 2.7.3.
 > I'll attach one log of pidgin-2.5.6 with gnutls 2.7.2 (which worked) and
 one with gnutls 2.7.3 which didn't work.

 Great, thanks.  I suspect this NEWS change is the cause:

 ** libgnutls: Small byte reads via gnutls_record_recv() optimized.

 The reason why you see this and nobody else may be that pidgin's pull
 function seems to return EAGAIN quite often.  That's OK but rather
 untypical.

 I'm trying to identify the code and provide a patch that you can test on
 top of 2.8.1 to see if you get it to work.

 /Simon

--
Ticket URL: <http://developer.pidgin.im/ticket/9338#comment:28>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #9338: Unable to connect to the GTalk with GnuTLS 2.8

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#9338: Unable to connect to the GTalk with GnuTLS 2.8
--------------------+-------------------------------------------------------
 Reporter:  LukynZ  |        Owner:  darkrain42
     Type:  defect  |       Status:  new        
Milestone:          |    Component:  Google Talk
  Version:  2.5.6   |   Resolution:            
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by jas):

 I suspect the patch that introduced this was:

 http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=745436e29f339da41249db1b715e28081373b190

 However applying that in reverse on top of 2.8.1 doesn't work without
 manual work, and I'm out of time right now to finish it.  Maybe someone
 else can do it, but you need some C programming and patch management
 experience.  The instructions are: unpack 2.8.1 and apply the patch above
 in reverse and fix all minor problems to make it build again.  If we can
 confirm that version of 2.8.1 works, we have identified the problematic
 code and can look into exactly where it is buggy.

 /Simon

--
Ticket URL: <http://developer.pidgin.im/ticket/9338#comment:29>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #9338: Unable to connect to the GTalk with GnuTLS 2.8

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#9338: Unable to connect to the GTalk with GnuTLS 2.8
--------------------+-------------------------------------------------------
 Reporter:  LukynZ  |        Owner:  darkrain42
     Type:  defect  |       Status:  closed    
Milestone:          |    Component:  Google Talk
  Version:  2.5.6   |   Resolution:  cantfix    
 Keywords:          |  
--------------------+-------------------------------------------------------
Changes (by darkrain42):

  * status:  new => closed
  * resolution:  => cantfix


Comment:

 This has been confirmed to be a bug in Gnutls. See
 [http://lists.gnu.org/archive/html/gnutls-devel/2009-06/msg00022.html this
 thread] and [http://lists.gnu.org/archive/html/gnutls-
 devel/2009-07/msg00000.html this continuation (in July)].

 [http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=c7e003ad9427c655a1b559baff1239a2c1907f32
 c7e003ad9427c655a1b559baff1239a2c1907f32] in GnuTLS fixes this.

 I'm therefore closing this ticket as cantfix.

--
Ticket URL: <http://developer.pidgin.im/ticket/9338#comment:31>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker

Re: #9338: Unable to connect to the GTalk with GnuTLS 2.8

by Pidgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#9338: Unable to connect to the GTalk with GnuTLS 2.8
--------------------+-------------------------------------------------------
 Reporter:  LukynZ  |        Owner:  darkrain42
     Type:  defect  |       Status:  closed    
Milestone:          |    Component:  Google Talk
  Version:  2.5.6   |   Resolution:  cantfix    
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by chaz6):

 I upgraded to 2.8.2 and can confirm this is fixed upstream.

 http://article.gmane.org/gmane.network.gnutls.general/1733

--
Ticket URL: <http://developer.pidgin.im/ticket/9338#comment:32>
Pidgin <http://pidgin.im>
Pidgin
_______________________________________________
Tracker mailing list
Tracker@...
http://pidgin.im/cgi-bin/mailman/listinfo/tracker
< Prev | 1 - 2 | Next >