You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Markus Müller <12...@gmail.com> on 2013/11/27 22:52:38 UTC

sendxmpp mit vysper

Hallo,

ist es möglich sendxmpp für vysper einzusetzen ?
Wenn ja, wie ??

meine Versuche auf dem lokal installiertem vysper mit sendxmpp zu
arbeiten scheiterte bis jetzt, die Kommunikation mit Pidgin ist jedoch
problemlos möglich.

Markus


Re: sendxmpp mit vysper

Posted by Bernd Fondermann <be...@gmail.com>.
Please consider taking a look into
  http://issues.igniterealtime.org/browse/OF-636
which seems to be the exact problem you encounter.

The reason why this is only a problem for some clients could be that the
exception from the log only is thrown for one (or a few) particular SSL
cipher (EphemeralECDH in this case), and another cipher is chosen for
client which don't expose this problem.

  Bernd





On Sun, Dec 1, 2013 at 12:05 AM, Markus Müller <12...@gmail.com>wrote:

> Hello Bernd,
>
> i use openjdk-7.
> in the ssl-certificate is contained the domain bogus.com, this is the
> originally from this server.
> i have switched for testing back to domain vysper.org, but its the same
> result.
> i have tested bogus.com as domain too, the same result.
>
> i have this problem only with the sendxmpp-skript
> (http://sendxmpp.hostname.sk/)
> the same problem ist existent with google talk!
>
> i need this skript for sending notifications to me.
>
> there is no problem to connect with all other tested clients (pidgin for
> linux, and xabber for android) !!!
>
> Greets,
> Markus
>
>
>
>
>
> On 30.11.2013 21:52, Bernd Fondermann wrote:
> > hich JDK are you using?
> > You are connecting to XMPP server "localhost". Which domain is contained
> in
> > your SSL certificate?
> > (Generally, I would suggest to use some other domain than "localhost" for
>
>

Re: sendxmpp mit vysper

Posted by Bernd Fondermann <be...@gmail.com>.
On Sun, Dec 1, 2013 at 12:05 AM, Markus Müller <12...@gmail.com>wrote:

> Hello Bernd,
>
> i use openjdk-7.
> in the ssl-certificate is contained the domain bogus.com, this is the
> originally from this server.
> i have switched for testing back to domain vysper.org, but its the same
> result.
> i have tested bogus.com as domain too, the same result.
>

I need to rephrase my suggestion from above: I would suggest that the
domain configured for Vysper always matches the domain from the
certificate. But I don't think this is a problem here.

  Bernd

Re: sendxmpp mit vysper

Posted by Markus Müller <12...@gmail.com>.
Hello Bernd,

i use openjdk-7.
in the ssl-certificate is contained the domain bogus.com, this is the
originally from this server.
i have switched for testing back to domain vysper.org, but its the same
result.
i have tested bogus.com as domain too, the same result.

i have this problem only with the sendxmpp-skript
(http://sendxmpp.hostname.sk/)
the same problem ist existent with google talk!

i need this skript for sending notifications to me.

there is no problem to connect with all other tested clients (pidgin for
linux, and xabber for android) !!!

Greets,
Markus




 
On 30.11.2013 21:52, Bernd Fondermann wrote:
> hich JDK are you using?
> You are connecting to XMPP server "localhost". Which domain is contained in
> your SSL certificate?
> (Generally, I would suggest to use some other domain than "localhost" for


Re: sendxmpp mit vysper

Posted by Bernd Fondermann <be...@gmail.com>.
More questions to corner the problem...

Which JDK are you using?
You are connecting to XMPP server "localhost". Which domain is contained in
your SSL certificate?
(Generally, I would suggest to use some other domain than "localhost" for
the server. Even if the server's domain is not DNS-resolvable. Most clients
support specifying the host separately.)
Is there any chance you are running into
http://issues.igniterealtime.org/browse/OF-636 ?

  Bernd



On Fri, Nov 29, 2013 at 6:34 PM, Markus Müller <12...@gmail.com>wrote:

> Hello Bernd,
>
> this is the output from server:
> mmueller@nbmm:~$ /home/mmueller/opt/vysper-0.7/bin/./run.sh
> 18:30:59,471 | INFO  |
> org.springframework.context.support.ClassPathXmlApplicationContext |
> Refreshing
> org.springframework.context.support.ClassPathXmlApplicationContext@14384c2
> :
> startup date [Fri Nov 29 18:30:59 CET 2013]; root of context hierarchy
> 18:30:59,540 | INFO  |
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader | Loading
> XML bean definitions from class path resource [spring-config.xml]
> 18:30:59,638 | INFO  |
> org.springframework.beans.factory.support.DefaultListableBeanFactory |
> Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory@453807
> :
> defining beans
> [inmemoryStorageRegistry,jcrStorageRegistry,addUsers,tcpEndpoint,server];
> root
> of factory hierarchy
> 18:31:00,294 | INFO  |
> org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | replacing
> the storage provider registry with
> org.apache.vysper.storage.inmemory.MemoryStorageProviderRegistry
> 18:31:00,326 | INFO  |
> org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
> module... servicediscovery (1.0beta)
> 18:31:00,331 | INFO  |
> org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
> module... roster (1.0beta)
> 18:31:00,420 | INFO  |
> org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
> module... XEP-0092 Software Version (1.0)
> 18:31:00,430 | INFO  |
> org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
> module... XEP-0202 Entity Time (1.0)
> 18:31:00,436 | INFO  |
> org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
> module... XEP-0054 Vcard-temp (1.0)
> 18:31:00,437 | ERROR |
> org.apache.vysper.xmpp.modules.extension.xep0054_vcardtemp.VcardTempModule
> | no VcardTempPersistenceManager found
> 18:31:00,437 | INFO  |
> org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
> module... XEP-0199 XMPP Ping (2.0)
> 18:31:00,437 | INFO  |
> org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
> module... XEP-0049 Private Data (1.2)
> 18:31:00,437 | ERROR |
>
> org.apache.vysper.xmpp.modules.extension.xep0049_privatedata.PrivateDataModule
> | no PrivateDataPersistenceManager found
> 18:31:00,437 | INFO  |
> org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
> module... XEP-0050 Ad-hoc Commands (1.2)
> 18:31:00,438 | INFO  |
> org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
> module... XEP-0133 Service Administration (1.1)
> 18:31:00,439 | INFO  |
> org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
> module... XEP-0045 Multi-user chat (1.24)
> 18:31:00,449 | WARN  |
> org.apache.vysper.xmpp.modules.extension.xep0045_muc.MUCModule | No room
> storage provider found, using the default (in memory)
> 18:31:00,449 | WARN  |
> org.apache.vysper.xmpp.modules.extension.xep0045_muc.MUCModule | No
> occupant storage provider found, using the default (in memory)
> vysper server is running (using spring framework)...
> 18:31:12,742 | DEBUG |
> org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
> changed to = INITIATED
> 18:31:12,777 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <stream:stream
> xmlns:stream="http://etherx.jabber.org/streams" to="localhost"
> version="1.0"></stream:stream>
> 18:31:12,779 | INFO  | stanza.client | stream
> 18:31:12,786 | DEBUG |
> org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
> changed to = STARTED
> 18:31:12,795 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <starttls
> xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls>
> 18:31:12,795 | INFO  | stanza.client | starttls
> 18:31:12,798 | INFO  | stanza.server | stream.starttls[required]
> 18:31:12,799 | DEBUG |
> org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
> changed to = ENCRYPTION_STARTED
> 18:31:12,976 | DEBUG |
> org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
> changed to = ENCRYPTED
> 18:31:12,976 | INFO  | stanza.server | proceed
> 18:31:13,059 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <stream:stream
> xmlns:stream="http://etherx.jabber.org/streams" to="localhost"
> version="1.0"></stream:stream>
> 18:31:13,059 | INFO  | stanza.client | stream
> 18:31:13,068 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl"
> mechanism="PLAIN"
> ga:client-uses-full-bind-result="true">AGFkbWluAHRlc3Q=</auth>
> 18:31:13,068 | INFO  | stanza.client | auth.mechanism='PLAIN'
> 18:31:13,069 | INFO  | stanza.server | stream.features.mechanisms[PLAIN]
> 18:31:13,076 | DEBUG |
> org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
> changed to = AUTHENTICATED
> 18:31:13,077 | INFO  | stanza.server | success
> 18:31:13,080 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <stream:stream
> xmlns:stream="http://etherx.jabber.org/streams" to="localhost"
> version="1.0"></stream:stream>
> 18:31:13,080 | INFO  | stanza.client | stream
> 18:31:13,083 | INFO  | stanza.server | stream
> 18:31:13,087 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <iq xmlns="jabber:client" id="purple9e9228d9"
> type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"></bind></iq>
> 18:31:13,087 | INFO  | stanza.client |
> iq.id
> ='purple9e9228d9'.type='set'.bind.xmlns='urn:ietf:params:xml:ns:xmpp-bind'
> 18:31:13,091 | INFO  |
> org.apache.vysper.xmpp.state.resourcebinding.ResourceRegistry | added
> resource no. 1 to entity admin@localhost <-
> 5d5ed81103654983b6cf84e8f4ae9ace
> 18:31:13,091 | INFO  |
> org.apache.vysper.xmpp.state.resourcebinding.ResourceRegistry | added
> resource no. 1 to session c548d73fab70448592a0480cba4e3b09 <-
> 5d5ed81103654983b6cf84e8f4ae9ace
> 18:31:13,127 | INFO  | stanza.server |
> iq.id
> ='purple9e9228d9'.type='result'.bind.xmlns='urn:ietf:params:xml:ns:xmpp-bind'
> 18:31:13,130 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <iq xmlns="jabber:client" id="purple9e9228da"
> type="set"><session
> xmlns="urn:ietf:params:xml:ns:xmpp-session"></session></iq>
> 18:31:13,131 | INFO  | stanza.client |
> iq.id
> ='purple9e9228da'.type='set'.session.xmlns='urn:ietf:params:xml:ns:xmpp-session'
> 18:31:13,137 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <iq xmlns="jabber:client" to="localhost"
> id="purple9e9228db" type="get"><query
> xmlns="http://jabber.org/protocol/disco#items"></query></iq>
> 18:31:13,137 | INFO  | stanza.client |
> iq.id='purple9e9228db'.to='localhost'.type='get'.query.disco.items
> 18:31:13,137 | INFO  | stanza.server |
> iq.id='purple9e9228da'.from='localhost'.type='result'
> 18:31:13,140 | INFO  | stanza.server |
> iq.id='purple9e9228db'.from='localhost'.type='result'.query.disco.items
> 18:31:13,142 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <iq xmlns="jabber:client" to="localhost"
> id="purple9e9228dc" type="get"><query
> xmlns="http://jabber.org/protocol/disco#info"></query></iq>
> 18:31:13,142 | INFO  | stanza.client |
> iq.id='purple9e9228dc'.to='localhost'.type='get'.query.disco.info
> 18:31:13,146 | INFO  | stanza.server |
> iq.id
> ='purple9e9228dc'.from='localhost'.type='result'.query.disco.info.feature='
> http://jabber.org/protocol/disco#info'.feature='jabber:iq:version'.feature='urn:xmpp:time'.feature='jabber:iq:time'.feature='vcard-temp'.feature='urn:xmpp:ping'.feature='jabber:iq:private'.feature='http://jabber.org/protocol/commands
> '
> 18:31:13,148 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <iq xmlns="jabber:client" to="chat.localhost"
> id="purple9e9228dd" type="get"><query
> xmlns="http://jabber.org/protocol/disco#info"></query></iq>
> 18:31:13,148 | INFO  | stanza.client |
> iq.id='purple9e9228dd'.to='chat.localhost'.type='get'.query.disco.info
> 18:31:13,154 | INFO  | stanza.server |
> iq.id
> ='purple9e9228dd'.from='chat.localhost'.type='result'.query.disco.info.feature='
> http://jabber.org/protocol/muc'
> 18:31:13,157 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <iq xmlns="jabber:client" id="purple9e9228de"
> type="get"><vCard xmlns="vcard-temp"></vCard></iq>
> 18:31:13,157 | INFO  | stanza.client |
> iq.id='purple9e9228de'.type='get'.vCard.xmlns='vcard-temp'
> 18:31:13,161 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <iq xmlns="jabber:client" id="purple9e9228df"
> type="get"><query xmlns="jabber:iq:roster"></query></iq>
> 18:31:13,162 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <iq xmlns="jabber:client" to="localhost"
> id="purple9e9228e0" type="get"><query
> xmlns="http://jabber.org/protocol/disco#items"
> node="http://jabber.org/protocol/commands"></query></iq>
> 18:31:13,163 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <iq xmlns="jabber:client"
> to="proxy.eu.jabber.org" id="purple9e9228e1" type="get"><query
> xmlns="http://jabber.org/protocol/bytestreams"></query></iq>
> 18:31:13,163 | INFO  | stanza.client |
> iq.id='purple9e9228df'.type='get'.query.xmlns='jabber:iq:roster'
> 18:31:13,166 | INFO  | stanza.client |
> iq.id='purple9e9228e0'.to='localhost'.type='get'.query.disco.items
> 18:31:13,167 | INFO  | stanza.client |
> iq.id='purple9e9228e1'.to='proxy.eu.jabber.org'.type='get'.query.xmlns='
> http://jabber.org/protocol/bytestreams'
> 18:31:13,172 | INFO  | stanza.server |
> iq.id='purple9e9228de'.type='result'.vCard.xmlns='vcard-temp'
> 18:31:13,173 | INFO  | stanza.server |
> iq.id='purple9e9228df'.to='admin@localhost
> /5d5ed81103654983b6cf84e8f4ae9ace'.type='result'.query.xmlns='jabber:iq:roster'
> 18:31:13,173 | INFO  | stanza.server |
> iq.id='purple9e9228e0'.from='localhost'.type='result'.query.disco.items
> 18:31:13,173 | INFO  | stanza.server |
> iq.id='purple9e9228e1'.from='proxy.eu.jabber.org
> '.type='error'.query.xmlns='http://jabber.org/protocol/bytestreams'
> 18:31:13,212 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <presence
> xmlns="jabber:client"><priority>1</priority><c
> xmlns="http://jabber.org/protocol/caps" node="http://pidgin.im/"
> hash="sha-1" ver="lV6i//bt2U8Rm0REcX8h4F3Nk3M=" ext="voice-v1 camera-v1
> video-v1"></c><x xmlns="vcard-temp:x:update"><photo></photo></x></presence>
> 18:31:13,213 | INFO  | stanza.client |
> presence.node='
> http://pidgin.im/'.ver='lV6i//bt2U8Rm0REcX8h4F3Nk3M='.ext='voice-v1
> camera-v1 video-v1'
> 18:31:13,217 | WARN  |
> org.apache.vysper.xmpp.modules.core.im.handler.PresenceAvailabilityHandler
> | No Offline Storage Provider configured
> 18:31:13,228 | INFO  | stanza.server |
> presence.from='admin@localhost
> /5d5ed81103654983b6cf84e8f4ae9ace'.to='admin@localhost
> /5d5ed81103654983b6cf84e8f4ae9ace'.node='
> http://pidgin.im/'.ver='lV6i//bt2U8Rm0REcX8h4F3Nk3M='.ext='voice-v1
> camera-v1 video-v1'
> 18:31:13,228 | INFO  |
> org.apache.vysper.xmpp.modules.core.im.handler.PresenceAvailabilityHandler
> | admin@localhost/5d5ed81103654983b6cf84e8f4ae9ace has become available
> 18:31:13,231 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <iq xmlns="jabber:client"
> to="admin@localhost/5d5ed81103654983b6cf84e8f4ae9ace"
> id="purple9e9228e2" type="get"><query
> xmlns="http://jabber.org/protocol/disco#info"
> node="http://pidgin.im/#lV6i//bt2U8Rm0REcX8h4F3Nk3M="></query></iq>
> 18:31:13,231 | INFO  | stanza.client |
> iq.id='purple9e9228e2'.to='admin@localhost
> /5d5ed81103654983b6cf84e8f4ae9ace'.type='get'.query.disco.info
> 18:31:13,233 | INFO  | stanza.server |
> iq.id='purple9e9228e2'.from='admin@localhost
> /5d5ed81103654983b6cf84e8f4ae9ace'.type='result'.query.disco.info.feature='
> http://jabber.org/protocol/disco#info'
> 18:31:43,849 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <iq xmlns="jabber:client" id="purple9e9228e3"
> type="get"><ping xmlns="urn:xmpp:ping"></ping></iq>
> 18:31:43,850 | INFO  | stanza.client |
> iq.id='purple9e9228e3'.type='get'.ping.xmlns='urn:xmpp:ping'
> 18:31:43,852 | INFO  | stanza.server | iq.id
> ='purple9e9228e3'.type='result'
> 18:32:08,380 | DEBUG |
> org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
> changed to = INITIATED
> 18:32:08,383 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <stream:stream
> xmlns:stream="http://etherx.jabber.org/streams" to="localhost"
> xml:lang="en" from="nbmm" version="1.0"></stream:stream>
> 18:32:08,384 | INFO  | stanza.client | stream
> 18:32:08,384 | DEBUG |
> org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
> changed to = STARTED
> 18:32:08,386 | INFO  | stanza.server | stream.starttls[required]
> 18:32:08,390 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
> | Decoder writing stanza: <starttls
> xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls>
> 18:32:08,391 | INFO  | stanza.client | starttls
> 18:32:08,391 | DEBUG |
> org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
> changed to = ENCRYPTION_STARTED
> 18:32:18,438 | WARN  | org.apache.vysper.mina.XmppIoHandlerAdapter |
> error caught on transportation layer: {}
> java.lang.RuntimeException: sun.security.pkcs11.wrapper.PKCS11Exception:
> CKR_DOMAIN_PARAMS_INVALID
>     at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1028)
>     at
> sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:508)
>     at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:759)
>     at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:727)
>     at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
>     at org.apache.mina.filter.ssl.SslHandler.unwrap(SslHandler.java:725)
>     at
> org.apache.mina.filter.ssl.SslHandler.unwrapHandshake(SslHandler.java:663)
>     at org.apache.mina.filter.ssl.SslHandler.handshake(SslHandler.java:549)
>     at
> org.apache.mina.filter.ssl.SslHandler.messageReceived(SslHandler.java:349)
>     at
> org.apache.mina.filter.ssl.SslFilter.messageReceived(SslFilter.java:476)
>     at
>
> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
>     at
>
> org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
>     at
>
> org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
>     at
>
> org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
>     at
>
> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
>     at
>
> org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
>     at
>
> org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:693)
>     at
>
> org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:646)
>     at
>
> org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:635)
>     at
>
> org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:67)
>     at
>
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1079)
>     at
>
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
>     at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>     at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:679)
> Caused by: java.security.ProviderException:
> sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID
>     at
>
> sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:323)
>     at
>
> java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:673)
>     at sun.security.ssl.ECDHCrypt.<init>(ECDHCrypt.java:63)
>     at
>
> sun.security.ssl.ServerHandshaker.setupEphemeralECDHKeys(ServerHandshaker.java:993)
>     at
>
> sun.security.ssl.ServerHandshaker.trySetCipherSuite(ServerHandshaker.java:874)
>     at
>
> sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:803)
>     at
> sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:578)
>     at
> sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:170)
>     at sun.security.ssl.Handshaker.processLoop(Handshaker.java:609)
>     at sun.security.ssl.Handshaker$1.run(Handshaker.java:549)
>     at sun.security.ssl.Handshaker$1.run(Handshaker.java:547)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:968)
>     at org.apache.mina.filter.ssl.SslHandler.doTasks(SslHandler.java:767)
>     at org.apache.mina.filter.ssl.SslHandler.handshake(SslHandler.java:541)
>     ... 17 more
> Caused by: sun.security.pkcs11.wrapper.PKCS11Exception:
> CKR_DOMAIN_PARAMS_INVALID
>     at sun.security.pkcs11.wrapper.PKCS11.C_GenerateKeyPair(Native Method)
>     at
>
> sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:314)
>     ... 31 more
> 18:32:18,447 | DEBUG |
> org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
> changed to = CLOSED
> 18:32:18,448 | DEBUG |
> org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
> changed to = CLOSED
>
>
> and this is the skript:
>
> mmueller@nbmm:~$ echo "test" | sendxmpp -t -u mmueller -j localhost -p
> test
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1805.
> Use of uninitialized value $sid in concatenation (.) or string at
> /usr/share/perl5/XML/Stream.pm line 2573.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 2575.
> Use of uninitialized value $sid in concatenation (.) or string at
> /usr/share/perl5/XML/Stream.pm line 1654.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1655.
> Use of uninitialized value in concatenation (.) or string at
> /usr/share/perl5/XML/Stream.pm line 1655.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1657.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1659.
> Use of uninitialized value in numeric eq (==) at
> /usr/share/perl5/XML/Stream.pm line 1659.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1661.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1664.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 2458.
> Use of uninitialized value $sid in concatenation (.) or string at
> /usr/share/perl5/XML/Stream.pm line 2573.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 2575.
> Use of uninitialized value in concatenation (.) or string at
> /usr/share/perl5/XML/Stream.pm line 1443.
> Use of uninitialized value in numeric eq (==) at
> /usr/share/perl5/XML/Stream.pm line 1445.
> Use of uninitialized value within %status in numeric eq (==) at
> /usr/share/perl5/XML/Stream.pm line 1509.
> Use of uninitialized value in subtraction (-) at
> /usr/share/perl5/XML/Stream.pm line 1510.
> Use of uninitialized value in concatenation (.) or string at
> /usr/share/perl5/XML/Stream.pm line 1655.
> Use of uninitialized value in numeric eq (==) at
> /usr/share/perl5/XML/Stream.pm line 1659.
> Use of uninitialized value in hash element at
> /usr/share/perl5/Net/XMPP/Connection.pm line 399.
> Use of uninitialized value in hash element at
> /usr/share/perl5/Net/XMPP/Connection.pm line 406.
> Use of uninitialized value in hash element at
> /usr/share/perl5/Net/XMPP/Connection.pm line 399.
> Use of uninitialized value in string eq at /usr/local/bin/sendxmpp line
> 523.
> Error 'AuthSend': [?]
> Use of uninitialized value $sid in concatenation (.) or string at
> /usr/share/perl5/XML/Stream.pm line 1654.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1655.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1657.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1659.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1292.
> Use of uninitialized value in string eq at
> /usr/share/perl5/XML/Stream.pm line 1292.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1292.
> Use of uninitialized value in string eq at
> /usr/share/perl5/XML/Stream.pm line 1292.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1295.
> Use of uninitialized value in delete at /usr/share/perl5/XML/Stream.pm
> line 1295.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1296.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1298.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1298.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1298.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1298.
> Use of uninitialized value $sid in hash element at
> /usr/share/perl5/XML/Stream.pm line 1298.
> Use of uninitialized value $sid in delete at
> /usr/share/perl5/XML/Stream.pm line 1300.
>
>
> Greets,
>
> Markus
>
>
>
>
> On 29.11.2013 17:11, Bernd Fondermann wrote:
> > What errors do you see, from script and server?
> >
> >   Bernd
> >
> >
> > On Thu, Nov 28, 2013 at 9:29 AM, Markus Müller <120.9921fbsd@gmail.com
> >wrote:
> >
> >> Hello Jeff,
> >>
> >> is it possible to use in any way the pearl skript sendxmpp with the
> >> xmpp-server vysper ?
> >>
> >> i have tested the skript with a local installation of vysper, but i
> >> wrecked any time.
> >> The communication with pidgin and vysper is possible.
> >>
> >> Markus
> >>
> >> On 28.11.2013 09:17, Jeff MAURY wrote:
> >>> English, please
> >>>
> >>>
> >>>
> >>>
> >>> Jeff
> >>>
> >>> —
> >>> Sent from Mailbox for iPhone
> >>>
> >>> On Wed, Nov 27, 2013 at 10:52 PM, Markus Müller <
> 120.9921fbsd@gmail.com>
> >>> wrote:
> >>>
> >>>> Hallo,
> >>>> ist es möglich sendxmpp für vysper einzusetzen ?
> >>>> Wenn ja, wie ??
> >>>> meine Versuche auf dem lokal installiertem vysper mit sendxmpp zu
> >>>> arbeiten scheiterte bis jetzt, die Kommunikation mit Pidgin ist jedoch
> >>>> problemlos möglich.
> >>>> Markus
> >>
>
>

