Tigase Forums

Installation and maintenance: RE: Broken links in 8.0.0 administration guide

Tigase XMPP Server Board - Tue, 02/20/2018 - 10:31

Thank you, I've updated DNS record and the guides.

Categories: Tigase Forums

API and development: Post-processors always invoked?

Tigase XMPP Server Board - Tue, 02/20/2018 - 01:12

Hello everyone,
If I'm reading the code correctly here:
https://tigase.tech/projects/tigase-server/repository/revisions/tigase-server-7.1.3/entry/src/main/java/tigase/server/xmppsession/SessionManager.java#L1889

The post-processors are invoked if the pre-processors didn't block the packet before, even if any processors processed the packet. However the documentation states:

Post-processing - If there is no processor for the stanza then the packet goes through all post-processors.

Am I getting the meaning right? What am I reading wrong here?

Thanks for your help!!

Categories: Tigase Forums

Installation and maintenance: RE: Broken links in 8.0.0 administration guide

Tigase XMPP Server Board - Tue, 02/20/2018 - 00:55

Hi,

I was trying to download the web installer version as said in administration guide

$ wget http://build.xmpp-test.net/nightlies/stable/tigase-server-8.0.0-dist-max.tar.gz $ tar -xf tigase-server-8.0.0-dist-max.tar.gz $ cd tigase-server-8.0.0

I get response timeout from wget command. Also, the link leading to the nightly builds http://build.xmpp-test.net/nightlies/dists/ lead to a response timeout.

Sorry for my delayed response,
Alin

Categories: Tigase Forums

Installation and maintenance: RE: What is the max length of a message?

Tigase XMPP Server Board - Mon, 02/19/2018 - 07:36

Currently there is no such limitations (on per element basis) but you can adjust --cm-traffic-throttling settings so particular user won't be able to transfer more data than the limit.

Categories: Tigase Forums

Installation and maintenance: RE: Broken links in 8.0.0 administration guide

Tigase XMPP Server Board - Mon, 02/19/2018 - 07:31

Hi, we are doing a migration. Could you share exact links that are not working for you?

Categories: Tigase Forums

Installation and maintenance: Broken links in 8.0.0 administration guide

Tigase XMPP Server Board - Mon, 02/19/2018 - 02:19

Hello guys,

I've tried to install tigase v8.0.0 using the administration guide but it seems that neither the web install links nor the manual install links are working anymore. I accessed them on 25 January when it worked properly.

If the storage location has been moved, would you be so kind to provide the new location and/or update the administration guide?

Kind regards,
Alin

Categories: Tigase Forums

Installation and maintenance: RE: What is the max length of a message?

Tigase XMPP Server Board - Wed, 02/14/2018 - 12:11

Thanks Wojciech, good to know

One more questions - from my understanding we are still able to 'hack' a server, for example by sending too big single element, e.g message.body.

We can limit --elements-number-limit to 1 but still can send too big CDATA of a single element

Is there a way to limit CDATA ?

Categories: Tigase Forums

Installation and maintenance: RE: What is the max length of a message?

Tigase XMPP Server Board - Wed, 02/07/2018 - 06:32
There are however, several limits on the Stanza which is sent through the server. They all can be adjusted. One of them limits number of characters sent as CData within any XML element.

could you please assist which config parameter is used for this

I found this page which says "These values may be changed." but does not provide any guides how to do it
http://docs.tigase.org/tigase-server/7.1.1/Development_Guide/webhelp/stanzaLimitations.html

Categories: Tigase Forums

Installation and maintenance: RE: What is the max length of a message?

Tigase XMPP Server Board - Mon, 02/05/2018 - 07:08

There won't be tigase 7.2 - we will release this codebase as Tigase XMPP Server 8.0.0 and anti-spam functionality is already included in the nightly binaries. You can check it's documentation here: http://docs.tigase.org/tigase-spam/snapshot/Tigase_SPAM_Guide/html/

Categories: Tigase Forums

Installation and maintenance: RE: What is the max length of a message?

Tigase XMPP Server Board - Mon, 02/05/2018 - 01:27

Hi Wojciech,

