Package: gajim
Version: 0.15.4-1
Severity: normal

I run my own ejabberd server, with a self-signed certificate.  After
creating an account there (outside Gajim), I can connect Gajim to that
account, and I get a dialog warning me about the unknown certificate
("SSL Error: Unable to get local issuer certificate").  This is
expected.

If I click OK, I can connect and chat normally.  Going offline and back
online, I get the dialog again, and I can click OK again and connect
again.  If I exit Gajim and restart it, I get the dialog again, and
clicking OK allows me to connect again.  So far, so good.

Now if at any time I tick the "Ignore the error for this certificate"
checkbox in the dialog before clicking OK, I can connect and chat.  But
I can only connect once: as soon as I go offline (or restart Gajim),
trying to connect again doesn't display the dialog (which is expected),
but the connection doesn't proceed.  Running in a terminal, I get the
following backtrace:

,----
| Traceback (most recent call last):
|   File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 533, in 
_process_events
|     return IdleQueue._process_events(self, fd, flags)
|   File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 394, in 
_process_events
|     obj.pollin()
|   File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 420, in 
pollin
|     self._do_receive()
|   File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 606, in 
_do_receive
|     self._on_receive(received)
|   File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 620, in 
_on_receive
|     self.on_receive(data)
|   File "/usr/share/gajim/src/common/xmpp/client_nb.py", line 320, in <lambda>
|     self.onreceive(lambda _data:self._xmpp_connect_machine(mode, _data))
|   File "/usr/share/gajim/src/common/xmpp/client_nb.py", line 375, in 
_xmpp_connect_machine
|     self._xmpp_connect_machine(mode='STREAM_STARTED')
|   File "/usr/share/gajim/src/common/xmpp/client_nb.py", line 378, in 
_xmpp_connect_machine
|     self._on_stream_start()
|   File "/usr/share/gajim/src/common/xmpp/client_nb.py", line 414, in 
_on_stream_start
|     self._on_connect()
|   File "/usr/share/gajim/src/common/xmpp/client_nb.py", line 451, in 
_on_connect
|     self.on_connect(self, self.connected)
|   File "/usr/share/gajim/src/common/connection.py", line 1287, in 
_connect_success
|     return self.connection_accepted(con, con_type)
|   File "/usr/share/gajim/src/common/connection.py", line 1329, in 
connection_accepted
|     cert=con.Connection.ssl_cert_pem[i],
| IndexError: list index out of range
`----

I can provide test accounts privately if needed for debugging.

Roland.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gajim depends on:
ii  dnsutils     1:9.9.3.dfsg.P2-4
ii  python       2.7.5-5
ii  python-gtk2  2.24.0-3+b1

Versions of packages gajim recommends:
ii  dbus                 1.6.18-1
ii  notification-daemon  0.7.6-1
ii  python-crypto        2.6.1-2
ii  python-dbus          1.2.0-2+b1
ii  python-openssl       0.13-2.1
ii  python-pyasn1        0.1.7-1

Versions of packages gajim suggests:
ii  aspell-en [aspell-dictionary]  7.1-0-1
ii  avahi-daemon                   0.6.31-2
pn  dvipng                         <none>
ii  gnome-keyring                  3.8.2-2
ii  gstreamer0.10-plugins-ugly     0.10.19-2+b3
pn  kwalletcli                     <none>
ii  libgtkspell0                   2.0.16-1
ii  libxss1                        1:1.2.2-1
ii  nautilus-sendto                3.6.1-2
ii  network-manager                0.9.8.0-5
ii  python-avahi                   0.6.31-2
pn  python-farstream               <none>
ii  python-gconf                   2.28.1+dfsg-1
ii  python-gnome2                  2.28.1+dfsg-1
ii  python-gnomekeyring            2.32.0+dfsg-3
pn  python-gupnp-igd               <none>
pn  python-kerberos                <none>
ii  python-pycurl                  7.19.0-7
ii  texlive-latex-base             2013.20131010-2

-- no debconf information

-- 
Roland Mas

If you spit in the air, it lands in your face.
  -- Tevye, in Fiddler on the roof


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to