Feed aggregator

API and development: RE: Send push notification with every message

Tigase XMPP Server Board - Fri, 03/24/2017 - 04:13

Just to confirm, does the server need to be reset after adding the plugin?

Categories: Tigase Forums

API and development: RE: The tigase can not load plugin , when the version of tigase is 7.2.0-SNA...

Tigase XMPP Server Board - Thu, 03/23/2017 - 18:18

I have already solved the problem refering to the file config-dump.properties,
the init.properties file like this:
sess-man (class: tigase.server.xmppsession.SessionManager) { processPacketPlugin (class: testsun.plugin.ProcessPacketPlugin) {} }
thanks a lot

Categories: Tigase Forums

API and development: RE: The tigase can not load plugin , when the version of tigase is 7.2.0-SNA...

Tigase XMPP Server Board - Thu, 03/23/2017 - 03:49

Thank you for your quick reply, but I can not find the documentation of Tigase XMPP Server 7.2.0-SNAPSHOT related to configuration of Plugin, can you offer me a link?

Categories: Tigase Forums

API and development: RE: The tigase can not load plugin , when the version of tigase is 7.2.0-SNA...

Tigase XMPP Server Board - Thu, 03/23/2017 - 03:19

In Tigase XMPP Server 7.2.0-SNAPSHOT we changed format of configuration file and --sm-plugins is not a valid way to configure enabled processors.
Please check our documentation of Tigase XMPP Server 7.2.0-SNAPSHOT related to configuration of Tigase XMPP Server and SessionManager processors for more informations about currently use configuration file format.

Categories: Tigase Forums

API and development: The tigase can not load plugin , when the version of tigase is 7.2.0-SNAPSHO...

Tigase XMPP Server Board - Thu, 03/23/2017 - 03:13

init.properties file like this:
--sm-plugins=+processPacketPlugin

the tigase-console.log:
Loading plugin: jabber:iq:version=8:58 ... Loading plugin: urn:ietf:params:xml:ns:xmpp-session=8:58 ... Loading plugin: jabber:iq:privacy=8:58 ... Loading plugin: starttls=8:58 ... Loading plugin: vcard-temp=8:58 ... Loading plugin: vcard-xep-0292=8:58 ... Loading plugin: presence-subscription=32:14 ... Loading plugin: jabber:iq:roster=32:14 ... Loading plugin: urn:xmpp:csi:0=8:58 ... Loading plugin: urn:xmpp:time=8:58 ... Loading plugin: jabber:iq:private=8:58 ... Loading plugin: jabber:iq:register=8:58 ... Loading plugin: urn:ietf:params:xml:ns:xmpp-bind=8:58 ... Loading plugin: session-open=16:29 ... Loading plugin: http://jabber.org/protocol/stats=8:58 ... Loading plugin: disco=8:58 ... Loading plugin: message-carbons=8:58 ... Loading plugin: default-handler=32:14 ... Loading plugin: zlib=8:58 ... Loading plugin: presence-state=32:14 ... Loading plugin: urn:xmpp:blocking=8:58 ... Loading plugin: session-close=32:14 ... Loading plugin: amp=8:58 ... Loading plugin: urn:xmpp:ping=8:58 ... Loading plugin: urn:ietf:params:xml:ns:xmpp-sasl=32:14 ... Loading plugin: jabber:iq:auth=8:58 ... Loading plugin: http://jabber.org/protocol/commands=8:58 ...

plugin ID is "processPacketPlugin", and the ProcessPacketPlugin file:

Categories: Tigase Forums

Installation and maintenance: RE: Offline User storage

Tigase XMPP Server Board - Wed, 03/22/2017 - 08:37

Please take a look at HTTP-API component guide: HTTP File Upload component

Categories: Tigase Forums

Installation and maintenance: Offline User storage

Tigase XMPP Server Board - Wed, 03/22/2017 - 00:16

Hi.
As i remember you inform us some time ago about new functional in tigase xmpp server for work with file transfer with offline users.
Some like as Offline User Storage. But i could't find any info about it in Tigase Manual.
Could you give some information about it?
How it work? Whats setting i need implement in tigase?
What the system u can use to save files? (WEBDAV for example)
So on?

Categories: Tigase Forums

API and development: RE: Send push notification with every message

Tigase XMPP Server Board - Wed, 03/15/2017 - 10:16

Staton Eichman wrote:

Assuming I just went with a plugin; What is the process of adding a plugin to the server? Is it as simple as editing the init.properties file, and then adding my .jar to the plugins folder (and then restart the server)?

