nourhanadel59 / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

cannot login using 'call' from examples #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. libjingle-0.4.0, patch gcc4.patch, gcc 4.2.2, speex-1.2_beta2,
openssl-0.9.8g
2. ./configure --prefix=/usr/local --with-speex=/usr --with-ilbc=/usr ; make
3. talk/examples/call/call -d

JID: XXXXXXXXXX@gmail.com
Password:
=== DNS RESOLUTION (talk.google.com) ===
talk.google.com resolved to 209.85.137.125
Logging in as XXXXXXXXXX@gmail.com

Available commands:

  roster       Prints the online friends from your roster.
  call <name>  Initiates a call to the friend with the given name.
  quit         Quits the application.

(call) OpenSSLAdapter::OnConnectEvent
SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Thu Dec 13 21:38:02 2007
   <stream:stream to="gmail.com" xml:lang="*" version="1.0"
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">

logging in...
(call) RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Dec 13 21:38:02 2007
   <?xml version="1.0" encoding="UTF-8"?>
     <stream:stream from="gmail.com" id="A98AA8981D6845B2" version="1.0"
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Dec 13 21:38:02 2007
   <stream:features>
     <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls">
       <required/>
     </starttls>
     <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
       <mechanism>
         X-GOOGLE-TOKEN
       </mechanism>
     </mechanisms>
   </stream:features>
SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Thu Dec 13 21:38:02 2007

   <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Thu Dec 13 21:38:02 2007
   <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
BeginSSL: gmail.com
ContinueSSL
 -- error want read
SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Thu Dec 13 21:38:02 2007
   <stream:stream to="gmail.com" xml:lang="*" version="1.0"
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
ContinueSSL
 -- error want read

-----------------------------------
and nothing happens - no connection

Original issue reported on code.google.com by r.vita...@gmail.com on 13 Dec 2007 at 6:46

GoogleCodeExporter commented 9 years ago
The same kind of error comes. I only want file transfer. But when for receiving 
i
type pcp -d and get logged with my username and password just does nothing. My 
error
message is

JID: abc@gmail.com
Password: 
=== DNS RESOLUTION (talk.google.com) ===
talk.google.com resolved to 216.239.51.125
OpenSSLAdapter::OnConnectEvent
SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Thu Feb  7 14:55:16 2008
   <stream:stream to="gmail.com" xml:lang="*" version="1.0"
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">

and then program terminates.
Same error for sending file also.
Please help me with this.

Original comment by pratik...@gmail.com on 7 Feb 2008 at 7:56

GoogleCodeExporter commented 9 years ago
I see exactly same issue. Is there a solution?

Original comment by mrkrish...@gmail.com on 26 Apr 2008 at 5:33

GoogleCodeExporter commented 9 years ago
A patch to fix this issue is attached.

Original comment by vu3...@gmail.com on 29 Apr 2008 at 8:32

Attachments:

GoogleCodeExporter commented 9 years ago
And BTW, is this a bug in the talk.google.com server? The initial XMPP messages 
say
TLS, but TLS does not handshake with the server! So, the above patch is really 
a work
around. 

Original comment by vu3...@gmail.com on 29 Apr 2008 at 8:44

GoogleCodeExporter commented 9 years ago
my error message is :
JID:zslenglish@gmail.com
Password:
===DNS RESOLUTION<talk.google.com>===
talk.google.com resolved to 72.14.253.125
Logging in as zslenglish@gmail.com
Available commands:
roster  Prints the online frinends from your roster.
call <name> Initiates a call to the friends with the given name.
quit Quit the application.
<call> Warning<PhysicalSocketServer.cc:1072>:PhysicalSocketServer got 
FD_CONNECT_BIT 
error 10060

is there a solution?
thanks

Original comment by zslengl...@gmail.com on 27 May 2008 at 11:31

GoogleCodeExporter commented 9 years ago
This patch is not working for me. Both hunks are giving an error message. Any 
idea why?

Original comment by nareshe...@gmail.com on 3 Aug 2008 at 4:39

GoogleCodeExporter commented 9 years ago

[root@A2MD06330 pcp]# ./pcp -d
JID: XZABCtt@gmail.com
Password:
=== DNS RESOLUTION (talk.google.com) ===
talk.google.com resolved to 209.85.201.125
OpenSSLAdapter::OnConnectEvent
SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Mon May 18 14:41:01 2009
   <stream:stream to="gmail.com" xml:lang="*" version="1.0" 
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
Logging in.

