Tigase XMPP Server Board

Installation and maintenance: RE: jingle protocol support

Tue, 05/17/2016 - 05:29

Could you explain me how i can add stun server component save/show log in Tigase?

At the moment i have got two problems.

When i try connect to 3478 port

@==> logs/tigase-console.log <==
2016-05-17 13:57:19.646 [Thread-4102] ThreadExceptionHandler.uncaughtException() SEVERE: Uncaught thread: "Thread-4102" exception
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at de.javawi.jstun.header.MessageHeader.<clinit>(MessageHeader.java:41)
at tigase.stun.StunServerReceiverThread.run(StunServerReceiverThread.java:69)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at de.javawi.jstun.header.MessageHeader.<clinit>(MessageHeader.java:41)
at tigase.stun.StunServerReceiverThread.run(StunServerReceiverThread.java:69)

> logs/tigase.log.0 <
2016-05-17 13:57:19.646 [Thread-4102] ThreadExceptionHandler.uncaughtException() SEVERE: Uncaught thread: "Thread-4102" exception
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at de.javawi.jstun.header.MessageHeader.<clinit>(MessageHeader.java:41)
at tigase.stun.StunServerReceiverThread.run(StunServerReceiverThread.java:69)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at de.javawi.jstun.header.MessageHeader.<clinit>(MessageHeader.java:41)
at tigase.stun.StunServerReceiverThread.run(StunServerReceiverThread.java:69)@

And this when connect to 7001

@==> logs/tigase-console.log <==
2016-05-17 13:57:45.535 [Thread-4103] ThreadExceptionHandler.uncaughtException() SEVERE: Uncaught thread: "Thread-4103" exception
java.lang.NoClassDefFoundError: Could not initialize class de.javawi.jstun.header.MessageHeader
at tigase.stun.StunServerReceiverThread.run(StunServerReceiverThread.java:69)

> logs/tigase.log.0 <
2016-05-17 13:57:45.535 [Thread-4103] ThreadExceptionHandler.uncaughtException() SEVERE: Uncaught thread: "Thread-4103" exception
java.lang.NoClassDefFoundError: Could not initialize class de.javawi.jstun.header.MessageHeader
at tigase.stun.StunServerReceiverThread.run(StunServerReceiverThread.java:69)@

So, what i am do wrong?

Categories: Tigase Forums

API and development: RE: Jingle support for audio / video sharing in XMPP session?

Tue, 05/17/2016 - 04:48

There is https://projects.tigase.org/issues/440 issue, and probably audio/video support will be added to the library while this feature will be implemented.

Categories: Tigase Forums

API and development: RE: Jingle support for audio / video sharing in XMPP session?

Tue, 05/17/2016 - 04:46

Audio support hasn't been added to Jaxmpp library so far.

Categories: Tigase Forums

Installation and maintenance: RE: jingle protocol support

Tue, 05/17/2016 - 04:40

It definitely looks like NAT problem. Your configuration looks OK.

I think the best would be to ask on Jitsi forums to troubleshoot connectivity problem you are experiencing with their client.

Categories: Tigase Forums

Installation and maintenance: RE: PubSub: Owner affiliation

Tue, 05/17/2016 - 04:18

sorry for the duplication...
I thought this section was the better place to ask this question..

Categories: Tigase Forums

Installation and maintenance: RE: PubSub: Owner affiliation

Tue, 05/17/2016 - 03:56

Please don't duplicate topics. The answer will be given in the original: https://projects.tigase.org/boards/9/topics/6629

Categories: Tigase Forums

Installation and maintenance: PubSub: Owner affiliation

Tue, 05/17/2016 - 03:41

Hi

I was wondering how can i give every subscriber to a node the owner affiliation by default so that he can subscribe others...

Here is the use case:
I am planning to create a group chat feature using PubSub. A user will create a group(node) and add other users as members, these subscribed user can also subscribe other users to this node.

I tried to update the tables and set the affiliation column to 'owner' when any subscriptions was made,It makes the user owner But it does not seem to work

Any help is appreciated
Thank you.

Categories: Tigase Forums

Installation and maintenance: RE: [website] projects.tigase.org certificate expired

Mon, 05/16/2016 - 11:14

Thanks Daniele, we've made an internal ticket to get this resolved.

Categories: Tigase Forums

Installation and maintenance: RE: [website] projects.tigase.org certificate expired

Mon, 05/16/2016 - 10:49

Ehm guys...
https://www.ssllabs.com/ssltest/analyze.html?d=projects.tigase.org

