About Kontalk Server

Dear daniele_athome

i Start up
root@debian:~/tigase-kontalk# scripts/tigase.sh start etc/tigase.conf
Starting Tigase:
Tigase running pid=7461

this is my init.properties,and i change

S2S endpoint configuration (comment to disable XMPP federation)

–s2s-ports=5269,5222,5999,8443

# Default Kontalk configuration, fine for most configurations
# XMPP host where you're serving your Kontalk instance
# Kontalk extensions support one virtual host only for now
sess-man/plugins-conf/urn\:ietf\:params\:xml\:ns\:xmpp-sasl/host=prime.kontalk.net
# Virtual hosts served by this instance (must match the above)
--virt-hosts=prime.kontalk.net
# Administrator JID (must be in the above domain)
--admins=admin@prime.kontalk.net

# Fingerprint of the GPG server key
sess-man/plugins-conf/fingerprint=FC863FD915B73C928281415BE93F81069436D92B

# The global network domain (do not change this if you want to participate in the Kontalk global network)
sess-man/plugins-conf/network-domain=kontalk.net

# Database configuration (the two db-uri parameters must be identical)
--user-db=mysql
--user-db-uri=jdbc:mysql://127.0.0.1:3306/tigase?user=root&password=toor&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC
sess-man/plugins-conf/db-uri=jdbc:mysql://127.0.0.1:3306/tigase?user=root&password=toor&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC

# Registration provider configuration
# Android emulator registration provider: it will emulate an SMS with the verification code
#sess-man/plugins-conf/kontalk\:jabber\:iq\:register/providers[s]=android=org.kontalk.xmppserver.registration.AndroidEmulatorProvider
# how many seconds to wait before a user can retry registration
#sess-man/plugins-conf/kontalk\:jabber\:iq\:register/android-expire[I]=900
# the sender number of the emulated SMS
#sess-man/plugins-conf/kontalk\:jabber\:iq\:register/android-sender=12345
# the device ID of the emulator to send the SMS to
#sess-man/plugins-conf/kontalk\:jabber\:iq\:register/android-device=emulator-5554

# Dummy provider configuration
# It will always accept 123456 as a valid verification code
# Good for a remote test server
sess-man/plugins-conf/kontalk\:jabber\:iq\:register/providers[s]=dummy=org.kontalk.xmppserver.registration.DummyProvider
sess-man/plugins-conf/kontalk\:jabber\:iq\:register/dummy-sender=123456

# Endpoints configuration
# All endpoints must declare a clientCertCA pointing to a valid certificate chain file
# (any CA chain will do, it won't actually be used but Tigase won't work without it)

# Client endpoint configuration
--c2s-ports=5999,5222,5223,8443
c2s/connections/5223/socket=ssl
c2s/connections/8443/socket=ssl
c2s/clientCertCA=trusted.pem

# Websocket endpoint configuration
message-router/components/msg-receivers/ws2s.active[B]=false
ws2s/connections/5290/socket=ssl
ws2s/clientCertCA=trusted.pem

# BOSH endpoint configuration
message-router/components/msg-receivers/bosh.active[B]=false
bosh/connections/5280/socket=ssl
bosh/clientCertCA=trusted.pem

# S2S endpoint configuration (comment to disable XMPP federation)
--s2s-ports=5269,5222,5999,8443

# Enabled plugins, comma-separated
# prefixed with a minus (-) means not loaded, prefixed with nothing or with a plus (+) means loaded.
# add "+kontalk:push:legacy" to enable Kontalk push notifications (external component must also be configured below)
--sm-plugins=-amp,-message-carbons,-jabber:iq:auth,-jabber:iq:register,-jabber:iq:privacy,-jabber:iq:last,-msgoffline,-urn:xmpp:blocking,-urn:xmpp:csi:0,+message,+msgoffline2,+presence:urn:xmpp:pubkey:2,+kontalk:jabber:iq:register,+kontalk:jabber:iq:roster,+urn:xmpp:pubkey:2,+kontalk:urn:xmpp:blocking,+kontalk:urn:xmpp:csi:0,+kontalk:jabber:iq:last