the PCP hangs here..
When i chk in Ethereal logs (wireshark) after the above XMPP msge connection 
drops 
out.
Please proivde me the update if you have seen the issue  and able to resolve it.

Thanks,
Arun

Original comment by arun.s.b...@gmail.com on 18 May 2009 at 9:29

GoogleCodeExporter commented 9 years ago
Does 
=== DNS RESOLUTION (talk.google.com) ===
talk.google.com resolved to 209.85.201.125 
Is this be an issue for communication?

B'cos due to the fire wall blocking I have added above IP address in /etc/hosts 
entry so as the URL alwasy gets resolve to the ONE iP..

Please comment.
Thanks,
Arun

Original comment by arun.s.b...@gmail.com on 18 May 2009 at 10:50

GoogleCodeExporter commented 9 years ago
Try to change this line in source code (talk/base/openssladapter.cc):
openssladapter.cc 775 : SSL_CTX* ctx = SSL_CTX_new(TLSv1_client_method());
==>
openssladapter.cc 775 : SSL_CTX* ctx = SSL_CTX_new(SSLv23_client_method());

For SSLv2, SSLv3, and TLSv1 protocol

THX

Original comment by mymide...@gmail.com on 16 Jun 2009 at 11:47

GoogleCodeExporter commented 9 years ago
Hi, 
I am try to execute pcp on Ubuntu 9.04 - the Jaunty Jackalope.
I tried by making changes as suggest above, still i am seeing the following 
error.
using libjingle-0.4.0.
please suggest how we can make this work.

Thanks,
Nandu

xx@asad:~/Desktop$ pcp -d t xxxx@gmail.com
JID: xxx@gmail.com
Password: 
=== DNS RESOLUTION (talk.google.com) ===
talk.google.com resolved to 209.85.201.125
OpenSSLAdapter::OnConnectEvent
SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Wed Jul 15 12:12:00 2009
   <stream:stream to="gmail.com" xml:lang="*" version="1.0"
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
Logging in. 
RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Wed Jul 15 12:12:00 2009
   <stream:stream from="gmail.com" id="A7EB4F5DA03C4FC0" version="1.0"
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Wed Jul 15 12:12:00 2009
   <stream:features>
     <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls">
       <required/>
     </starttls>
     <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
       <mechanism>
         X-GOOGLE-TOKEN
       </mechanism>
     </mechanisms>
   </stream:features>
SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Wed Jul 15 12:12:00 2009

   <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
RECV <<<<<<<<<<<<<<<<<<<<<<<<< : Wed Jul 15 12:12:01 2009
   <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
BeginSSL: gmail.com
ContinueSSL
 -- error want read
SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Wed Jul 15 12:12:01 2009
   <stream:stream to="gmail.com" xml:lang="*" version="1.0"
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
ContinueSSL
 -- error want read

Original comment by nandu.n...@gmail.com on 15 Jul 2009 at 6:50

GoogleCodeExporter commented 9 years ago
Hi All,

Iam having trouble too in logging in , 
JID: xxxx@gmail.com
Password:
=== DNS RESOLUTION (talk.google.com) ===
talk.google.com resolved to 72.14.203.125
Logging in as xxxx@gmail.com

Available commands:

  roster       Prints the online friends from your roster.
  call <name>  Initiates a call to the friend with the given name.
  quit         Quits the application.

(call) SOCK[7] Connect(talk.google.com:443) Ret: -1 Error: 115

state is st LOGINSTATE_STREAMSTART_SENT
SEND >>>>>>>>>>>>>>>>>>>>>>>>> : Wed Mar 17 18:35:15 2010
   <stream:stream to="gmail.com" xml:lang="*" version="1.0" 
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
SOCK[7] Send(129) Ret: 129 Error: 115

logging in...  
after this nothing happens, even if i leave for 30 mins the same thing goes on 
and 
on..
Please let me know the solution for the same.

Regards thanks in advance
Manjunath

Original comment by nmma...@gmail.com on 17 Mar 2010 at 12:15

GoogleCodeExporter commented 9 years ago
This report was based on older version. The problem is no longer existing in 
0.5.x

Original comment by jun...@google.com on 14 Jan 2011 at 5:09