gossip fails to authenticate

Bug #32607 reported by Dafydd Harries
14
Affects Status Importance Assigned to Milestone
Gossip
Fix Released
High
gossip (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Each time Gossip attempts to authenticate with a server, it prints the following message:

** (gossip:17617): CRITICAL **: lm_connection_authenticate: assertion `resource != NULL' failed

The server in question is jabber.org.

Revision history for this message
Sebastien Bacher (seb128) wrote :

what version of the package?

Revision history for this message
Dafydd Harries (daf) wrote : Re: [Bug 32607] gossip fails to authenticate

Ar 23/02/2006 am 16:46, ysgrifennodd Sebastien Bacher:
> what version of the package?

0.10-0ubuntu1

--
Dafydd

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for the bug report. As the critical warning clearly indicates some bug, may I ask, if you checked your user/password?

Changed in gossip:
status: Unconfirmed → Needs Info
Revision history for this message
Dafydd Harries (daf) wrote :

Ar 23/02/2006 am 18:17, ysgrifennodd Daniel Holbach:
> Thanks for the bug report. As the critical warning clearly indicates
> some bug, may I ask, if you checked your user/password?

I installed Gaim and succesfully managed to log into the Jabber account,
although authentication was very slow.

--
Dafydd

Changed in gossip:
assignee: nobody → desktop-bugs
status: Needs Info → Unconfirmed
Revision history for this message
Colin Marquardt (ubuntu-marquardt-home) wrote :

I can confirm this.

Revision history for this message
Robert Collins (lifeless) wrote :

Me too, same symptoms.

Revision history for this message
Gabriel Bauman (gabrielbauman) wrote :

Confirmed here as well. I checked my Jabber server's firewall logs and the Jabber daemon's error log - no issue with connectivity. Gajim and GAIM both connect with no problems.

I am using Dapper package 0.10-0ubuntu1.

Revision history for this message
Daniel Holbach (dholbach) wrote :

could you try again with 0.10.1 (soon in the archive)?

Changed in gossip:
status: Unconfirmed → Needs Info
Revision history for this message
Gabriel Bauman (gabrielbauman) wrote :

Ok... 0.10.1 is still broken.

There are now no errors on the console. Gossip starts up and the notification icon is put in the console with the green "Connected" icon displayed.

However, the Status combobox and all of the menu options that would ordinarily be enabled when the client is connected to a server are *disabled*. The contact list remains empty. Selecting Chat->Connect does nothing. netstat shows no Jabber connections or other network activity.

Revision history for this message
Gabriel Bauman (gabrielbauman) wrote :

Tried again after deleting ~/.gnome2/Gossip and got the same result.

Revision history for this message
Dafydd Harries (daf) wrote :

I found a workaround. Jordi mentioned that this can happen if the <id> element in accounts.xml doesn't have a resource -- i.e. foo@bar rather than foo@bar/resource. Adding resources by hand to this file makes it work again.

Revision history for this message
Colin Marquardt (ubuntu-marquardt-home) wrote :

Indeed, adding a resource to the <id> fixes it for me. Thanks for mentioning that.

Revision history for this message
Gabriel Bauman (gabrielbauman) wrote :

Fixes it for me too. Can we assume that this is an upstream issue then? If so, should probably open a bug in the GNOME tracker and link it to this one.

Revision history for this message
Daniel Holbach (dholbach) wrote :

In bug 35706 I asked for UpstreamVersionFreeze exception for gossip 0.10.2 - this includes the following fix

"- Changed the account ID for Jabber IDs back to 'username@server' and
make the resource a separate entity in the accounts.xml (note: there
is some extra code to make sure the same problems that occurred last
time don't reoccurr this time with invalid usernames when trying to
connect) (Martyn). "

That one will hopefully make the world happy again. I'd be grateful, if you could check, once it's in the archive.

Changed in gossip:
status: Needs Info → Confirmed
Revision history for this message
Colin Marquardt (ubuntu-marquardt-home) wrote :

I had added the resource to the <id> entity as suggested by Dafydd and so gossip 0.10.1 worked, and 0.10.2 has correctly converted that to use the <resource> entity, so it still works.

If I now delete that <resource> entity, gossip doesn't connect and also doesn't print an error message to the console. I'm not sure if it could cope with an old-style accounts.xml.

Revision history for this message
Sebastien Bacher (seb128) wrote :

fixed according to upstream, I'm closing the bug. Feel free to reopen if you still get the issue with the new version

Changed in gossip:
status: Confirmed → Fix Released
Changed in gossip:
status: Rejected → Fix Released
Changed in gossip:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.