i setup openfire, and make the serveraddr "jabber.org"to my ip addr
"172.16.1.82", and the new register user can be seen in openfire.
but there is still a new no. 17 error:
-------------------------------------------------
....
...
xmlns='jabber:iq:register'><username>testuser3</username><password>testpwd3</password><name/><email/></query></iq>
log: level: 0, area: 8192, <iq type='result' id='uid2' to='chsiyuhai/3477c6a7'/>
result: 0
log: level: 0, area: 16384, </stream:stream>
register_test: disconnected: 17
--------------------------------------------------------------------------
success already, it shouldnt come out.
jimmy_yuhai
2008-04-23
发件人: jimmy_yuhai
发送时间: 2008-04-22 20:40:09
收件人: gloox-dev@xxxxxxxxxx
抄送:
主题: Re: [gloox-dev] The register_example.cpp can not run !
Thanks , Matthew,
i change
// j = new Client( "example.net" );
j = new Client( "jabber.org" );
// vals.username = "testuser";
// vals.password = "testpwd";
vals.username = "testuser3";
vals.password = "testpwd3";
ouput:
--------------------
log: level: 0, area: 8, This is gloox 1.0-beta2, connecting...
log: level: 0, area: 32, connecting to jabber.org (208.245.212.98:5222)
log: level: 0, area: 262144, <?xml version='1.0' ?><stream:stream
to='jabber.org' xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams' xml:lang='en' version='1.0'>
log: level: 0, area: 131072, <stream:stream xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams' id='877057196'
from='jabber.org' version='1.0' xml:lang='en'/>
log: level: 0, area: 131072, <stream:features
xmlns:stream='http://etherx.jabber.org/streams'><starttls
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><compression
xmlns='http://jabber.org/features/compress'><method>zlib</method></compression><mechanisms
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></mechanisms><register
xmlns='http://jabber.org/features/iq-register'/></stream:features>
log: level: 0, area: 262144, <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
log: level: 0, area: 131072, <proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
log: level: 0, area: 4, starting TLS handshake...
register_test: disconnected: 3
----------------------------
it seems that the openssl does not work, but I do have installed openssl,
how can can test whether openssl work with gloox, there is an test file
tlsgnutls_test.cpp in src/test/tlsgnutls, but no about openssl ‘s ?
jimmy_yuhai
2008-04-22
发件人: Matthew Wild
发送时间: 2008-04-22 19:26:05
收件人: gloox-dev@xxxxxxxxxx
抄送:
主题: Re: [gloox-dev] The register_example.cpp can not run !
On Tue, Apr 22, 2008 at 12:08 PM, jimmy_yuhai <jimmy_yuhai@xxxxxxx >
wrote:
> Hey, JS,
>
> After configure, make,make install ,
>
> And I tested the
>
> (in rehat linux as 3)
>
> /home/gloox-1.0-beta2/src/examples/register_example.cpp
>
>
>
> But the ouput:
>
> -------------------------------------------------------------------------
>
> [root@localhost examples]# ./register_example
>
> log: level: 0, area: 8, This is gloox 1.0-beta2, connecting...
>
> log: level: 1, area: 32, notice: no SRV record found for
> example.net, using
> default port.
>
> log: level: 0, area: 32, connection to example.net
> (208.77.188.166:5222)
> failed
>
> log: level: 2, area: 256, example.net: connection refused
>
because example.net is not a Jabber server! ^
Seriously, for a list of public servers, see here:
http://www.jabberes.org/servers/
Matthew
--
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to
minimalist@xxxxxxxxxx
--
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx