Reputation: 31
I am trying complete the SASL authentication in XMPP server.
:gen_tcp.send(socket, "<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>dGVzdDQ=</auth>
")
But the server is giving error "<failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><bad-protocol/><text xml:lang='en'>Response decoding failed</text></failure>
"
Note: I also tried to send :base64.encode_to_string(' test4 123') to server
Upvotes: 0
Views: 504