Le 20/07/2011, Eugene Agafonov a supposé :
Hi!

There is another strange thing in XML stream pieces you sent earlier:
<stream:stream to="PC-Pierre" >

c2s matches domain in case-sensitive manner.
Looks like the client shall start stream with <stream:stream to="pc-pierre"

yes, it was the problem, but now I am disconnected from server and SSL is not available.
this is the client log.

<?xml version="1.0" ?>
<stream:stream to="pc-pierre" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams"; version="1.0">

node: stream:stream
  attr: xmlns:stream=http://etherx.jabber.org/streams
  attr: xmlns=jabber:client
  attr: from=pc-pierre
  attr: version=1.0
  attr: id=k9tqb1na231bgftw2frq3ude7g801jmqaxnfrudc
  node: stream:features
     attr: xmlns:stream=http://etherx.jabber.org/streams
     node: mechanisms
        attr: xmlns=urn:ietf:params:xml:ns:xmpp-sasl
        node: mechanism
           text: PLAIN
        node: mechanism
           text: DIGEST-MD5
     node: auth
        attr: xmlns=http://jabber.org/features/iq-auth
     node: register
        attr: xmlns=http://jabber.org/features/iq-register

<auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN" xmlns:ga="http://www.google.com/talk/protocol/auth"; ga:client-uses-full-bind-result="true">AGFkbWluAHRlc3Q=</auth>

node: success
     attr: xmlns=urn:ietf:params:xml:ns:xmpp-sasl

<?xml version="1.0" ?>
<stream:stream to="pc-pierre" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams"; version="1.0">

node: stream:stream
  attr: xmlns:stream=http://etherx.jabber.org/streams
  attr: xmlns=jabber:client
  attr: from=pc-pierre
  attr: version=1.0
  attr: id=5pbybgrzi23ccm2w2joj1nttnad5ncvkjdl8jsr7
  node: stream:features
     attr: xmlns:stream=http://etherx.jabber.org/streams
     node: bind
        attr: xmlns=urn:ietf:params:xml:ns:xmpp-bind
        node: required
     node: unbind
        attr: xmlns=urn:ietf:params:xml:ns:xmpp-bind
     node: session
        attr: xmlns=urn:ietf:params:xml:ns:xmpp-session
     node: ver
        attr: xmlns=urn:xmpp:features:rosterver

<iq id="1" type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>test.</resource></bind></iq> <iq type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>
<presence/>
<iq id="2" type="get"><query xmlns:gr="google:roster" xmlns="jabber:iq:roster" gr:ext="2" ext="2"/></iq> <iq id="3" type="get" to="pc-pierre"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>
<presence type="unavailable"/>
</stream:stream>

Pierre will send server logs.

thank you for your time !

--
Henri Gourvest




--
To unsubscribe send a mail to jabberd2+unsubscr...@lists.xiaoka.com

Reply via email to