# Comment these to revert to default logging
--debug=server,xmpp.impl
--debug-packages=org.kontalk

# External components. Do not change the default names!
# --comp-xxx parameter pairs follow a numbering order
# whenever you delete/comment or insert a component, remember to fix the numbering!!

# Network component
# enables server list commands. Particularly needed if participating in a global network
--comp-name-1=network
--comp-class-1=org.kontalk.xmppserver.NetworkComponent

# Phone number lookup component
# enables discovery of contacts in the local/global network by their phone numbers
--comp-name-2=probe
--comp-class-2=org.kontalk.xmppserver.probe.ProbeComponent

# External XMPP component protocol
# needed for HttpFileUploadComponent
--comp-name-3=ext
--comp-class-3=tigase.server.ext.ComponentProtocol
# these must match HttpFileUploadComponent configuration
--external=media.prime.kontalk.net:secret:listen:5270

--comp-name-4=multicast
--comp-class-4=org.kontalk.xmppserver.ExtendedAddressing

# GCM push notifications
# remember to fix --sm-plugins too (see above)
#--comp-name-5=push
#--comp-class-5=org.kontalk.xmppserver.KontalkLegacyPushComponent
#push/gcm-projectid=PROJECT-ID
#push/gcm-apikey=API-KEY

# Internal parameters
# the following properties must not be changed unless you really know what you're doing
basic-conf/auth-repo-params/sasl-mechs=EXTERNAL
sess-man/plugins-conf/urn\:ietf\:params\:xml\:ns\:xmpp-sasl/factory=org.kontalk.xmppserver.auth.KontalkSaslServerFactory
sess-man/plugins-conf/urn\:ietf\:params\:xml\:ns\:xmpp-sasl/mechanism-selector=org.kontalk.xmppserver.auth.KontalkMechanismSelector
sess-man/plugins-conf/urn\:ietf\:params\:xml\:ns\:xmpp-sasl/callbackhandler-EXTERNAL=org.kontalk.xmppserver.auth.KontalkCertificateCallbackHandler
sess-man/plugins-conf/presence-state/extended-presence-processors=org.kontalk.xmppserver.presence.PublicKeyPresence
c2s/processors[s]=urn:xmpp:sm:3=org.kontalk.xmppserver.KontalkIOProcessor
message-router/components/msg-receivers/amp.active[B]=false
--vhost-anonymous-enabled=false
--vhost-tls-required=false
--hardened-mode=true
config-type=--gen-config-def

this is android studio

05-04 17:56:43.160 24557-25784/org.kontalk.debug E/NumberValidation: validation error.
                                                                     org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 15000ms (~15s). Used filter: No filter used or filter was 'null'.
                                                                         at org.jivesoftware.smack.SynchronizationPoint.checkForResponse(SynchronizationPoint.java:253)
                                                                         at org.jivesoftware.smack.SynchronizationPoint.checkIfSuccessOrWait(SynchronizationPoint.java:146)
                                                                         at org.jivesoftware.smack.SynchronizationPoint.checkIfSuccessOrWaitOrThrow(SynchronizationPoint.java:125)
                                                                         at org.kontalk.client.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:857)
                                                                         at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:364)
                                                                         at org.kontalk.service.XMPPConnectionHelper.connectOnce(XMPPConnectionHelper.java:195)
                                                                         at org.kontalk.service.XMPPConnectionHelper.connectOnce(XMPPConnectionHelper.java:144)
                                                                         at org.kontalk.client.NumberValidator.initConnection(NumberValidator.java:545)
                                                                         at org.kontalk.client.NumberValidator.run(NumberValidator.java:256)
                                                                         at java.lang.Thread.run(Thread.java:833)
05-04 17:56:43.210 24557-24557/org.kontalk.debug W/NumberValidator: shutting down
05-04 17:56:43.210 24557-24557/org.kontalk.debug W/NumberValidator: exiting

Thanks very much

3 posts were merged into an existing topic: Setting up Kontalk server - issues with getting it started