Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
jwjiang #1
Member since Jan 2009 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: how to connect to the lotus sametime server
The following code not working:

xmppCon.Server = "ibm.com";
xmppCon.ConnectServer = "messaging.ibm.com";
xmppCon.Username = "jwjiang";
xmppCon.Password = "xxxxxxxx";
xmppCon.Port = 1533;
xmppCon.UseSSL = false;
xmppCon.UseStartTLS = true;
xmppCon.Open();
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
can you please subscribe to the OnReadXml and OnWriteXml events and post the debug Xml?
Are you sure that port 1533 is correct? XMPP is using 5222 by default.

Is your Sametime server public? If yes can you create a test account for me?

Thanks,
Alex
Avatar
jwjiang #3
Member since Jan 2009 · 3 posts
Group memberships: Members
Show profile · Link to this post
Sorry, it's an internal sametime server for our company, so I'm not able to get you an account. I found on another article which says a gateway is required to translate from XMPP to HOTMAIL, when trying to logon to MSN using agsXMPP, so do we need a gateway to translate XMPP to SAMETIME or vice versa. Thanks for your reply ;-)
Avatar
Alex #4
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
no, you need no Gateway, Sametime is using the XMPP protocol.
I never tested against a Sametime server because I have no access to one, so your Xml log will help to find the issue.

Alex
Avatar
jwjiang #5
Member since Jan 2009 · 3 posts
Group memberships: Members
Show profile · Link to this post
There are only following in the xml log:
<stream:stream to='lenovo.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>

No response from server, seems that I'm not connecting to the right sametime server. The code is as following:

xmppCon.Server = "lenovo.com";
xmppCon.ConnectServer = "messaging.lenovo.com";
xmppCon.Username = "jwjiang";
xmppCon.Password = "xxxxxxxx";
xmppCon.Port = 1533;
xmppCon.Open();

I know for gtalk, server and connectserver should be gmail.com and talk.google.com respectively, but for sametime, I'm not sure what should be the server and connectserver. Do you have any idea? Thanks.

PS: messaging.lenovo.com and 1533 are the server and port for our sametime community, I can connect by using Lotus sametime client.
Avatar
Alex #6
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
according to the log you get a socket commection to messaging.lenovo.com, send the streamheader, but get no response from the server.
Can you ask you server admin for the correct hostname and port?
Can you try to run a socket sniffer while you login with the Sametime client and post the log? If you don't want to post the log in the forums you can send it also to me by private mail.

Thanks,
Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS