1yfgT53 / libjingle

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

Failed When Connecting To Other Server #276

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi!

When I set host to other server address like "221.143.46.131" instead of 
"talk.google.com" in following code
DEFINE_string(s, "221.143.46.131", "The connection server to use.");
it fails with error "SchannelAdapter::Error(ContinueSSL, SEC_E_UNTRUSTED_ROOT)"

What is my problem?
When I try to connect to other server, what should i do additionally?
Thank you.

Original issue reported on code.google.com by adam1988...@gmail.com on 12 Jan 2012 at 2:36

GoogleCodeExporter commented 9 years ago
Sorry, It is resolved by following operation.
xcs.set_use_tls(false);
xcs.set_allow_plain(true);

Thank you.

Original comment by adam1988...@gmail.com on 12 Jan 2012 at 2:52

GoogleCodeExporter commented 9 years ago
You can also use command line flags for those things.  I believe you want -s 
221.143.46.131 --allowplain  --tls disable

Original comment by pthatc...@google.com on 12 Jan 2012 at 5:59