Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libstrophe-based test case to ask for help #30

Open
SpongeBob-SquarePants opened this issue Aug 13, 2012 · 3 comments
Open

Libstrophe-based test case to ask for help #30

SpongeBob-SquarePants opened this issue Aug 13, 2012 · 3 comments

Comments

@SpongeBob-SquarePants
Copy link

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 , 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:featuresDIGEST-MD5PLAINANONYMOUSCRAM-MD5zlib/stream:features
conn DEBUG SENT:
xmpp DEBUG RECV:
xmpp DEBUG handle proceedtls called for proceed
xmpp DEBUG proceeding with TLS

Wrote this when stopped
Ask for help

@metajack
Copy link
Owner

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?

@SpongeBob-SquarePants
Copy link
Author

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

@SpongeBob-SquarePants
Copy link
Author

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:
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: <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 </ starttls> X-GOOGLE-TOKEN </ mechanism> X-OAUTH2 </ mechanism> </ mechanisms> </ stream: features>
conn DEBUG SENT:
xmpp DEBUG RECV:
xmpp DEBUG handle proceedtls called for proceed
xmpp DEBUG proceeding with TLS
conn DEBUG SENT: <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='FB47C107B2AAE8DD' version='1.0' xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'>
xmpp DEBUG RECV: stream:features PLAIN </ mechanism> X-GOOGLE-TOKEN </ mechanism> < mechanism> X-OAUTH2 </ mechanism> </ mechanisms> </ stream: features>
conn DEBUG SENT: AHczMzA1NjQ5MDkAd2FuZ2hhbzE5ODgxMjE1 </ auth>
xmpp DEBUG RECV:
xmpp DEBUG SASL PLAIN auth successful
conn DEBUG SENT: <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='86E514DE9FCBDA9F' version='1.0' xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'>
xmpp DEBUG Reopened stream successfully.
xmpp DEBUG RECV: stream:features <session xmlns = "urn: ietf: params: xml: ns: xmpp-session" / > </ stream: features>
conn DEBUG SENT: </ iq>
xmpp DEBUG RECV: [email protected] / 37E40184 </ jid > </ bind> </ iq>
xmpp DEBUG Bind successful.
conn DEBUG SENT: </ iq>
xmpp DEBUG RECV:
xmpp DEBUG Session establishment successful.
DEBUG: connected
conn DEBUG SENT:
xmpp DEBUG RECV: 24 </ priority> <caps: c xmlns: caps = "http: / / jabber.org / protocol / caps "ext =" pmuc-v1 sms-v1 vavinvite-v1 "ver =" 1.1 "node =" http://mail.google.com/xmpp/client/caps "/> < x xmlns = "vcard-temp: x: update"> </ x> </ presence>

why?
Help me to answer you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants