Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Communications Framework (ECF) » How XMPP over SSL works
How XMPP over SSL works [message #607555] Mon, 28 August 2006 07:16 Go to next message
Eclipse UserFriend
Originally posted by: s.digvijay.zensart.com

Hi

I found ECF very interesting lots of feature. I appreciate your hardwork.
As I going through ECF I am not able to get some of your features:

How XMPP over SSL works I mean can I connect to google talk by using my
gmail id? If yes I tried connecting it by using
[digvijaysrana@gmail.com:3282] and gave password. It failed to connect and
gave 5222 error. Please guide me understand this function.

Thanks in advance
Digvijay Singh
Re: How XMPP over SSL works [message #607562 is a reply to message #607555] Mon, 28 August 2006 15:15 Go to previous messageGo to next message
Scott Lewis is currently offline Scott LewisFriend
Messages: 1038
Registered: July 2009
Senior Member
Hi Digvijay,

Digvijay S Rana wrote:
> Hi
> I found ECF very interesting lots of feature. I appreciate your hardwork.
> As I going through ECF I am not able to get some of your features:
>
> How XMPP over SSL works I mean can I connect to google talk by using my
> gmail id?


Yes. You should just select the XMPP SSL (Jabber) connection protocol
and enter in your account info like this:

Account: digvijaysrana@gmail.com
Password: <password>

Google talk uses TLS for security rather than normal SSL, and the ECF
XMPP provider (based upon the Smack library) automatically detects the
gmail.com domain and uses TLS (and gt port...I can't remember what it is
right now) appropriately. So you don't have to do anything more than
provide your gmail address (no port info).

It should just connect to your gmail account with account info above.

Please let us know if it doesn't...thanks.

Scott


If yes I tried connecting it by using
> [digvijaysrana@gmail.com:3282] and gave password. It failed to connect
> and gave 5222 error. Please guide me understand this function.
>
> Thanks in advance
> Digvijay Singh
>
>
Re: How XMPP over SSL works [message #607569 is a reply to message #607562] Tue, 29 August 2006 05:12 Go to previous messageGo to next message
Digvijay Singh is currently offline Digvijay SinghFriend
Messages: 19
Registered: July 2009
Junior Member
Hi

Thanks for the help

But after implementing information given by you i.e.
Account: digvijaysrana@gmail.com
Password: *******

I am getting following error message:
Could not connect to digvijaysrana@gmail.com
Could not connect to talk.google.com:5222.

Error log:
java.io.IOException: Could not connect to talk.google.com:5222.
at
org.jivesoftware.smack.XMPPConnection.connectUsingConfigurat ion(XMPPConnection.java:275)
at org.jivesoftware.smack.XMPPConnection.<init>(XMPPConnection.java:216)
at
org.jivesoftware.smack.GoogleTalkConnection.<init>(GoogleTalkConnection.java:36)
at
org.eclipse.ecf.provider.xmpp.smack.ECFConnection.connect(EC FConnection.java:139)
at
org.eclipse.ecf.provider.generic.ClientSOContainer.connect(C lientSOContainer.java:130)
at
org.eclipse.ecf.provider.xmpp.container.XMPPClientSOContaine r.connect(XMPPClientSOContainer.java:283)
at
org.eclipse.ecf.example.collab.CollabClient.createAndConnect Client(CollabClient.java:84)
at
org.eclipse.ecf.example.collab.actions.URIClientConnectActio n$ClientConnectJob.run(URIClientConnectAction.java:63)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

Please help me to connect ASAP.
Re: How XMPP over SSL works [message #607571 is a reply to message #607569] Tue, 29 August 2006 17:51 Go to previous messageGo to next message
Scott Lewis is currently offline Scott LewisFriend
Messages: 1038
Registered: July 2009
Senior Member
Hi Digvijay,

Is it possible you are behind some sort of firewall?

If you want to contact me directly at slewis@composent.com I'll be happy
to try your account from here...I'm not currently able to reproduce this
failure with my own account (i.e. scottslewis@gmail.com gets
through/connects just fine).

Scott

Digvijay S Rana wrote:
> Hi
>
> Thanks for the help
>
> But after implementing information given by you i.e. Account:
> digvijaysrana@gmail.com
> Password: *******
>
> I am getting following error message:
> Could not connect to digvijaysrana@gmail.com
> Could not connect to talk.google.com:5222.
>
> Error log:
> java.io.IOException: Could not connect to talk.google.com:5222.
> at
> org.jivesoftware.smack.XMPPConnection.connectUsingConfigurat ion(XMPPConnection.java:275)
>
> at
> org.jivesoftware.smack.XMPPConnection.<init>(XMPPConnection.java:216)
> at
> org.jivesoftware.smack.GoogleTalkConnection.<init>(GoogleTalkConnection.java:36)
>
> at
> org.eclipse.ecf.provider.xmpp.smack.ECFConnection.connect(EC FConnection.java:139)
>
> at
> org.eclipse.ecf.provider.generic.ClientSOContainer.connect(C lientSOContainer.java:130)
>
> at
> org.eclipse.ecf.provider.xmpp.container.XMPPClientSOContaine r.connect(XMPPClientSOContainer.java:283)
>
> at
> org.eclipse.ecf.example.collab.CollabClient.createAndConnect Client(CollabClient.java:84)
>
> at
> org.eclipse.ecf.example.collab.actions.URIClientConnectActio n$ClientConnectJob.run(URIClientConnectAction.java:63)
>
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
>
> Please help me to connect ASAP.
>
>
>
Re: How XMPP over SSL works [message #607574 is a reply to message #607571] Thu, 31 August 2006 15:12 Go to previous messageGo to next message
Digvijay Singh is currently offline Digvijay SinghFriend
Messages: 19
Registered: July 2009
Junior Member
Hi

Please tell you are right my system is behind firewall.

Please tell me where and what change do I need to do for proxy setting?

Regards
Digvijay
Re: How XMPP over SSL works [message #607579 is a reply to message #607574] Thu, 07 September 2006 02:06 Go to previous message
Scott Lewis is currently offline Scott LewisFriend
Messages: 1038
Registered: July 2009
Senior Member
Hi Digvijay,

Digvijay Singh wrote:
> Hi
>
> Please tell you are right my system is behind firewall.
>
> Please tell me where and what change do I need to do for proxy setting?

Well, unfortunately it depends upon the nature of your proxy. There are
some people from Compuware that are able to simply point the ECF connect
URL to the proxy server...e.g.

slewis@proxy.composent.com:35999

(where proxy.composent.com:35999 is the your proxy server). This
depends upon your proxy server 'knowing' that 35999 actually corresponds
to some xmpp/jabber server/port combination, but some proxies work like
this.

If you have a socks proxy, then you can setup java properties (on the
Eclipse command line with -vmargs I believe) to set the proxy
info...e.g. see the following:

http://www.javaworld.com/javaworld/javatips/jw-javatip42.htm l

Sorry I can't be more definitive.

Scott


>
> Regards
> Digvijay
>
Previous Topic:Installation confusing for newbie
Next Topic:Can't get XMPPClient to work
Goto Forum:
  


Current Time: Thu Mar 28 14:35:58 GMT 2024

Powered by FUDForum. Page generated in 0.03966 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top