powered by Jive Software

GAIM & Jive

Hi All,

I love the install, but have a question. Can I get GAIM to work on Jive server over SSL? It works fine over non-secure 5222 but not 5223 with either the “Use TLS if Available Option” or the “Force Old SSL” options. I either get Handshake Failed (with Force Old SSL) or Read Error (with only Use TLS if Available Option).

I am able to connect with JAJC without any problem. It should be noted that I am using the default SSL Certificate that came with the install.

The only response to this I see in the forums is to use a different client. Which to me is unacceptable given my situation, my company chose GAIM as its client because it offered the best stability with ease of use. And non-SSL connections are not authorized but I will make that another post.

Thanks,

Ken

Ken,

Right now, Jive Messenger only supports the older SSL option (sounds like that is “Force Old SSL” over 5223 with GAIM). I wonder if one of the GAIM developers would be able to help us figure out why the connections are failing?

Regards,

Matt

That would be great. I did get this from the debug log on the server:

*2005.03.07 15:12:45 SSL Connect 602b6b[SSL_NULL_WITH_NULL_NULL: Socket[addr=/127.0.0.1,port=1485,localport=5223]]

How do you think we should go about getting GAIM developers to pitch in? If we need to that is. If the debug code helps, let me know too.

Thanks!!!

  • Ken

Ken,

Would you be willing to post the issue and the exception you see to their forums/mailing list to see if that can get a conversation started? We’'d be more than happy to work with them on the issue.

Thanks,

Matt

I sent an email to to both the GAIM Lead Project Developer Sean and Matt. Hoping to hear something soon from either camp.

Thanks!!!

  • Ken

Are you using gnutls or nss as your SSL library? What does the debug output from gaim say?

I am not sure on the SSL Library, but I see an ssl-nss.dll file in the plugins directory for GAIM. I am assuming it is using the NSS version.

Please note there is also an ssl.dll file as well, so I can’'t be 100% sure.

Additionally, I can’'t seem to get GAIM to run in Debug mode. I will give it a try again this morning and post what I find.

Alright, the SSL is NSS. It shows in the About GAIM box under help.

Now, for the Debug Info for GAIM. I have connect info here for all different forms of SSL connections. Please note that the SSL connect is being attempted over the Jabber Standard SSL port of 5223. Here it is:

Could not read reg key ‘‘HKLM’’ subkey ‘‘SOFTWARE\GTK\2.0’’ value: '‘DllPath’'Error: 126

GTK+ path found: C:\Program Files\Common Files\GTK\2.0\bin

SetDllDirectory not supported

Setting current directory to GTK+ dll directory

Using Win2k (SP3+) / WinXP (No SP)… Checking SafeDllSearch

SafeDllSearchMode is set to 0

Setting locale: LANG=en

wgaim: wgaim_init start

wgaim: This version of user32.dll contains FlashWindowEx

wgaim: shfolder.dll not found. Loading it…

wgaim: This version of shfolder.dll contains SHGetFolderPathW

wgaim: Gaim settings dir: C:\Documents and Settings\kwermann\Application Data

wgaim: wgaim_init end