Re: sendxmpp mit vysper

Posted by Markus Müller <12...@gmail.com>.
Hello Bernd,

this is the output from server:
mmueller@nbmm:~$ /home/mmueller/opt/vysper-0.7/bin/./run.sh
18:30:59,471 | INFO  |
org.springframework.context.support.ClassPathXmlApplicationContext |
Refreshing
org.springframework.context.support.ClassPathXmlApplicationContext@14384c2:
startup date [Fri Nov 29 18:30:59 CET 2013]; root of context hierarchy
18:30:59,540 | INFO  |
org.springframework.beans.factory.xml.XmlBeanDefinitionReader | Loading
XML bean definitions from class path resource [spring-config.xml]
18:30:59,638 | INFO  |
org.springframework.beans.factory.support.DefaultListableBeanFactory |
Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@453807:
defining beans
[inmemoryStorageRegistry,jcrStorageRegistry,addUsers,tcpEndpoint,server]; root
of factory hierarchy
18:31:00,294 | INFO  |
org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | replacing
the storage provider registry with
org.apache.vysper.storage.inmemory.MemoryStorageProviderRegistry
18:31:00,326 | INFO  |
org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
module... servicediscovery (1.0beta)
18:31:00,331 | INFO  |
org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
module... roster (1.0beta)
18:31:00,420 | INFO  |
org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
module... XEP-0092 Software Version (1.0)
18:31:00,430 | INFO  |
org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
module... XEP-0202 Entity Time (1.0)
18:31:00,436 | INFO  |
org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
module... XEP-0054 Vcard-temp (1.0)
18:31:00,437 | ERROR |
org.apache.vysper.xmpp.modules.extension.xep0054_vcardtemp.VcardTempModule
| no VcardTempPersistenceManager found
18:31:00,437 | INFO  |
org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
module... XEP-0199 XMPP Ping (2.0)
18:31:00,437 | INFO  |
org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
module... XEP-0049 Private Data (1.2)
18:31:00,437 | ERROR |
org.apache.vysper.xmpp.modules.extension.xep0049_privatedata.PrivateDataModule
| no PrivateDataPersistenceManager found
18:31:00,437 | INFO  |
org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
module... XEP-0050 Ad-hoc Commands (1.2)
18:31:00,438 | INFO  |
org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
module... XEP-0133 Service Administration (1.1)
18:31:00,439 | INFO  |
org.apache.vysper.xmpp.server.DefaultServerRuntimeContext | adding
module... XEP-0045 Multi-user chat (1.24)
18:31:00,449 | WARN  |
org.apache.vysper.xmpp.modules.extension.xep0045_muc.MUCModule | No room
storage provider found, using the default (in memory)
18:31:00,449 | WARN  |
org.apache.vysper.xmpp.modules.extension.xep0045_muc.MUCModule | No
occupant storage provider found, using the default (in memory)
vysper server is running (using spring framework)...
18:31:12,742 | DEBUG |
org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
changed to = INITIATED
18:31:12,777 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <stream:stream
xmlns:stream="http://etherx.jabber.org/streams" to="localhost"
version="1.0"></stream:stream>
18:31:12,779 | INFO  | stanza.client | stream
18:31:12,786 | DEBUG |
org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
changed to = STARTED
18:31:12,795 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <starttls
xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls>
18:31:12,795 | INFO  | stanza.client | starttls
18:31:12,798 | INFO  | stanza.server | stream.starttls[required]
18:31:12,799 | DEBUG |
org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
changed to = ENCRYPTION_STARTED
18:31:12,976 | DEBUG |
org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
changed to = ENCRYPTED
18:31:12,976 | INFO  | stanza.server | proceed
18:31:13,059 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <stream:stream
xmlns:stream="http://etherx.jabber.org/streams" to="localhost"
version="1.0"></stream:stream>
18:31:13,059 | INFO  | stanza.client | stream
18:31:13,068 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl"
mechanism="PLAIN"
ga:client-uses-full-bind-result="true">AGFkbWluAHRlc3Q=</auth>
18:31:13,068 | INFO  | stanza.client | auth.mechanism='PLAIN'
18:31:13,069 | INFO  | stanza.server | stream.features.mechanisms[PLAIN]
18:31:13,076 | DEBUG |
org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
changed to = AUTHENTICATED
18:31:13,077 | INFO  | stanza.server | success
18:31:13,080 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <stream:stream
xmlns:stream="http://etherx.jabber.org/streams" to="localhost"
version="1.0"></stream:stream>
18:31:13,080 | INFO  | stanza.client | stream
18:31:13,083 | INFO  | stanza.server | stream
18:31:13,087 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <iq xmlns="jabber:client" id="purple9e9228d9"
type="set"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"></bind></iq>
18:31:13,087 | INFO  | stanza.client |
iq.id='purple9e9228d9'.type='set'.bind.xmlns='urn:ietf:params:xml:ns:xmpp-bind'
18:31:13,091 | INFO  |
org.apache.vysper.xmpp.state.resourcebinding.ResourceRegistry | added
resource no. 1 to entity admin@localhost <- 5d5ed81103654983b6cf84e8f4ae9ace
18:31:13,091 | INFO  |
org.apache.vysper.xmpp.state.resourcebinding.ResourceRegistry | added
resource no. 1 to session c548d73fab70448592a0480cba4e3b09 <-
5d5ed81103654983b6cf84e8f4ae9ace
18:31:13,127 | INFO  | stanza.server |
iq.id='purple9e9228d9'.type='result'.bind.xmlns='urn:ietf:params:xml:ns:xmpp-bind'
18:31:13,130 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <iq xmlns="jabber:client" id="purple9e9228da"
type="set"><session
xmlns="urn:ietf:params:xml:ns:xmpp-session"></session></iq>
18:31:13,131 | INFO  | stanza.client |
iq.id='purple9e9228da'.type='set'.session.xmlns='urn:ietf:params:xml:ns:xmpp-session'
18:31:13,137 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <iq xmlns="jabber:client" to="localhost"
id="purple9e9228db" type="get"><query
xmlns="http://jabber.org/protocol/disco#items"></query></iq>
18:31:13,137 | INFO  | stanza.client |
iq.id='purple9e9228db'.to='localhost'.type='get'.query.disco.items
18:31:13,137 | INFO  | stanza.server |
iq.id='purple9e9228da'.from='localhost'.type='result'
18:31:13,140 | INFO  | stanza.server |
iq.id='purple9e9228db'.from='localhost'.type='result'.query.disco.items
18:31:13,142 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <iq xmlns="jabber:client" to="localhost"
id="purple9e9228dc" type="get"><query
xmlns="http://jabber.org/protocol/disco#info"></query></iq>
18:31:13,142 | INFO  | stanza.client |
iq.id='purple9e9228dc'.to='localhost'.type='get'.query.disco.info
18:31:13,146 | INFO  | stanza.server |
iq.id='purple9e9228dc'.from='localhost'.type='result'.query.disco.info.feature='http://jabber.org/protocol/disco#info'.feature='jabber:iq:version'.feature='urn:xmpp:time'.feature='jabber:iq:time'.feature='vcard-temp'.feature='urn:xmpp:ping'.feature='jabber:iq:private'.feature='http://jabber.org/protocol/commands'
18:31:13,148 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <iq xmlns="jabber:client" to="chat.localhost"
id="purple9e9228dd" type="get"><query
xmlns="http://jabber.org/protocol/disco#info"></query></iq>
18:31:13,148 | INFO  | stanza.client |
iq.id='purple9e9228dd'.to='chat.localhost'.type='get'.query.disco.info
18:31:13,154 | INFO  | stanza.server |
iq.id='purple9e9228dd'.from='chat.localhost'.type='result'.query.disco.info.feature='http://jabber.org/protocol/muc'
18:31:13,157 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <iq xmlns="jabber:client" id="purple9e9228de"
type="get"><vCard xmlns="vcard-temp"></vCard></iq>
18:31:13,157 | INFO  | stanza.client |
iq.id='purple9e9228de'.type='get'.vCard.xmlns='vcard-temp'
18:31:13,161 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <iq xmlns="jabber:client" id="purple9e9228df"
type="get"><query xmlns="jabber:iq:roster"></query></iq>
18:31:13,162 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <iq xmlns="jabber:client" to="localhost"
id="purple9e9228e0" type="get"><query
xmlns="http://jabber.org/protocol/disco#items"
node="http://jabber.org/protocol/commands"></query></iq>
18:31:13,163 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <iq xmlns="jabber:client"
to="proxy.eu.jabber.org" id="purple9e9228e1" type="get"><query
xmlns="http://jabber.org/protocol/bytestreams"></query></iq>
18:31:13,163 | INFO  | stanza.client |
iq.id='purple9e9228df'.type='get'.query.xmlns='jabber:iq:roster'
18:31:13,166 | INFO  | stanza.client |
iq.id='purple9e9228e0'.to='localhost'.type='get'.query.disco.items
18:31:13,167 | INFO  | stanza.client |
iq.id='purple9e9228e1'.to='proxy.eu.jabber.org'.type='get'.query.xmlns='http://jabber.org/protocol/bytestreams'
18:31:13,172 | INFO  | stanza.server |
iq.id='purple9e9228de'.type='result'.vCard.xmlns='vcard-temp'
18:31:13,173 | INFO  | stanza.server |
iq.id='purple9e9228df'.to='admin@localhost/5d5ed81103654983b6cf84e8f4ae9ace'.type='result'.query.xmlns='jabber:iq:roster'
18:31:13,173 | INFO  | stanza.server |
iq.id='purple9e9228e0'.from='localhost'.type='result'.query.disco.items
18:31:13,173 | INFO  | stanza.server |
iq.id='purple9e9228e1'.from='proxy.eu.jabber.org'.type='error'.query.xmlns='http://jabber.org/protocol/bytestreams'
18:31:13,212 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <presence
xmlns="jabber:client"><priority>1</priority><c
xmlns="http://jabber.org/protocol/caps" node="http://pidgin.im/"
hash="sha-1" ver="lV6i//bt2U8Rm0REcX8h4F3Nk3M=" ext="voice-v1 camera-v1
video-v1"></c><x xmlns="vcard-temp:x:update"><photo></photo></x></presence>
18:31:13,213 | INFO  | stanza.client |
presence.node='http://pidgin.im/'.ver='lV6i//bt2U8Rm0REcX8h4F3Nk3M='.ext='voice-v1
camera-v1 video-v1'
18:31:13,217 | WARN  |
org.apache.vysper.xmpp.modules.core.im.handler.PresenceAvailabilityHandler
| No Offline Storage Provider configured
18:31:13,228 | INFO  | stanza.server |
presence.from='admin@localhost/5d5ed81103654983b6cf84e8f4ae9ace'.to='admin@localhost/5d5ed81103654983b6cf84e8f4ae9ace'.node='http://pidgin.im/'.ver='lV6i//bt2U8Rm0REcX8h4F3Nk3M='.ext='voice-v1
camera-v1 video-v1'
18:31:13,228 | INFO  |
org.apache.vysper.xmpp.modules.core.im.handler.PresenceAvailabilityHandler
| admin@localhost/5d5ed81103654983b6cf84e8f4ae9ace has become available
18:31:13,231 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <iq xmlns="jabber:client"
to="admin@localhost/5d5ed81103654983b6cf84e8f4ae9ace"
id="purple9e9228e2" type="get"><query
xmlns="http://jabber.org/protocol/disco#info"
node="http://pidgin.im/#lV6i//bt2U8Rm0REcX8h4F3Nk3M="></query></iq>
18:31:13,231 | INFO  | stanza.client |
iq.id='purple9e9228e2'.to='admin@localhost/5d5ed81103654983b6cf84e8f4ae9ace'.type='get'.query.disco.info
18:31:13,233 | INFO  | stanza.server |
iq.id='purple9e9228e2'.from='admin@localhost/5d5ed81103654983b6cf84e8f4ae9ace'.type='result'.query.disco.info.feature='http://jabber.org/protocol/disco#info'
18:31:43,849 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <iq xmlns="jabber:client" id="purple9e9228e3"
type="get"><ping xmlns="urn:xmpp:ping"></ping></iq>
18:31:43,850 | INFO  | stanza.client |
iq.id='purple9e9228e3'.type='get'.ping.xmlns='urn:xmpp:ping'
18:31:43,852 | INFO  | stanza.server | iq.id='purple9e9228e3'.type='result'
18:32:08,380 | DEBUG |
org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
changed to = INITIATED
18:32:08,383 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <stream:stream
xmlns:stream="http://etherx.jabber.org/streams" to="localhost"
xml:lang="en" from="nbmm" version="1.0"></stream:stream>
18:32:08,384 | INFO  | stanza.client | stream
18:32:08,384 | DEBUG |
org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
changed to = STARTED
18:32:08,386 | INFO  | stanza.server | stream.starttls[required]
18:32:08,390 | DEBUG | org.apache.vysper.xml.decoder.XMPPContentHandler
| Decoder writing stanza: <starttls
xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls>
18:32:08,391 | INFO  | stanza.client | starttls
18:32:08,391 | DEBUG |
org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
changed to = ENCRYPTION_STARTED
18:32:18,438 | WARN  | org.apache.vysper.mina.XmppIoHandlerAdapter |
error caught on transportation layer: {}
java.lang.RuntimeException: sun.security.pkcs11.wrapper.PKCS11Exception:
CKR_DOMAIN_PARAMS_INVALID
    at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1028)
    at
sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:508)
    at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:759)
    at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:727)
    at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
    at org.apache.mina.filter.ssl.SslHandler.unwrap(SslHandler.java:725)
    at
org.apache.mina.filter.ssl.SslHandler.unwrapHandshake(SslHandler.java:663)
    at org.apache.mina.filter.ssl.SslHandler.handshake(SslHandler.java:549)
    at
org.apache.mina.filter.ssl.SslHandler.messageReceived(SslHandler.java:349)
    at
org.apache.mina.filter.ssl.SslFilter.messageReceived(SslFilter.java:476)
    at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
    at
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
    at
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
    at
org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
    at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
    at
org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
    at
org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:693)
    at
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:646)
    at
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:635)
    at
org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:67)
    at
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1079)
    at
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:679)
Caused by: java.security.ProviderException:
sun.security.pkcs11.wrapper.PKCS11Exception: CKR_DOMAIN_PARAMS_INVALID
    at
sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:323)
    at
java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:673)
    at sun.security.ssl.ECDHCrypt.<init>(ECDHCrypt.java:63)
    at
sun.security.ssl.ServerHandshaker.setupEphemeralECDHKeys(ServerHandshaker.java:993)
    at
sun.security.ssl.ServerHandshaker.trySetCipherSuite(ServerHandshaker.java:874)
    at
sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:803)
    at
sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:578)
    at
sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:170)
    at sun.security.ssl.Handshaker.processLoop(Handshaker.java:609)
    at sun.security.ssl.Handshaker$1.run(Handshaker.java:549)
    at sun.security.ssl.Handshaker$1.run(Handshaker.java:547)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:968)
    at org.apache.mina.filter.ssl.SslHandler.doTasks(SslHandler.java:767)
    at org.apache.mina.filter.ssl.SslHandler.handshake(SslHandler.java:541)
    ... 17 more
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception:
CKR_DOMAIN_PARAMS_INVALID
    at sun.security.pkcs11.wrapper.PKCS11.C_GenerateKeyPair(Native Method)
    at
sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:314)
    ... 31 more
18:32:18,447 | DEBUG |
org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
changed to = CLOSED
18:32:18,448 | DEBUG |
org.apache.vysper.xmpp.protocol.SessionStateHolder | session state
changed to = CLOSED


and this is the skript:

mmueller@nbmm:~$ echo "test" | sendxmpp -t -u mmueller -j localhost -p test
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1805.
Use of uninitialized value $sid in concatenation (.) or string at
/usr/share/perl5/XML/Stream.pm line 2573.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 2575.
Use of uninitialized value $sid in concatenation (.) or string at
/usr/share/perl5/XML/Stream.pm line 1654.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1655.
Use of uninitialized value in concatenation (.) or string at
/usr/share/perl5/XML/Stream.pm line 1655.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1657.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1659.
Use of uninitialized value in numeric eq (==) at
/usr/share/perl5/XML/Stream.pm line 1659.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1661.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1664.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 2458.
Use of uninitialized value $sid in concatenation (.) or string at
/usr/share/perl5/XML/Stream.pm line 2573.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 2575.
Use of uninitialized value in concatenation (.) or string at
/usr/share/perl5/XML/Stream.pm line 1443.
Use of uninitialized value in numeric eq (==) at
/usr/share/perl5/XML/Stream.pm line 1445.
Use of uninitialized value within %status in numeric eq (==) at
/usr/share/perl5/XML/Stream.pm line 1509.
Use of uninitialized value in subtraction (-) at
/usr/share/perl5/XML/Stream.pm line 1510.
Use of uninitialized value in concatenation (.) or string at
/usr/share/perl5/XML/Stream.pm line 1655.
Use of uninitialized value in numeric eq (==) at
/usr/share/perl5/XML/Stream.pm line 1659.
Use of uninitialized value in hash element at
/usr/share/perl5/Net/XMPP/Connection.pm line 399.
Use of uninitialized value in hash element at
/usr/share/perl5/Net/XMPP/Connection.pm line 406.
Use of uninitialized value in hash element at
/usr/share/perl5/Net/XMPP/Connection.pm line 399.
Use of uninitialized value in string eq at /usr/local/bin/sendxmpp line 523.
Error 'AuthSend': [?]
Use of uninitialized value $sid in concatenation (.) or string at
/usr/share/perl5/XML/Stream.pm line 1654.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1655.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1657.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1659.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1292.
Use of uninitialized value in string eq at
/usr/share/perl5/XML/Stream.pm line 1292.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1292.
Use of uninitialized value in string eq at
/usr/share/perl5/XML/Stream.pm line 1292.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1295.
Use of uninitialized value in delete at /usr/share/perl5/XML/Stream.pm
line 1295.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1296.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1298.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1298.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1298.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1298.
Use of uninitialized value $sid in hash element at
/usr/share/perl5/XML/Stream.pm line 1298.
Use of uninitialized value $sid in delete at
/usr/share/perl5/XML/Stream.pm line 1300.