In a nutshell - yes: Plugin Configuration

Categories: Tigase Forums

API and development: RE: tigase-server 7.1.0 client connection exception

Tigase XMPP Server Board - Wed, 03/15/2017 - 09:02

Sorry your question doesn't make much sense. What I can understand is that you're having a problem with Tigase. Have you tried reading the log files in logs/ ?

Categories: Tigase Forums

API and development: tigase-server 7.1.0 client connection exception

Tigase XMPP Server Board - Wed, 03/15/2017 - 08:51

I used the process of tigase, through the client to add a large number of users and send data, now working can not connect tigase server, other time to connect to the tigase server, I think the company's IP in a specific time to join the blacklist The

During work can not connect tigase server, my work has been stopped.
I use the tigase-server version is 7.1.0.

what should I do? Is there any advice?

Categories: Tigase Forums

API and development: RE: Send push notification with every message

Tigase XMPP Server Board - Wed, 03/15/2017 - 02:45

Assuming I just went with a plugin; What is the process of adding a plugin to the server? Is it as simple as editing the init.properties file, and then adding my .jar to the plugins folder (and then restart the server)?

Categories: Tigase Forums

Installation and maintenance: RE: Support for privacy lists - XEP-0016

Tigase XMPP Server Board - Tue, 03/14/2017 - 11:39

You can utilize Packet Filtering and per-user configuration.

Categories: Tigase Forums

Installation and maintenance: RE: Support for privacy lists - XEP-0016

Tigase XMPP Server Board - Mon, 03/13/2017 - 09:50

had the same question and found here a proper solution

one thing that is still need to be done to fully support it: we need to block an ability to work with PrivacyLists API for regular users (only super Admin can whitelist users)

Is there any standard solution for this?
or we should manually customize Tigase Privacy Lists plugin?

Categories: Tigase Forums

API and development: RE: Message Archiving Archives Incoming Message with AMP Twice

Tigase XMPP Server Board - Tue, 03/07/2017 - 22:01

I'm quite interested in this thread. Any updates from any side?

Categories: Tigase Forums

Installation and maintenance: RE: Cluster mode in 7.0.4

Tigase XMPP Server Board - Tue, 03/07/2017 - 11:07

Tue Topholm wrote:

The machines connect to each other on port 5277, but they don't send data at all between each other.

How do you verify they are connected? Using netstat or somesuch and monitor opened sockets?
Are the number of opened and established connections the same? Do the IPs and ports match?

I tried a tcpdump and there was no data between them. I go to the cluster_nodes in the DB there are both there. And it seems it using the db to notify each other about there presence.

While the database is used to propagate information about cluster node (automatic cluster discovery) it's not used for presence broadcast.

Can you log in to each node using XMPP client and in the Service discovery check the Cluster component for the list of connected nodes?
Or you can navigate to: http://node_hostname:8080/admin/ and then Configuration > Get list of all connected cluster nodes and check that both nodes are listed there?

Categories: Tigase Forums

Installation and maintenance: RE: Cluster mode in 7.0.4

Tigase XMPP Server Board - Mon, 03/06/2017 - 15:54

It's really hard to tell without investigation.

Even if machines can resolve each other that does not mean all the DNS configuration is correct. The Tigase clustering offers auto-configuration feature, so when you bring a new cluster node to the system you do not need to change any config files. It is all automatic, however, for this to work all the settings must be correctly.

If one node can send messages to users on both nodes and the other node cannot send messages to the other node, this, even more, makes me think that some DNS settings might be off.

Categories: Tigase Forums

API and development: RE: Message Archiving Archives Incoming Message with AMP Twice

Tigase XMPP Server Board - Mon, 03/06/2017 - 12:27

Currently we're using the 7.1.0 release of Tigase Server and 1.2 of Message Archiving and the database which the message archiving table sits in is a Microsoft SQL database.

Categories: Tigase Forums

Installation and maintenance: RE: Cluster mode in 7.0.4

Tigase XMPP Server Board - Mon, 03/06/2017 - 07:48

Hi Arthur,

There is no DNS issues, all machines can resolve each other.

I have one of the nodes working and while I was debugging I saw this log on the node that doesn't work:

2017-03-06 15:46:38.641 [in_3-sess-man] OnlineUsersCachingStrategy.getNodesForPacketForward() FINEST: Packet not suitable for forwarding: from=, to=null, DATA=<message from="yousee.tv" type="chat" xmlns="jabber:client" id="1bf3fe68-1532-47aa-b1ac-1aaa0cf9f872" to=""><body>sodavand</body><amp xmlns="http://jabber.org/protocol/amp"><rule/></amp></message>, SIZE=217, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=NONE, TYPE=chat