could you please provide more details here regarding SPAM component with doc links? will it be released as a part of Tigase 7.2 ?

Categories: Tigase Forums

Installation and maintenance: RE: tigase v 7.1.1 exception :too many open files

Tigase XMPP Server Board - Tue, 01/02/2018 - 04:12

What kind of connections are those? user connections (port 5222)? Could you share more details about your installation? Which Java version and Operating system do you use?

Categories: Tigase Forums

Installation and maintenance: RE: tigase v 7.1.1 exception :too many open files

Tigase XMPP Server Board - Mon, 01/01/2018 - 23:02

I had done as u said.
but there are still many non_established tcp connections in our system,
I think some bugs with java nio ?

Categories: Tigase Forums

Installation and maintenance: RE: some questions about sql table between 'tig_pairs' and 'msg_h...

Tigase XMPP Server Board - Thu, 12/28/2017 - 05:08

Both tables may be used for offline storage by Tigase XMPP Server depending on its configuration. Judging from the fact that you have messages stored in both tables I suppose that you have configured it to store messages to both tables, this may be a result of enabling OfflineMessages (msgoffline) and MessageAmp (amp). In this case, you should consider storage of offline messages using MessageAmp (as this is a newer solution than OfflineMessages) and disabling OfflineMessages) as the same functionality will be provided by MessageAmp.

I'm suggesting this solution as MessageAmp uses msg_history table which is better suited for offline messages storage which will give you better performance.

Categories: Tigase Forums

Installation and maintenance: RE: some questions about sql table between 'tig_pairs' and 'msg_h...

Tigase XMPP Server Board - Mon, 12/25/2017 - 02:03

I can find the same two messages in these two tables.
what their uses?

Categories: Tigase Forums

Installation and maintenance: some questions about sql table between 'tig_pairs' and 'msg_history'

Tigase XMPP Server Board - Sun, 12/24/2017 - 23:44

i know 'msg_history' used for storing offline messages,and i found some records as pkey='messages' in 'tig_pairs' to look like offline messages.
so what diff with two tables?

Categories: Tigase Forums

Installation and maintenance: tigase v 7.1.1 exception :too many open files

Tigase XMPP Server Board - Thu, 12/21/2017 - 23:08

as the attached file,In our production environment,sometimes it occurs that exception,and tigase server will be dead.
after restart tigase,it will recover and work normally.
had you meet this situation?
what can i do for this?

Categories: Tigase Forums

API and development: RE: WebSocket component: to make it more complient with rfc6455

Tigase XMPP Server Board - Thu, 12/14/2017 - 11:17

Thank you very much for detailed information and the in-depth research on the problem. I have opened a bug report for this: #6481. Please "watch" the bug report to get automated updated on the resolution progress.

Categories: Tigase Forums

API and development: WebSocket component: to make it more complient with rfc6455

Tigase XMPP Server Board - Thu, 12/14/2017 - 03:57

Hi guys,

Recently I played with https://www.nativescript.org development.
I used https://github.com/NathanaelA/nativescript-websockets lib to connect to Tigase but unfortunately spent almost one day to figure out why it was not working (was not able to even open WS connection)

Then after some deep debugging I realized that this lib sends the Connection: upgrade header when handshake. But Tigase expects it as Connection: Upgrade here https://tigase.tech/projects/tigase-server/repository/revisions/master/entry/server/src/main/java/tigase/server/websocket/WebSocketXMPPIOService.java#L367

I tried to modify the nativescript-websockets lib but then realized it uses another lib inside to cope with WS - PocketSocket and it's actually it sets this header in lower case format: https://github.com/zwopple/PocketSocket/blob/master/PocketSocket/PSWebSocketDriver.m#L220

My first thought was that it's a bug with the PocketSocket lib.
But then I investigated the rfc6455 and found the following rule in 4.2.1 section:

4. A |Connection| header field that includes the token "Upgrade",
treated as an ASCII case-insensitive value.

https://tools.ietf.org/html/rfc6455#section-4.2.1

So it seems that clients can send this header in any format: Upgrade or upgrade.

Are you able to modify Tigase code a little bit and make it more complient with the spec?

Thank you

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