Hi,

I ran lm-send-sync from the m/c behind the firewall and the m/c 
directly connected to the net.

I used the fallowing sequence of code to connect through proxy.

proxy = lm_proxy_new ( LM_PROXY_TYPE_HTTP ); 
lm_proxy_set_server ( proxy, "proxy_server" ); 
lm_proxy_set_port ( proxy, proxy_port ); 
lm_connection_set_proxy ( connection, proxy );
lm_proxy_unref ( proxy );

// gtalk's SSL port
lm_connection_set_port (connection, 443);

ssl = lm_ssl_new (expected_fingerprint,
(LmSSLFunction) ssl_cb,
NULL, NULL);
lm_connection_set_ssl (connection, ssl); lm_ssl_unref (ssl);

// open and block
// authentication
// Send messages

When i tried to connect by using lm-send-sync from the m/c behind the
firewall, 
I was getting fallowing error.
" ./lm-send-sync -s talk.google.com -P 443 -u [email protected] -p
tstlm123 -r mytest -R [email protected] -f --ssl -m Hello

(lm-send-sync:31728): GLib-CRITICAL **: g_source_destroy: assertion
`source != NULL' failed"


When i tried to connect from m/c directly connected to the internet, i
was getting
"SSL_connect: -1 SSL_ERROR_SYSCALL"

I am able to connect to gtalk from the gaim instant messenger over the
port 443.


Please try to run lm-send-sync as ( 443 is gtalk's ssl port )
./lm-send-sync -s talk.google.com -P 443 -u [email protected] -p
tstlm123 -r mytest -R [email protected] -f --ssl -m Hello

and let me know the result

Regards,
Ganapati 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of ext Robert
McQueen
Sent: Monday, August 21, 2006 9:10 PM
To: Loudmouth List
Subject: Re: [Loudmouth] How to connect to google talk using loudmouth

Hiroshi Nishida wrote:
> Hi, I don't remember well.
> But Google sever may not have accepted an old protocol of Jabber.
> It must be at least XMPP-1.0.
> 
> I may be wrong.

No, Google's server is happy to talk with loudmouth, it's what's used in
Telepathy's Jabber backend for doing Google Talk on the Nokia 770.

Ganapati, maybe what you need to do is handle SSL errors with a function
to accept them and continue connecting? Unless you've got a magical
OpenSSL or GNUTLS, certificate verification will always fail and you'll
never be able to set up the SSL part of the connection.

Regards,
Rob

--
Robert McQueen
Director, Collabora Ltd.
_______________________________________________
Loudmouth mailing list
[email protected]
http://lists.imendio.com/mailman/listinfo/loudmouth

Reply via email to