And this one is from node that can send message to both:

2017-03-06 15:47:43.197 [in_3-sess-man] OnlineUsersCachingStrategy.getNodesForPacketForward() FINEST: Selected nodes: [], for packet: from=, to=null, DATA=<message to="" id="35f5c900-fb3d-4cda-83e5-56f2d1f232b0" from="rest.gaijin.dk" type="chat" xmlns="jabber:client"><body>sodavand</body><amp xmlns="http://jabber.org/protocol/amp"><rule/></amp></message>, SIZE=222, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=NONE, TYPE=chat

Categories: Tigase Forums

API and development: RE: Message Archiving Archives Incoming Message with AMP Twice

Tigase XMPP Server Board - Mon, 03/06/2017 - 04:42

Let's start with message being processed twice by AMP. As you wrote:

I was assuming each message would only be processed once.

it is true, but it will be processed once for each users session. So it is processed once when it is being sent by sender and second time while it is being received by message recipient.

Real issue is with this two entries:

11410 26 18 2017-03-03 03:12:33.747 1 chat Sunt saepe et numquam tenetur modi ut illum.这यहこน이Эéç <message id="0K4W0-245" xmlns="jabber:client" to="" type="chat" from="/Smack" time="1488510753746"><body>Sunt saepe et numquam tenetur modi ut illum.这यहこน이Эéç</body><amp xmlns="http://jabber.org/protocol/amp"><rule action="notify" condition="deliver" value="direct"/><rule action="notify" condition="deliver" value="stored"/><rule action="error" condition="deliver" value="none"/></amp></message> 4/fvliS/Fh6BnrXLMGwjhkP/cpE/f0OVdIgQme1/yM8= Smack
11409 26 18 2017-03-03 03:12:33.743 1 chat Sunt saepe et numquam tenetur modi ut illum.这यहこน이Эéç <message id="0K4W0-245" xmlns="jabber:client" to="" type="chat" from="/Smack" time="1488510753744"><body>Sunt saepe et numquam tenetur modi ut illum.这यहこน이Эéç</body><amp xmlns="http://jabber.org/protocol/amp"><rule action="notify" condition="deliver" value="direct"/><rule action="notify" condition="deliver" value="stored"/><rule action="error" condition="deliver" value="none"/></amp></message> 4/fvliS/Fh6BnrXLMGwjhkP/cpE/f0OVdIgQme1/yM8= Smack

Please tell me which version of Tigase XMPP Server do you use and with which database is used as a backend for Message Archiving component. This will allow me to verify code responsible for avoiding duplication of messages.

Categories: Tigase Forums

API and development: RE: Message Archiving Archives Incoming Message with AMP Twice

Tigase XMPP Server Board - Sun, 03/05/2017 - 19:05

To ad onto this, when I debugged the MessageAmp class, I found that the packet was being processed twice. Is this the expected behaviour? I was assuming each message would only be processed once.

Example of the two packets being processed:

from=bosh@williamle-mbp.orion.internal/69dc02a7-2c98-410a-a138-0b0973e42757, to=sess-man@williamle-mbp.orion.internal, DATA=<message xmlns="jabber:client" id="5b478c00-92e3-4b6c-9036-9c5809ed5946" from="testbot1@example.com/1661749366-tigase-1" type="chat" to="john.cardinal@example.com">
<body>Hello 013</body>
<request xmlns="urn:xmpp:receipts"/>
<amp xmlns="http://jabber.org/protocol/amp">
<rule action="notify" condition="deliver" value="direct"/>
<rule action="notify" condition="deliver" value="stored"/>
<rule action="error" condition="deliver" value="none"/>
</amp>
</message>, SIZE=509, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat


from=null, to=sess-man@williamle-mbp.orion.internal, DATA=<message xmlns="jabber:client" id="5b478c00-92e3-4b6c-9036-9c5809ed5946" from="testbot1@example.com/1661749366-tigase-1" type="chat" to="john.cardinal@example.com">
<body>Hello 013</body>
<request xmlns="urn:xmpp:receipts"/>
<amp xmlns="http://jabber.org/protocol/amp">
<rule action="notify" condition="deliver" value="direct"/>
<rule action="notify" condition="deliver" value="stored"/>
<rule action="error" condition="deliver" value="none"/>
</amp>
</message>, SIZE=509, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat

The only difference between these two is that the second one has a null 'from' at the beginning.

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