This server supports insecure Diffie-Hellman (DH) key exchange parameters (Logjam). Grade set to F. This server supports 512-bit export suites and might be vulnerable to the FREAK attack. Grade set to F. This server is vulnerable to the POODLE attack. If possible, disable SSL 3 to mitigate. Grade capped to C. Intermediate certificate has a weak signature. Upgrade to SHA2 as soon as possible to avoid browser warnings. This server accepts RC4 cipher, but only with older protocol versions. Grade capped to B. The server does not support Forward Secrecy with the reference browsers. This server's certificate chain is incomplete. Grade capped to B.

The last error made git on Debian not working anymore because of certificate validation error.

Categories: Tigase Forums

Installation and maintenance: RE: [website] projects.tigase.org certificate expired

Thu, 05/12/2016 - 13:38

Thanks. We've taken care of it.

Categories: Tigase Forums

Installation and maintenance: [website] projects.tigase.org certificate expired

Thu, 05/12/2016 - 05:08

Sorry I didn't know where else to write this. I just wanted to let you know that the certificate for this site has expired today.

Categories: Tigase Forums

Installation and maintenance: jingle protocol support

Wed, 05/11/2016 - 06:30

Hello dear maintainers.
I installed the last version of Tigase XMPP server. All working at the moment.
But i want use my jabber server for audio/video call to.
So, after install, i am connected with Jitsi client from two accounts(two different PC) and try call from one to other.
Video and audio calls working.(My XMMP server isn't in my office).
So, when both PC (clients) connected from my office place - video/audio is working. But when i try call from one client who connected from my place to other, who connected from other place - isn't.
I see incoming audio/video call, accepted it. Call established, but video/audio is not transfer.

I think that is the NAT problem, so i am configure STUN in Tigase
(My own server have only one network interface with one white IP. E.X. - 185.135.111.22)
So, it's my configuration

  1. Stun
    --comp-name-4 = stun
    --comp-class-4 = tigase.stun.StunComponent
    stun/stun-primary-ip=185.135.111.22
    stun/stun-primary-port[I]=3478
    stun/stun-secondary-ip=185.135.111.22
    stun/stun-secondary-port[I]=7001
  2. additional setting of external ip/port
    stun/stun-primary-external-ip=185.135.111.22
    stun/stun-primary-external-port[I]=3479
    stun/stun-secondary-external-ip=185.135.111.22
    stun/stun-secondary-external-port[I]=7002

All ports is open in firewall, server started without errors.
But it isn't help me. I try change setting in Jitsi with all variants, but still cant resolve the issue.
Could you help me with this problem? It's very importable for me.
Thanks for any ideas.

Categories: Tigase Forums

API and development: RE: Jingle support for audio / video sharing in XMPP session?

Wed, 05/11/2016 - 04:12

the same questions. Up !

Categories: Tigase Forums

API and development: RE: Problems with pre-bind session for tigase-server-7.1.0

Fri, 05/06/2016 - 02:47

wince jay wrote:

Very thankful to your prompt response!

The scripts are present in the repository - you can specify the path in etc/init.properties:
[...]

I copy all scripts including http and admin into tigase-server maven eclipse project and i see the log file that the scripts are really normally loaded(see script debug.txt).

I also noted the error report when starting the tigase server in eclipse and i attached the log file.

[...]

Unfortunately HTTP-API component doesn't support --script-dir configuration option.

Categories: Tigase Forums

API and development: RE: Problems with pre-bind session for tigase-server-7.1.0

Thu, 05/05/2016 - 19:28

Very thankful to your prompt response!

The scripts are present in the repository - you can specify the path in etc/init.properties:
--script-dir=src/main/groovy/tigase/admin

I copy all scripts including http and admin into tigase-server maven eclipse project and i see the log file that the scripts are really normally loaded(see script debug.txt).

I also noted the error report when starting the tigase server in eclipse and i attached the log file.

2016-05-06 10:17:58.518 [main] SetupServlet$_loadTemplates_closure3.doCall() FINEST: resource index was not found and could not be loaded java.io.IOException: Resource not found at tigase.http.setup.SetupServlet.load(SetupServlet.groovy:160) at tigase.http.setup.SetupServlet.access$0(SetupServlet.groovy) at tigase.http.setup.SetupServlet$_loadTemplates_closure3.doCall(SetupServlet.groovy:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019) at groovy.lang.Closure.call(Closure.java:426) at groovy.lang.Closure.call(Closure.java:442) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2030) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2015) at tigase.http.setup.SetupServlet.loadTemplates(SetupServlet.groovy:139) at tigase.http.setup.SetupServlet.init(SetupServlet.groovy:69) at javax.servlet.GenericServlet.init(GenericServlet.java:244) at tigase.http.java.RequestHandler.registerServlet(RequestHandler.java:108) at tigase.http.java.RequestHandler.<init>(RequestHandler.java:72) at tigase.http.java.JavaStandaloneHttpServer.deploy(JavaStandaloneHttpServer.java:157) at tigase.http.java.JavaStandaloneHttpServer.deploy(JavaStandaloneHttpServer.java:107) at tigase.http.HttpServer.deploy(HttpServer.java:99) at tigase.http.setup.SetupModule.start(SetupModule.java:99) at tigase.http.HttpMessageReceiver.reconfigure(HttpMessageReceiver.java:273) at tigase.http.HttpMessageReceiver.setProperties(HttpMessageReceiver.java:229) at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java:516) at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:152) at tigase.conf.Configurator.componentAdded(Configurator.java:50) at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:1) at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java:116) at tigase.server.MessageRouter.addComponent(MessageRouter.java:108) at tigase.server.MessageRouter.addRouter(MessageRouter.java:145) at tigase.server.MessageRouter.setProperties(MessageRouter.java:698) at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java:516) at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:152) at tigase.conf.Configurator.componentAdded(Configurator.java:50) at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:1) at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java:116) at tigase.server.MessageRouter.addRegistrator(MessageRouter.java:131) at tigase.server.MessageRouter.setConfig(MessageRouter.java:597) at tigase.server.XMPPServer.start(XMPPServer.java:142) at tigase.server.XMPPServer.main(XMPPServer.java:112)
Categories: Tigase Forums