Greets,

Markus



 
On 29.11.2013 17:11, Bernd Fondermann wrote:
> What errors do you see, from script and server?
>
>   Bernd
>
>
> On Thu, Nov 28, 2013 at 9:29 AM, Markus Müller <12...@gmail.com>wrote:
>
>> Hello Jeff,
>>
>> is it possible to use in any way the pearl skript sendxmpp with the
>> xmpp-server vysper ?
>>
>> i have tested the skript with a local installation of vysper, but i
>> wrecked any time.
>> The communication with pidgin and vysper is possible.
>>
>> Markus
>>
>> On 28.11.2013 09:17, Jeff MAURY wrote:
>>> English, please
>>>
>>>
>>>
>>>
>>> Jeff
>>>
>>> —
>>> Sent from Mailbox for iPhone
>>>
>>> On Wed, Nov 27, 2013 at 10:52 PM, Markus Müller <12...@gmail.com>
>>> wrote:
>>>
>>>> Hallo,
>>>> ist es möglich sendxmpp für vysper einzusetzen ?
>>>> Wenn ja, wie ??
>>>> meine Versuche auf dem lokal installiertem vysper mit sendxmpp zu
>>>> arbeiten scheiterte bis jetzt, die Kommunikation mit Pidgin ist jedoch
>>>> problemlos möglich.
>>>> Markus
>>


