JohnKenVan / jabber-net

Automatically exported from code.google.com/p/jabber-net
Other
0 stars 0 forks source link

GTalk login fails #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. try to connect to talk.google.com

What is the expected output? What do you see instead?
expected successful login, instead I get an error:
Set the 'to' attribute of stream element to the domain part of the user's
JID. Example: to='gmail.com'.

What version of the product are you using? On what operating system?
Jabber-Net 1.0 Source Feb 15 4.7 MB 3452
Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by duffy.a...@gmail.com on 19 Mar 2008 at 4:29

GoogleCodeExporter commented 8 years ago
Hm.  It's working here.

What is your .Server?  What is your .NetworkHost?  Do you have a proxy 
configured? 
You should allow the SRV lookup to work, rather than specifying a NetworkHost.

Original comment by hil...@gmail.com on 21 Mar 2008 at 3:47

GoogleCodeExporter commented 8 years ago
c = new JabberClient();
//hook events here (code removed)
c.Server = "talk.google.com";
c.User = txtUsername.Text;
c.Password = txtPassword.Text;
c.Connect();

no proxy.  I can login to the gtalk client with the same un/pw on the same 
comp.  I
have found another solution to accomplish my task, just wanted to give feedback 
on
this issue though.

Original comment by duffy.a...@gmail.com on 22 Mar 2008 at 4:56

GoogleCodeExporter commented 8 years ago
c.Server = "gmail.com" 

would be correct.  Example for PSI is here: http://urltea.com/2zuk
Jabber-Net will do the SRV lookup to turn this into talk.l.google.com for the 
connection, as long as you're not 
using Mono (there's a p/invoke to Win32 involved). 

Original comment by hil...@gmail.com on 24 Mar 2008 at 4:12