You are not logged in.

#1 2009-06-09 17:32:13

Flying_Funk
Member
From: Chelyabinsk, Russia
Registered: 2009-06-09
Posts: 1

Gajim 0.12.2 failed to connect after upgrade

I have to downgrade to 0.12.1 and that's work fine.

gajim --verbose looks something like this:

DEBUG: socket sent <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">myjidandpass</auth>
DEBUG: dispatcher warn Unknown stanza: error
DEBUG: dispatcher ok Dispatching unknown stanza with type-> props->[u'urn:ietf:params:xml:ns:xmpp-streams'] id->None
DEBUG: client stop Disconnect detected
DEBUG: sasl stop Plugging <common.xmpp.auth_nb.SASL instance at 0x9c2bc2c> out of <common.xmpp.client_nb.NonBlockingClient instance at 0x9c425ec>.
DEBUG: nonblockingt stop Plugging <common.xmpp.transports_nb.NonBlockingTLS instance at 0x9c2ba0c> out of <common.xmpp.client_nb.NonBlockingClient instance at 0x9c425ec>.
DEBUG: dispatcher stop Plugging <common.xmpp.dispatcher_nb.Dispatcher instance at 0x9c2ba4c> out of <common.xmpp.client_nb.NonBlockingClient instance at 0x9c425ec>.
DEBUG: socket stop Plugging <common.xmpp.transports_nb.NonBlockingTcp instance at 0x9c4264c> out of <common.xmpp.client_nb.NonBlockingClient instance at 0x9c425ec>.

Offline

#2 2009-06-09 18:51:12

helios91
Member
Registered: 2009-06-09
Posts: 21

Re: Gajim 0.12.2 failed to connect after upgrade

Same problem here with a Gtalk account.

...
DEBUG: sasl         error Failed SASL authentification: <incorrect-encoding />
...
DEBUG: sasl         error I can only use DIGEST-MD5, GSSAPI and PLAIN mecanisms.

Last edited by helios91 (2009-06-09 18:59:39)

Offline

#3 2009-06-10 09:36:59

trojkat
Member
From: Wrocław, Poland
Registered: 2008-03-03
Posts: 20
Website

Re: Gajim 0.12.2 failed to connect after upgrade

^^ True.


pacnet <- (Gentoo Portage for ArchLinux)

Offline

#4 2009-06-10 13:42:57

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: Gajim 0.12.2 failed to connect after upgrade

Same here with a gmx.net account. My jabber.org account works.

I did not find the appropriate part of the debug output yet ;b

Offline

#5 2009-06-10 19:19:59

Skunnyk
Member
Registered: 2009-06-10
Posts: 2
Website

Re: Gajim 0.12.2 failed to connect after upgrade

Hi,

This is a "typo bug", patch is here : http://trac.gajim.org/changeset/7b796d2 … 83b6a00362
Bug report is here: http://trac.gajim.org/ticket/5084 smile

Offline

#6 2009-06-10 23:14:33

shtrom
Member
Registered: 2009-06-10
Posts: 7
Website

Re: Gajim 0.12.2 failed to connect after upgrade

I just created a PKGBUILD which applies the patch from the Gajim Trac, waiting for 0.12.3 (:

Here it is:

PKGBUILD:

# $Id: PKGBUILD 166 2009-06-10 23:12:25Z shtrom $
# Maintainer: simo <simo@archlinux.org>
# Contributor: Nikos Kouremenos <kourem@gmail.com>
# Contributor: Olivier Mehani <shtrom-arch@ssji.net>
pkgname=gajim
pkgver=0.12.2
pkgrel=2
pkgdesc="Jabber client written in PyGTK"
arch=(i686 x86_64)
url="http://www.gajim.org/"
license=('GPL')
depends=('gtkspell' 'sqlite3' 'dnsutils' 'pygtk' 'libxss' 'perlxml' 'python>=2.5')
makedepends=('gettext' 'pkgconfig')
install=gajim.install
options=(!libtool)
source=(http://www.gajim.org/downloads/gajim-$pkgver.tar.gz
        bug5084_fix.diff)
md5sums=('db0a69aa228559486a6694c4b9f27185'
         '39abb26006b80ec99b94c7b5b36f44e1')

build() {
  cd $startdir/src/gajim-$pkgver
  patch -p1 < ${srcdir}/bug5084_fix.diff
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

bug5084_fix.diff:

Index: src/common/xmpp/auth_nb.py
===================================================================
--- a/src/common/xmpp/auth_nb.py
+++ b/src/common/xmpp/auth_nb.py
@@ -165,7 +165,7 @@
                        self.mecs.remove('PLAIN')
                        sasl_data = u'%s\x00%s\x00%s' % (self.username + '@' + \
                                self._owner.Server, self.username, self.password)
-                       asl_data = sasl_data.encode('utf-8').encode('base64').replace(
+                       sasl_data = sasl_data.encode('utf-8').encode('base64').replace(
                                '\n','')
                        node = Node('auth', attrs={'xmlns': NS_SASL, 'mechanism': 'PLAIN'}, 
                                payload=[sasl_data])

(Be careful with the patch, as space/tab conversions may cause the MD5 check to fail. You may be better off getting directly from Gajim's Trac.)

Last edited by shtrom (2009-06-10 23:15:10)

Offline

#7 2009-06-16 07:24:52

ig0r
Member
From: Ukraine
Registered: 2009-06-16
Posts: 11

Re: Gajim 0.12.2 failed to connect after upgrade

this bug (and other) is fixed in 0.12.3

Offline

#8 2009-06-22 21:35:58

ras0ir
Member
From: Ankara/Turkey
Registered: 2008-06-20
Posts: 65
Website

Re: Gajim 0.12.2 failed to connect after upgrade

im using 0.12.3  (gajim-notify-osd from aur) and i dont have any connection problems. So, package needs to be updated.

Offline

Board footer

Powered by FluxBB