Tigase XMPP Server Board

Tigase server development: RE: Override S2S communication protocol

Mon, 11/24/2014 - 02:31

No - not as an configuration option, nor would it make much sense.

Categories: Tigase Forums

Tigase server development: Override S2S communication protocol

Mon, 11/24/2014 - 01:08

Hi,
Is there a way to override the standard s2s protocol between 2 tigase-servers and use BOSH instead?

Thanks,
Mahesh.

Categories: Tigase Forums

Tigase server administration: Rsyslog and/or best practice for Tigase logging to be used by help-...

Mon, 11/24/2014 - 00:12

Hello,

I am going to prepare a sort of help-desk guide to troubleshoot any probable issue that our Tigase end-user might face in the future. Although the issues for end-users are typically from end-users' configurations side like wrong username/password in clients' program, it is very handy for help-desk to check logs in a centralized log server. In addition to this, it is also a good idea to filter and redirect warning, err, crit logs to syslog server to be used by admin of Tigase server.

To achieve the above goals, I included the tigase_installation_path/log/tigase.log.0 file into the /etc/rsyslog.conf file and redirected all Tigase logs to remote log-server using TCP , but after a while we noticed a huge load both in Tigase server and log-server.
I understand that in production server Debug option should be disabled to avoid overload on the server.

Does anyone have any idea what would be the best practice to provide at least a minimal logging to be used by help desk and Tigase admin?

Thank you in advance for help

Categories: Tigase Forums

Tigase server administration: RE: Tigase Server and webcontainer

Sat, 11/22/2014 - 13:16

Yes, it is possible. As far as I know there are other production deployments embedding Tigase inside other software.
We do also support Tigase in OSGi container. My suggestion is to look at the Tigase running in OSGi mode for examples on how to embed it correctly.

Categories: Tigase Forums

Tigase server development: RE: Connecting to other public XMPP services?

Fri, 11/21/2014 - 19:04

It worked :-) Just added Domains and added proper DNS settings. Thanks again for sharing the information

Regards
Samir

Categories: Tigase Forums

Tigase server administration: Tigase Server and webcontainer

Fri, 11/21/2014 - 19:00

Hi,

Please let us know if it is possible to run Tigase XMPP server in webcontainer ( like Tomcat). Even though , tigase is self-sufficient and does all the container functionality, just wanted to know if anybody has tried this option.In addition, please share if it is feasible to do this.

The reason for asking this question is coz most of our live products/apps are getting executed in Tomcat or Jboss and just looking for a possibility to use tigase in the same mode.

Regards
Samir

Categories: Tigase Forums

Tigase server administration: RE: WebSocket connection is failed. Connection closed before receiv...

Fri, 11/21/2014 - 11:17

Could you try our last stable: 5.2.3 version? There are some changes and improvements in the web sockets component as well, so it may work better. Also, for the Mac Chrome users, make sure the last Chrome version is used, as they change their web sockets implementation as well.

Categories: Tigase Forums

Tigase server administration: WebSocket connection is failed. Connection closed before receiving ...

Fri, 11/21/2014 - 09:52

Hello guys!

We are using Tigase 5.2.0 final for our chat server.
But when I try to create a new Websocket connection through JS

new WebSocket('ws://chat.quickblox.com:5290', 'xmpp')

it is failed with error in JS console:
WebSocket connection to 'ws://chat.quickblox.com:5290/' failed: Connection closed before receiving a handshake response