Re: sendxmpp mit vysper

Posted by Bernd Fondermann <be...@gmail.com>.
What errors do you see, from script and server?

  Bernd


On Thu, Nov 28, 2013 at 9:29 AM, Markus Müller <12...@gmail.com>wrote:

> Hello Jeff,
>
> is it possible to use in any way the pearl skript sendxmpp with the
> xmpp-server vysper ?
>
> i have tested the skript with a local installation of vysper, but i
> wrecked any time.
> The communication with pidgin and vysper is possible.
>
> Markus
>
> On 28.11.2013 09:17, Jeff MAURY wrote:
> > English, please
> >
> >
> >
> >
> > Jeff
> >
> > —
> > Sent from Mailbox for iPhone
> >
> > On Wed, Nov 27, 2013 at 10:52 PM, Markus Müller <12...@gmail.com>
> > wrote:
> >
> >> Hallo,
> >> ist es möglich sendxmpp für vysper einzusetzen ?
> >> Wenn ja, wie ??
> >> meine Versuche auf dem lokal installiertem vysper mit sendxmpp zu
> >> arbeiten scheiterte bis jetzt, die Kommunikation mit Pidgin ist jedoch
> >> problemlos möglich.
> >> Markus
>
>

Re: sendxmpp mit vysper

Posted by Markus Müller <12...@gmail.com>.
Hello Jeff,

