Libstrophe-based test case to ask for help
Then I look at the test / bot case Please predecessors help us to see
./bot admin@localhost wanghao
xmpp DEBUG SRV lookup failed.
xmpp DEBUG Using alternate domain <NULL>, port 0
xmpp DEBUG sock_connect to localhost:5222 returned 3
xmpp DEBUG attempting to connect to localhost
xmpp DEBUG connection successful
conn DEBUG SENT: <stream:stream to="localhost" xml:lang="en" version="1.0" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams">
xmpp DEBUG RECV: <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' from='ubuntu' id='5ce74158' xml:lang='en' version='1.0'>
xmpp DEBUG RECV: stream:features
Wrote this when stopped Ask for help
My only guess is that perhaps it's not compiled with the right TLS lib?
It should be sending a new stream header right then, but this header would be the first set of bytes that are TLS encrypted. Any errors on the server side?
What is the I am taking the test is to use a / the bot [email protected] wanghao is not xmpp wait for the DEBUG proceeding with the TLS this. Can you tell me, I am here under the libstrophe the source code examples of how to run the examples in the bot.c Please predecessors have advice
Please predecessors help us to see
Own openfire server from the Internet through. Run bot.c case procedures, and results: . / Bot admin @ localhost wanghao xmpp DEBUG SRV lookup failed. xmpp DEBUG Using alternate domain, port 0 xmpp DEBUG sock_connect to localhost: 5222 returned 3 xmpp DEBUG attempting to connect to localhost xmpp DEBUG connection successful conn DEBUG SENT: xml version = "1.0"?> xmpp DEBUG RECV: xmpp DEBUG RECV: stream: featuresDIGEST-MD5PLAINANONYMOUSCRAM-MD5zlib/stream: features conn DEBUG SENT: xmpp DEBUG RECV: xmpp DEBUG handle proceedtls called for proceed xmpp DEBUG proceeding with TLS
Leave it at that fixed
Can I run a gmail:
. / Bot [email protected] wanghao19881215
xmpp DEBUG sock_connect to alt1.xmpp.l.google.com: 5222 returned 3
xmpp DEBUG attempting to connect to alt1.xmpp.l.google.com
xmpp DEBUG connection successful
conn DEBUG SENT: xml version = "1.0"?> <stream: stream to = "gmail.com" xml: lang = "en" version = "1.0" xmlns = "jabber: client" xmlns: stream = "http :/ / etherx.jabber.org / streams ">
xmpp DEBUG RECV: <stream:stream from='gmail.com' id='86D3AAE7CC4FB31B' version='1.0' xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'>
xmpp DEBUG RECV: stream:features
why? Help me to answer you.