It's strange, because this bug is reproduced only with some Mac OS users on Chrome. For Win and Ubuntu browsers this works. Also it is correct when I use the incognito mode for Chrome or use test example from websocket oficial site
[[https://www.websocket.org/echo.html]]

Could you try to help me? Any ideas. I don't think that it is a browser trouble. Maybe need to do some changes in tigase settings for it?

Categories: Tigase Forums

Tigase server development: RE: Connecting to other public XMPP services?

Fri, 11/21/2014 - 06:43

Thanks a lot. I will try this one.

Thanks again

Regards
Samir

Categories: Tigase Forums

Tigase server development: RE: Connecting to other public XMPP services?

Fri, 11/21/2014 - 05:40

What you need to provide is as resolution of network name to IP. SO for example

S1 hosts DomainS1_1, DomainS1_2
S2 hosts DomainS2_1, DomainS2_2

Now there is a client client1@DomainS1_1 which sends message to client2@DomainS2_2.

S1 needs to know where to send the message and connect to such server, which entails resolution of DomainS2_2. This could be as simple as entry in /etc/hosts (i.e. DomainS2_2 192.168.1.2).

Categories: Tigase Forums

Tigase server development: RE: Connecting to other public XMPP services?

Fri, 11/21/2014 - 03:21

Hi Artur,

Just would like to elaborate the scenario to make things simpler and it would be great if you could please help in this regards.

Following is a call flow to describe the use case : [ C1 : XMPP client1 , S1 : Tigase XMPP Server 1 , S2 : Tigase XMPP Server 2 and C2 : XMPP Client 1]

C1 <== ws/wss==> S1 <===bosh==> S2 <== ws/wss ==> C2

We have been able to successfully complete the C1 to S1 communication over ws (websocket). But now struggling in S1 to S2 communication.As mentioned in the tigase docs & blogs, s2s comm. is by default enabled and thus it would be great if you could comment/help in this regards. Following are few of my interpretation based upon the blogs/docs and please correct me if I am wrong.

In order to execute the s2s communication, S1 should first know/identify that the xmpp packet needs to be forwarded to S2 using s2s communication.There could be 3 possibilities
(1) C1 tells S1 by putting S2 domain in the to header of xmpp packet to = ( just an example). S1 looks for this in virtual hosts and if not found forwards it to S2 ( after DNS resolution)
(2) S1 is pre-configured to forward the xmpp packets to S2 always ( this looks to be remote possibility)
(3) Combination of both the above possibilities

Please let me know your comments.

In addition, as mentioned earlier , we are running S1 & S2 in two PCs in the same LAN/network. Hence using ip address directly instead of fqdn of the servers.

Thanks in advance

Thanks and Regards
Samir

Categories: Tigase Forums

Tigase server development: RE: Connecting to other public XMPP services?

Fri, 11/21/2014 - 02:42

Just would like to add that , as a part of the POC we are using two PCs in the same LAN/network and hence are using ip addresses directly

Regards
Samir

Categories: Tigase Forums

Tigase server development: RE: Connecting to other public XMPP services?

Fri, 11/21/2014 - 02:38

Matthew M wrote:

Hi Tigase Team,

I wonder is it possible for Tigase server connecting to other public XMPP servers or services? For example, is it for a Tigase user to add a Gtalk or Facebook user as a buddy and chat with them? Is there any settings on Tigsae server that should be adjusted to allow this?

Many thanks in advance!

Hi Guys,

I am also facing the same issue. In my use case I want to use tigase server to tigase server communication. I know from the documentation/blogs that it is possible via s2sConnectionManager logic of tigase. Having said that, please let me know , if there are any specific configuration changes required. In addition, just wanted to share that I am using direct ip address instead of using FQDN for the servers.

Thanks in advance
Regards
Samir

Categories: Tigase Forums

Tigase server development: RE: Does Tigase support Tick mechanism

Thu, 11/20/2014 - 22:23

Hi,

We are using Converse.js. I hope its still not supporting the XEP-0184 standards.

Thanks
Khaleel

Categories: Tigase Forums

Tigase server development: RE: Adding support for XEP-0055

Thu, 11/20/2014 - 13:53

Which makes me wonder what does a company like whatsapp do? I assume they only do this once on program registration and on contact page refresh. But it's pretty crazy if the results take few days to return.

Categories: Tigase Forums

Tigase server administration: RE: Tigase Clustering error

Thu, 11/20/2014 - 04:29

You did not specify what kind of errors you receive. From the above message/stanza we can conclude that clustering is working.

Categories: Tigase Forums

Tigase server administration: RE: Brute-force security precautions for Tigase

Thu, 11/20/2014 - 02:46

Thank you for reply and support.

BR/Hamid A.

Categories: Tigase Forums

Tigase server administration: RE: Tigase Clustering error

Thu, 11/20/2014 - 02:22

Hi Wojciech,

Thanks for the reply. The time on the machines is in sync with a common NTP server through the internet.

I noticed that despite these errors the admin of the domain is getting a message stanza from the session manager indicating a successful connection in the cluster nodes.

Example:

<message xmlns='jabber:client'
from=''
to=''
id='sess-man5'
type='chat'>
<body>
Cluster node tigase1.cloud.com connected to tigase2.cloud.com (Thu Nov 20 15:47:30 IST 2014)
</body>
<thread>
cluster_status_update
</thread>
</message>

Can I consider this as a successful data connection ?

Regards,
Raj

Categories: Tigase Forums

Tigase server administration: RE: Tigase Clustering error

Thu, 11/20/2014 - 00:42

As per error:

Remote hostname not found in local configuration or time difference between cluster nodes is too big.

Please make sure time on the machines is in sync.

Categories: Tigase Forums

Tigase server administration: Tigase Clustering error

Wed, 11/19/2014 - 23:14

Hi,

I am trying to setup my first Tigase cluster using two tigase nodes on the same network.

I have added --cluster-mode=True to enable clustering and have done nothing else in the configuration. "

I have noted that the cluster_nodes table in MySQL contains the hostname and password entries for the two nodes.

I have also setup the right DNS configuration through the /etc/hosts filename.

I have attached the configuration file and the console log.

I shall also attach the configuration file and console log from the other machine as a comment to this post.

Regards,
Raj

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

  • Tigase Messenger. Slide - quick acces to the application settings. http://t.co/icO4pVRqmL 1 day 11 hours ago
  • Annoying, @tigase that I cannot create issues after signing up. Anyway, Tigase remembers DNS server, uses old server after roaming → fail… 1 day 21 hours ago
Back to Top