You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "David Phillips (JIRA)" <ji...@apache.org> on 2009/06/10 01:53:07 UTC

[jira] Commented: (VYSPER-1) Initial handshake stalls in TLS negotiation with Psi client

    [ https://issues.apache.org/jira/browse/VYSPER-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717871#action_12717871 ] 

David Phillips commented on VYSPER-1:
-------------------------------------

problem is with namespaces :)

diff --git a/trunk/src/main/java/org/apache/vysper/xmpp/server/response/ServerResponses.java b/trunk/src/main/java/org/apache/vysper/xmpp/server/response/ServerResponses.java
index eb07127..c0b8b01 100644
--- a/trunk/src/main/java/org/apache/vysper/xmpp/server/response/ServerResponses.java
+++ b/trunk/src/main/java/org/apache/vysper/xmpp/server/response/ServerResponses.java
@@ -76,6 +76,7 @@ public class ServerResponses {
     public Stanza getFeaturesForEncryption(SessionContext sessionContext) {

         StanzaBuilder stanzaBuilder = new StanzaBuilder("features");
+        stanzaBuilder.addNamespaceAttribute(NamespaceURIs.HTTP_ETHERX_JABBER_ORG_STREAMS);
         stanzaBuilder.startInnerElement("starttls")
             .addNamespaceAttribute(NamespaceURIs.URN_IETF_PARAMS_XML_NS_XMPP_TLS);
             if (sessionContext.getServerRuntimeContext().getServerFeatures().isStartTLSRequired()) {




> Initial handshake stalls in TLS negotiation with Psi client
> -----------------------------------------------------------
>
>                 Key: VYSPER-1
>                 URL: https://issues.apache.org/jira/browse/VYSPER-1
>             Project: VYSPER
>          Issue Type: Bug
>         Environment: MacOS, Java 5, Psi 0.11, connection to 'localhost'
>            Reporter: Bernd Fondermann
>
> Nothing seems to happen on StartTLS negotiation when using xmpp client Psi 0.11, while it works with clients like Smack. The communication just seems to stop. No errors, no timeouts. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.