Re: Porting the latest gossip to FreeBSD

Martyn Russell <[email protected]> Sun, 03 Aug 2008 21:45:18 +0100
Newsgroups gmane.comp.gnome.gossip.devel
Message-ID <[email protected]>
Joe Marcus Clarke wrote:

Hi :)

> I have been trying to update our gossip port from 0.26 to 0.31.
> Loudmouth 1.4.1 is successfully installed, and gossip 0.31 builds fine
> except for one small patch (attached).  The problem is, gossip 0.31
> refuses to authenticate with jabber.org.  I always get an authentication
> failed (error 4).  If I downgrade to gossip 0.28, everything works.

OK.

First, thanks for the patch!

> If I then upgrade to 0.29, I am no longer able to login again.  I am
> using gnome-keyring, and I can see in my keyring that the password is
> successfully stored.  Debug from 0.31 shows:
> 
> Jabber: Untrusted certificate
> Jabber: Connection open!
> Jabber: Attempting to use JabberID:'[email protected]'
> Jabber: Disconnecting for account:'Test'
> Session: Protocol disconnecting for account:'Test'
> Sound: Protocol disconnecting for account:'Test'
> Session: Protocol disconnected (after 0.00 seconds)
> AppSession: Disconnected account:'Test'
> DBUS: Failed to complete 'state' request. The name
> org.freedesktop.NetworkManager was not provided by any .service files
> JabberUtils: Error:4->'Authentication failed.'
> Session: Error:4->'Authentication failed.'
> AppSession: Error for account:'Test'
> 
> The NetworkManager error doesn't appear to be fatal, and I get this with
> 0.28 as well.  

The network manager issue there shouldn't be a problem. But I wonder if
it is part of the problem?

> Nothing else is different settings-wise between 0.28 and
> 0.31.  I'm using the resource Home, and I am using encryption.  I've
> tried both ports 5222 and 5223.  The server is jabber.org.

Gossip should switch between ports for you. But for old SSL
authentication, you want to use port 5223. Otherwise port 5222 should work.

> Both gossip 0.28 and pidgin can connect with this account and password.
> Creating a new account in gossip 0.31 also does not work.  Any clue as
> to what the problem may be?  Is there any additional troubleshooting I
> can do?  A sniffer isn't helpful as this is all encrypted.

Hmm, interesting. I can connect to my jabber.org account fine here.
If you run Gossip with LM_DEBUG=all, does it give you any more information?

-- 
Regards,
Martyn