GLib: g_convert: assertion `str != NULL’’ failed

plugins: registering plugin-load signal

plugins: registering plugin-unload signal

plugins: probing C:\Program Files\Gaim\plugins\autorecon.dll

plugins: probing C:\Program Files\Gaim\plugins\docklet.dll

plugins: probing C:\Program Files\Gaim\plugins\extplacement.dll

plugins: probing C:\Program Files\Gaim\plugins\history.dll

plugins: probing C:\Program Files\Gaim\plugins\iconaway.dll

plugins: probing C:\Program Files\Gaim\plugins\idle.dll

plugins: probing C:\Program Files\Gaim\plugins\libgg.dll

plugins: probing C:\Program Files\Gaim\plugins\libirc.dll

plugins: probing C:\Program Files\Gaim\plugins\libjabber.dll

plugins: probing C:\Program Files\Gaim\plugins\libmsn.dll

plugins: probing C:\Program Files\Gaim\plugins\libnapster.dll

plugins: probing C:\Program Files\Gaim\plugins\libnovell.dll

plugins: probing C:\Program Files\Gaim\plugins\liboscar.dll

plugins: probing C:\Program Files\Gaim\plugins\libsilc.dll

plugins: probing C:\Program Files\Gaim\plugins\libyahoo.dll

plugins: probing C:\Program Files\Gaim\plugins\relnot.dll

plugins: probing C:\Program Files\Gaim\plugins\spellchk.dll

plugins: probing C:\Program Files\Gaim\plugins\ssl-nss.dll

plugins: probing C:\Program Files\Gaim\plugins\ssl.dll

plugins: probing C:\Program Files\Gaim\plugins\statenotify.dll

plugins: probing C:\Program Files\Gaim\plugins\tcl.dll

wgaim: tcl84.dll not found. Loading it…

wgaim: Could not load: tcl84.dll

tcl: tcl_win32_init error loading Tcl_CreateInterp

plugins: C:\Program Files\Gaim\plugins\tcl.dll is unloadable: A dynamic link lib

rary (DLL) initialization routine failed.

plugins: probing C:\Program Files\Gaim\plugins\ticker.dll

plugins: probing C:\Program Files\Gaim\plugins\timestamp.dll

plugins: probing C:\Program Files\Gaim\plugins\win2ktrans.dll

plugins: probing C:\Program Files\Gaim\plugins\winprefs.dll

plugins: probing C:\Documents and Settings\kwermann\Application Data.gaim\accels

plugins: probing C:\Documents and Settings\kwermann\Application Data.gaim\accounts.xml

plugins: probing C:\Documents and Settings\kwermann\Application Data.gaim\blist.xml

plugins: probing C:\Documents and Settings\kwermann\Application Data.gaim\icons

plugins: probing C:\Documents and Settings\kwermann\Application Data.gaim\logs

plugins: probing C:\Documents and Settings\kwermann\Application Data.gaim\prefs.xml

plugins: probing C:\Documents and Settings\kwermann\Application Data.gaim\smileys

plugins: probing C:\Documents and Settings\kwermann\Application Data.gaim\status.xml

blist import: Reading C:\Documents and Settings\kwermann\Application Data.gaim\blist.xml

blist import: Finished reading C:\Documents and Settings\kwermann\Application Data.gaim\blist.xml

prefs: Reading C:\Documents and Settings\kwermann\Application Data.gaim\prefs.xml

prefs: Finished reading C:\Documents and Settings\kwermann\Application Data.gaim\prefs.xml

plugins: Loading saved plugin ssl-nss.dll

plugins: Loading saved plugin ssl.dll

plugins: Loading saved plugin autorecon.dll

plugins: Loading saved plugin relnot.dll

plugins: Loading saved plugin docklet.dll

tray icon: plugin loaded

tray icon: WM_CREATE

tray icon: created

plugins: Loading saved plugin win2ktrans.dll

wgaim: This version of user32.dll contains SetLayeredWindowAttributes

plugins: Loading saved plugin winprefs.dll

plugins: Loading saved plugin statenotify.dll

plugins: Loading saved plugin history.dll

plugins: Loading saved plugin idle.dll

plugins: Loading saved plugin iconaway.dll

plugins: Loading saved plugin timestamp.dll

pounces: Error reading pounces: Failed to open file ‘‘C:\Documents and Settings\kwermann\ApplicationData.gaim\pounces.xml’’: No such file or directory

accounts: Writing accounts to disk.

account: Connecting to account 010DEC90. gc = 014F6268

connection: Connecting. gc = 014F6268

connection: Calling serv_login

server: gaim 1.1.4 logging in kwermann@127.0.0.1/Gaim using Jabber

proxy: Connecting to 127.0.0.1:5223 with no proxy

proxy: Connect would have blocked.

proxy: Connected.

jabber: Sending: <?xml version=''1.0'' ?>

jabber: Sending: <stream:stream to=’‘127.0.0.1’’ xmlns=’‘jabber:client’’ xmlns:stream=’‘http://etherx.jabber.org/streams’’ version=’‘1.0’’>

account: Disconnecting account 010DEC90

connection: Disconnecting connection 014F6268

jabber: Sending: <presence type=’‘unavailable’’>Logged out

jabber: Sending: </stream:stream>

blist: Destroying

connection: Destroying connection 014F6268

autorecon: do_signon called

autorecon: calling gaim_account_connect

account: Connecting to account 010DEC90. gc = 015089F0

connection: Connecting. gc = 015089F0

connection: Calling serv_login

server: gaim 1.1.4 logging in kwermann@127.0.0.1/Gaim using Jabber

proxy: Connecting to 127.0.0.1:5223 with no proxy

proxy: Connect would have blocked.

autorecon: done calling gaim_account_connect

proxy: Connected.

nss: Handshake failed

account: Disconnecting account 010DEC90

connection: Disconnecting connection 015089F0

jabber: Sending: <presence type=’‘unavailable’’>Logged out

jabber: Sending: </stream:stream>

blist: Destroying

connection: Destroying connection 015089F0

account: Connecting to account 010DEC90. gc = 015089F0

connection: Connecting. gc = 015089F0

connection: Calling serv_login

server: gaim 1.1.4 logging in kwermann@127.0.0.1/Gaim using Jabber

proxy: Connecting to 127.0.0.1:5223 with no proxy

proxy: Connect would have blocked.

proxy: Connected.

nss: Handshake failed

account: Disconnecting account 010DEC90

connection: Disconnecting connection 015089F0

jabber: Sending: <presence type=’‘unavailable’’>Logged out

jabber: Sending: </stream:stream>

blist: Destroying

connection: Destroying connection 015089F0

account: Connecting to account 010DEC90. gc = 015026C8

connection: Connecting. gc = 015026C8

connection: Calling serv_login

server: gaim 1.1.4 logging in kwermann@127.0.0.1/Gaim using Jabber

proxy: Connecting to 127.0.0.1:5223 with no proxy

proxy: Connect would have blocked.

proxy: Connected.

nss: Handshake failed

account: Disconnecting account 010DEC90

connection: Disconnecting connection 015026C8

jabber: Sending: <presence type=’‘unavailable’’>Logged out

jabber: Sending: </stream:stream>

blist: Destroying

connection: Destroying connection 015026C8

accounts: Writing accounts to disk.

account: Connecting to account 010DEC90. gc = 0151EDB0

connection: Connecting. gc = 0151EDB0

connection: Calling serv_login

server: gaim 1.1.4 logging in kwermann@127.0.0.1/Gaim using Jabber

proxy: Connecting to 127.0.0.1:5223 with no proxy

proxy: Connect would have blocked.

proxy: Connected.

jabber: Sending: <?xml version=''1.0'' ?>

jabber: Sending: <stream:stream to=’‘127.0.0.1’’ xmlns=’‘jabber:client’’ xmlns:stream=’‘http://etherx.jabber.org/streams’’ version=’‘1.0’’>

account: Disconnecting account 010DEC90

connection: Disconnecting connection 0151EDB0

jabber: Sending: <presence type=’‘unavailable’’>Logged out

jabber: Sending: </stream:stream>

blist: Destroying

connection: Destroying connection 0151EDB0

accounts: Writing accounts to disk.

I posted a bug to gaim’‘s sourceforge a bit ago, though from another thread on the Jive forums it sounds like Trillian may have the same sort of problem. So, I’'m not sure where the onus would fall.

http://sourceforge.net/tracker/index.php?func=detail&aid=1144108&group_id=235&at id=100235

This is great. Hopefully someone on the GAIM side will respond to this inquiry. With the debug code I posted here, plus the posting to the GAIM Message Board, maybe we can resolve this for all users.

Watching both threads.

  • Ken

can we merge/mark dup either this thread or ::

http://www.jivesoftware.org/forums/thread.jspa?threadID=14065&tstart=0

-jason

From what i’'ve read in the assorted threads, it looks like gaim on *NIX has no trouble…or rather gaim when using the gnutls ssl plugin has no trouble. There is probably a bug in either Jive or NSS causing them not to play nice.

Can that gnutls SSL plugin be used on the Windows port of GAIM?

And if so, do you have a link that I can access the file from? I can test the plugin with my current setup of Jive server.

I just tested a Fedora Core 3 default install running GAIM. I was able to connect without any problem using the Linux version of the client. So there is proof that GAIM itself is not the problem.

Any luck with SSL info and bug finding?

I just re-compiled my gaim w/ gnu-tls support and can now connect fine with the force ssl option. So, it does seem to indicate that the mozilla-nss and jive have some interoperability problems. My test system is RedHat 7.3, but from the thread it sounds like the windows gaim must not be using gnu-tls, can anyone verify?

-jason

The Windows version of GAIM is using Mozilla NSS as opposed to GNU-TLS. If you look under HELP and ABOUT in GAIM 1.1.4 you get the following info.

Gaim was compiled with the following:

+Print debugging messages: No

Binary relocation: Disabled

Plugins: Enabled

SSL: Gaim was compiled with SSL support

GNUTLS: Disabled

NSS: Enabled

Tcl: No

Tk: No

External libzephyr: No

Zephyr uses Kerberos: No

AO: No

NAS Audio: No

GtkSpell: Enabled

XScreenSaver support: Yes

X SM support: No+

Is there a way that the program can be compiled for Win32 with GNU-TLS as opposed to NSS? I don’'t know enough about compiling programs in Win32 to do this, or even know if i can.

Has any progress on this been made? Has anyone gotten GAIM to work with Jive server using SSL?

I have tried the newest releases of both GAIM and JIVE with no luck over SSL.

I hear the newest version will support TLS, has anyone tested the Win32 GAIM to see if it properly allowed a TLS connect GAIM and JIVE securely?

Looking for an update.

Thanks!!!

Ken

The April 8th build of gaim for RedHat E4.0, v1.2.1-1.el4, is ssl broken. The previous version, v1.1.4-1.EL4 works fine. I downloaded the source for each to track down the problem but stopped when I saw that the new version requires the mozilla-nss-devel package to be installed.

Heh, the spec file has the following comment:

  1. gnutls is buggy so use mozilla-nss on all distributions

I guess buggy is in the eye of the client, not server.

For those that are having problems connecting and haven’'t figured it out, compile GAIM -without- nss support to make sure it is using gnutls

Can you please provide directions on how to compile GAIM on Windows? Linux is not used on desktops normally.