is it possible to use in any way the pearl skript sendxmpp with the
xmpp-server vysper ?

i have tested the skript with a local installation of vysper, but i
wrecked any time.
The communication with pidgin and vysper is possible.

Markus

On 28.11.2013 09:17, Jeff MAURY wrote:
> English, please 
>
>
>
>
> Jeff
>
> —
> Sent from Mailbox for iPhone
>
> On Wed, Nov 27, 2013 at 10:52 PM, Markus Müller <12...@gmail.com>
> wrote:
>
>> Hallo,
>> ist es möglich sendxmpp für vysper einzusetzen ?
>> Wenn ja, wie ??
>> meine Versuche auf dem lokal installiertem vysper mit sendxmpp zu
>> arbeiten scheiterte bis jetzt, die Kommunikation mit Pidgin ist jedoch
>> problemlos möglich.
>> Markus


Re: sendxmpp mit vysper

Posted by Jeff MAURY <je...@gmail.com>.
English, please 




Jeff

—
Sent from Mailbox for iPhone

On Wed, Nov 27, 2013 at 10:52 PM, Markus Müller <12...@gmail.com>
wrote:

> Hallo,
> ist es möglich sendxmpp für vysper einzusetzen ?
> Wenn ja, wie ??
> meine Versuche auf dem lokal installiertem vysper mit sendxmpp zu
> arbeiten scheiterte bis jetzt, die Kommunikation mit Pidgin ist jedoch
> problemlos möglich.
> Markus