IM - Instant Messaging system means there are people who exchange messages, who interact. Interaction with people often means you have a list of close buddies with whom you interact more frequently and you are interested in their online status.
No - not as an configuration option, nor would it make much sense.
Is there a way to override the standard s2s protocol between 2 tigase-servers and use BOSH instead?
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
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.
It worked :-) Just added Domains and added proper DNS settings. Thanks again for sharing the information
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.
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.
We are using Tigase 5.2.0 final for our chat server.
But when I try to create a new Websocket connection through JS
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
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?
Thanks a lot. I will try this one.
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).
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 = user2@S2.com ( 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
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
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!
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
We are using Converse.js. I hope its still not supporting the XEP-0184 standards.
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.
You did not specify what kind of errors you receive. From the above message/stanza we can conclude that clustering is working.
Thank you for reply and support.
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.
Cluster node tigase1.cloud.com connected to tigase2.cloud.com (Thu Nov 20 15:47:30 IST 2014)
Can I consider this as a successful data connection ?
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.
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.
We provide software products, consulting and custom development servicesTigase, Inc.
Follow us on: