Bug 41696 - Should close SASL channel if connection timed out
Summary: Should close SASL channel if connection timed out
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-11 12:57 UTC by Guillaume Desmottes
Modified: 2019-12-03 19:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Guillaume Desmottes 2011-10-11 12:57:31 UTC
Original bug report: https://bugzilla.gnome.org/show_bug.cgi?id=660557

If I understand the log correctly, we fail to connect because user waited too long to enter his password and so the connection timed out.


method call sender=:1.135 -> dest=:1.115 serial=68 path=/org/freedesktop/Telepathy/Connection/gabble/jabber/cfergeau_40gmail_2ecom_2fbe55b7d4/ServerSASLChannel; interface=org.freedesktop.Telepathy.Channel.Interface.SASLAuthentication; member=StartMechanismWithData
   string "X-TELEPATHY-PASSWORD"
   array of bytes "foobar"
signal sender=:1.115 -> dest=(null destination) serial=51 path=/org/freedesktop/Telepathy/Connection/gabble/jabber/cfergeau_40gmail_2ecom_2fbe55b7d4/ServerSASLChannel; interface=org.freedesktop.Telepathy.Channel.Interface.SASLAuthentication; member=SASLStatusChanged
   uint32 1
   string ""
   array [
   ]
method return sender=:1.115 -> dest=:1.135 reply_serial=68
signal sender=:1.115 -> dest=(null destination) serial=53 path=/org/freedesktop/Telepathy/Connection/gabble/jabber/cfergeau_40gmail_2ecom_2fbe55b7d4/ServerSASLChannel; interface=org.freedesktop.Telepathy.Channel.Interface.SASLAuthentication; member=SASLStatusChanged
   uint32 5
   string "org.freedesktop.Telepathy.Error.ConnectionLost"
   array [
      dict entry(
         string "debug-message"
         variant             string "WOCKY_AUTH_ERROR_CONNRESET (#7): Disconnected"
      )
   ]
signal sender=:1.115 -> dest=(null destination) serial=54 path=/org/freedesktop/Telepathy/Connection/gabble/jabber/cfergeau_40gmail_2ecom_2fbe55b7d4; interface=org.freedesktop.Telepathy.Connection; member=ConnectionError
   string "org.freedesktop.Telepathy.Error.ConnectionLost"
   array [
      dict entry(
         string "debug-message"
         variant             string "WOCKY_AUTH_ERROR_CONNRESET (#7): Disconnected"
      )
   ]


Ideally we should catch this sooner and so close the channel right away. There is no point asking for a password on an already dead connection.
Comment 1 GitLab Migration User 2019-12-03 19:54:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-gabble/issues/183.


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.