Sorry, I Dont know why but gmail send my mail. and i didnt finish i Hope i got to the write place. > > i am a labview programer and because there is no libery for labview, I try > to build my on. > > The problem is that i try to connect to google by TLS and SASL. > this what i do > I Send: > <?xml version="1.0"?> > <stream:stream to="gmail.com" > version="1.0" > xmlns="jabber:client" > xmlns:stream="http://etherx.jabber.org/streams"> > The SEVER send: > <stream:stream from="gmail.com" id="95AC9FE47B969448" version="1.0" > xmlns:stream="http://etherx.jabber.org/streams" > xmlns="jabber:client"><stream:features><starttls > xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><mechanisms > xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-GOOGLE-TOKEN</mechanism><mechanism>X-OAUTH2</mechanism></mechanisms></stream:features> > > When i try to connect with SASL, I Send: > <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> > The SEVER send: > <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> > > But, after that the sever kick me. then i tried SASL > When i try to connect with TLS, I Send: > <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" > mechanism="X-GOOGLE-TOKEN">{Base64 Username A Password}</auth> > but all the time is return me "<failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><incorrect-encoding/></failure></stream:stream>"
i try to search for what is the right encoding but every plase is say to send <null> between the user the password. How can i send Null? How it's look like I hoop u can help me, i read almost every site on the web on xmpp and i didnt got an answer thanks, and sorry for my english
_______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________
