Open bluszcz opened 11 years ago
As a client I am using Pidgin with pidgin compatible = true.
However, authentication works. Its disconnected later.
PLAIN authentication succeeded: XXXX@jabberpl.org 188.40.54.140:46347 TLS
I have made another tests replacing the node solution with punjab - it works. So there must be a bug here, or misconfiguration problem, at least.
I'm seeing a different error. For some reason, the jabber server isn't recognizing the starttls request. In fact, from what I see, the response is sent even before the starttls request reached the jabber server.
[2013-09-24 16:18:26.428] [TRACE] [xmpp-proxy.js:XMPPProxy.dutil.copy._on_stanza:167] - e76605ee-824e-48e5-a428-53f9cc80c731 fa93c7c6-fcc9-42e6-bcdc-2fc9c3a1f179 _on_stanza parsed: <stream:features xmlns:stream="http://etherx.jabber.org/streams"><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><address xmlns="http://affinix.com/jabber/address">166.137.178.207</address><auth xmlns="http://jabber.org/features/iq-... [83 more characters]
[2013-09-24 16:18:26.428] [TRACE] [xmpp-proxy.js:XMPPProxy.dutil.copy._on_stanza:190] - e76605ee-824e-48e5-a428-53f9cc80c731 fa93c7c6-fcc9-42e6-bcdc-2fc9c3a1f179 STARTTLS requested
[2013-09-24 16:18:26.429] [TRACE] [xmpp-proxy.js:XMPPProxy.dutil.copy._on_stanza:195] - e76605ee-824e-48e5-a428-53f9cc80c731 fa93c7c6-fcc9-42e6-bcdc-2fc9c3a1f179 Writing out STARTTLS
[2013-09-24 16:18:26.429] [TRACE] [xmpp-proxy.js:XMPPProxy.dutil.copy.send:264] - e76605ee-824e-48e5-a428-53f9cc80c731 fa93c7c6-fcc9-42e6-bcdc-2fc9c3a1f179 Sent: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
[2013-09-24 16:18:26.430] [TRACE] [xmpp-proxy.js:XMPPProxy.dutil.copy._on_stanza:167] - e76605ee-824e-48e5-a428-53f9cc80c731 fa93c7c6-fcc9-42e6-bcdc-2fc9c3a1f179 _on_stanza parsed: <stream:error xmlns:stream="http://etherx.jabber.org/streams"><policy-violation xmlns="urn:ietf:params:xml:ns:xmpp-streams"/><text xmlns="urn:ietf:params:xml:ns:xmpp-streams">STARTTLS is required for this stream</text></stream:error>
[2013-09-24 16:18:26.431] [TRACE] [xmpp-proxy-connector.js:Object.<anonymous>:86] - e76605ee-824e-48e5-a428-53f9cc80c731 fa93c7c6-fcc9-42e6-bcdc-2fc9c3a1f179 _on_stanza_received