GNOME Bugzilla – Bug 591381
Yahoo! Instant Messenger accounts do not work
Last modified: 2009-08-14 12:07:26 UTC
Using 2.27.5, On connection to a Yahoo account, empathy just says "Network error". There is nothing useful in stderr or the debug console. Possibly related to the Yahoo protocol change a few weeks ago. Downstream bug https://bugzilla.redhat.com/show_bug.cgi?id=514998
Please get a debug log from telepathy-haze which is where the problem is. You can read more about debugging Telepathy at http://live.gnome.org/Empathy
Created attachment 140464 [details] haze.log
Log attached, account names changed though.
(haze:2310): haze-DEBUG: init_libpurple: libpurple 2.6.0 loaded (compiled against 2.6.0) Cool, RedHat is shipping an unreleased snapshot of libpurple 2.6.0? Can Pidgin connect? Perhaps the snapshot predates the protocol fix. (Empathy connects to Yahoo using telepathy-haze, a component based on libpurple.) Your log doesn't show you attempting to connect to a Yahoo account. Please disable all your accounts, start Haze, and then enable a Yahoo account.
Um, this is using Fedora rawhide. libpurple 2.6.0 is not released anywhere, by Fedora, or Red Hat. Just like GNOME 2.28 is not released anywhere, nor is Fedora 12, but I'm still using dev snapshots of them, so we can weed out bugs before they get into releases. Yes, pidgin connects just fine. You're right, the log doesn't show anything related to yahoo. If I disable all accounts, and then check yahoo, the entirety of the log is: haze-Message: [info] stun: using server (haze:2607): haze-DEBUG: init_libpurple: libpurple 2.6.0 loaded (compiled against 2.6.0) (haze:2607): tp-glib-DEBUG: tp_proxy_borrow_interface_by_id: 0x1ec04a0: org.freedesktop.DBus DBusGProxy is 0x1ec0510 (haze:2607): haze-DEBUG: get_protocols: Found protocols aim, gadugadu, groupwise, icq, irc, jabber, local-xmpp, msn, myspace, qq, sametime, silc, simple, yahoo, yahoojp, zephyr (haze:2607): haze-DEBUG: haze_connection_manager_init: Initializing (HazeConnectionManager *)0x1ec2190 (haze:2607): tp-glib-DEBUG: started version 0.3.1 (telepathy-glib version 0.7.33) But I am enabling the account and the empathy log shows: (empathy:2612): empathy-DEBUG: status_icon_set_visibility: No enabled account, Showing account dialog (empathy:2612): empathy-DEBUG: account_widget_entry_focus_cb: Setting account to MyScreenName (empathy:2612): empathy-DEBUG: empathy_geometry_save: Saving window geometry: name:main-window x:931, y:203, w:298, h:669 (empathy:2612): empathy-DEBUG: accounts_dialog_enable_toggled_cb: Enable account Yahoo (empathy:2612): empathy-DEBUG: account_widget_entry_focus_cb: Setting account to MyScreenName (empathy:2612): empathy-DEBUG: builder_get_file_valist: Loading file /usr/share/empathy/empathy-account-widget-yahoo.ui ** (empathy:2612): DEBUG: mc_account_get_param_string: Password found in keyring ** (empathy:2612): DEBUG: mc_account_get_param_string: Password found in keyring (empathy:2612): empathy-DEBUG: account_widget_entry_focus_cb: Setting account to MyScreenName (empathy:2612): empathy-DEBUG: enable_or_disable_account: Account Yahoo is now enabled (empathy:2612): empathy-DEBUG: accounts_dialog_enable_toggled_cb: Disabled account Yahoo (empathy:2612): empathy-DEBUG: enable_or_disable_account: Account Yahoo is now disabled (empathy:2612): empathy-DEBUG: accounts_dialog_enable_toggled_cb: Enable account Yahoo (empathy:2612): empathy-DEBUG: enable_or_disable_account: Account Yahoo is now enabled
Sorry, I wasn't on the ball. It really doesn't look like Empathy is requesting a connection from Haze. I wonder if it's not providing some connection parameters that it should be. Perhaps you could attach `dbus-monitor`'s output from trying to connect?
http://caillon.fedorapeople.org/empathy-dbus.txt
Aha: error sender=:1.142 -> dest=:1.140 error_name=org.freedesktop.Telepathy.Error.InvalidArgument reply_serial=223 string "unknown parameters provided: yahoojp serverjp xferjp-host" In libpurple 2.6.0 the yahoo japan stuff has been turned into a separate protocol, rather than misc. options on the main yahoo prpl. MC4 always sets parameters to their default values even if they're not explicitly set, and only reads the .manager file, ignoring what the CM says its parameters are when it's running. Could you try applying the patch I'm about to attach to /usr/share/telepathy/managers/haze.manager, restarting Empathy and seeing if the problem still occurs?
Created attachment 140602 [details] [review] Remove Yahoo Japan options from haze.manager
Comment on attachment 140602 [details] [review] Remove Yahoo Japan options from haze.manager Indeed, this patch works for me.
Okay, cool. I've committed that patch to haze master; you should probably get the Fedora maintainer to patch the package until I make a release. :)