API and development: RE: Problems with pre-bind session for tigase-server-7.1.0

Wed, 05/04/2016 - 23:47

wince jay wrote:

Hi,wojciech.I'm still stuck by the error when trying to pre-bind the session while it is NOT for the tigase-server-7.1.0-SNAPSHOT-b4139 from http://build.tigase.org/nightlies/dists/.

So - it works while using our nightly build and it's not working while in eclipse?

Here is my details step:

The scripts are present in the repository - you can specify the path in etc/init.properties:
--script-dir=src/main/groovy/tigase/admin
Therefore you will be able to use what you've cloned directly.

Are you able to establish normal BOSH connection to Tigase started in eclipse?

Categories: Tigase Forums

API and development: RE: Problems with pre-bind session for tigase-server-7.1.0

Wed, 05/04/2016 - 23:04

Hi,wojciech.I'm still stuck by the error when trying to pre-bind the session while it is NOT for the tigase-server-7.1.0-SNAPSHOT-b4139 from http://build.tigase.org/nightlies/dists/.
Here is my details step:
Step 1: clone tigase server git repository(git clone https://repository.tigase.org/git/tigase-server.git) and check out release branch.
Step 2: Import into eclipse as maven project and convert into maven project.
Step 3: Debug configuration.New java application , for the "Arguments" ,I fill in "--property-file etc/init.properties" as Program arguments,"-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -Djdbc.drivers=com.mysql.jdbc -server -Xms200M -Xmx400M -XX:MaxDirectMemorySize=512m" as VM arguments.
Step 4:Copy the scripts whole folder into tigase maven project and overwrite the original scripts folder from b4139(nightly build).
Step 5:Start the tigase server under debug mode.

Here are my additional denpendencies for tigase server maven project in eclipse.

Categories: Tigase Forums

API and development: RE: Problems with pre-bind session for tigase-server-7.1.0

Wed, 05/04/2016 - 01:31

Very Thanks for your instructions.

Categories: Tigase Forums

API and development: RE: Problems with pre-bind session for tigase-server-7.1.0

Tue, 05/03/2016 - 23:03

No, you don't - code is public in available in repository: https://projects.tigase.org/projects/tigase-server/repository?utf8=%E2%9C%93&branch=master&tag=&rev=release

Please note, that you have to clone git repository and then checkout release branch as master branch contains 7.2.0-SNAPSHOT code.

Categories: Tigase Forums

API and development: RE: Problems with pre-bind session for tigase-server-7.1.0

Tue, 05/03/2016 - 02:29

Really thanks for your patience.
Must i wait for the version release by tigase team If i want to get the source code of tigase-server-7.1.0 ?

Categories: Tigase Forums

Pages

Get in touch

We provide software products, consulting and custom development services

Tigase, Inc.
100 Pine Street, Suite 1250
San Francisco, CA 94111, USA
Phone: (415) 315 9771

Follow us on:

Twitter

Back to Top