Tigase XMPP Server Board

Tigase server administration: RE: Web interface to Tigase server

Mon, 01/26/2015 - 15:03

I have the same question - the link above gives me 'Not found' error. I have installed the latest version of the Tigase server and have the http component enabled. Here is my init.properties file:

--comp-class-1 = tigase.muc.MUCComponent
--virt-hosts = tigasetest.com
--user-db-uri = jdbc:mysql://localhost/tigasedb?user=tigase&password=tigase12
--user-db = mysql
--admins = ,,
--comp-name-4 = message-archive
--comp-name-3 = proxy
config-type = --gen-config-def
--comp-name-2 = pubsub
--comp-name-1 = muc
--cluster-mode = true
--sm-plugins = +message-archive-xep-0136
--debug = server
--comp-class-4 = tigase.archive.MessageArchiveComponent
--comp-class-3 = tigase.socks5.Socks5ProxyComponent
--comp-class-2 = tigase.pubsub.PubSubComponent
--comp-name-5=http
--comp-class-5=tigase.http.HttpMessageReceiver
--api-keys=open_access
--monitoring=jmx:9050

Is there anything that I am missing in the configuration?

Categories: Tigase Forums

Tigase server development: RE: Incorrect disconnect behavior when using Resource in JID

Mon, 01/26/2015 - 06:05

hi ,

Can anyone solve the issue ? I am also getting the same error

Categories: Tigase Forums

Tigase server administration: RE: Issue with connection between server and MUC external component

Mon, 01/26/2015 - 05:29

Also we have enabled 'net' logs and looks like Tigase realises immediately that connection was closed:

2015-01-26 13:26:24.481 [pool-6-thread-4] IOService.isConnected() FINEST: Socket: nullSocket[unconnected], Connected: false, id: null

but ConnectionManager and ComponentProtocol don't know anything about it
any ideas why?

Categories: Tigase Forums

Tigase server administration: RE: Issue with connection between server and MUC external component

Mon, 01/26/2015 - 03:53

We have done a short investigation and found that the ConnectionManager.Watchdog class is responsible for detecting the status of connections

We see next settings:
1) Watchdog runs every 10 mins (Thread.sleep(10 * MINUTE))
2) MaxInactiveTime for ext services is 1000*24*HOUR

So, according to this the connection never will be closed because the value of 1000*24*HOUR is to high

We use Tigase 5.2.0
Is it the right explanation?

Categories: Tigase Forums

Tigase server development: Chat stats

Mon, 01/26/2015 - 02:11

Hi,

I think that amp plugin with current implementation, supports chatstats requirements.
so why don't add
new Element("feature", new String[] { "var" }, new String[] { "http://jabber.org/protocol/chatstates" });
to the DISCO_FEATURES of this plugin?

Categories: Tigase Forums

Tigase server administration: RE: Upgrading Tigase server software

Mon, 01/26/2015 - 01:37

If you upgrade from 5.1 to 5.2 - yes, you have to upgrade a table "muc_history". As I remember - that's all.
We updated it manually (added a couple of new fields)

Categories: Tigase Forums

Tigase server administration: RE: Upgrading Tigase server software

Fri, 01/23/2015 - 10:56

What about the database? Do we need to do database migration when we upgrade the Tigase server?

Categories: Tigase Forums

Tigase server administration: RE: Issue with connection between server and MUC external component

Fri, 01/23/2015 - 09:05

When everything is working fine, i see that muc-server have established connection to chat-server. I tested this using the command --- lsof -i -n -P.
When I stop the chat server, I can see that the connection is lost.After chat-server restart - it doesn’t reconnect.
Is there any other way to define where is the problem?

Categories: Tigase Forums

Tigase server administration: RE: Issue with connection between server and MUC external component

Fri, 01/23/2015 - 05:06

Tigase closes connections when it's being shut down.

Categories: Tigase Forums

Tigase server administration: RE: Issue with connection between server and MUC external component

Fri, 01/23/2015 - 05:03

after TCP connection is broken

how does MUC know that the connection is broken?
Is there something like periodical checks or tigase-server closes this connection when goes down?

Categories: Tigase Forums

Tigase server administration: RE: Web interface to Tigase server

Fri, 01/23/2015 - 03:35

It requires HTTP-API component enabled and, if yes, it's deployed automatically and it's available under http://localhost:8080/ui address.

Categories: Tigase Forums

Tigase server administration: Web interface to Tigase server

Fri, 01/23/2015 - 03:32

I have tested the latest Tigase server 7.0.0-SNAPSHOT. The Web-Installer is working great and the setup went really smooth.

Two questions came up for which I didn't find an answer:

1. I have read a news about a Web interface to Tigase server at [[http://www.tigase.net/portfolio/web-interface-tigase-server]]. Is there any management UI besides the Web-Installer in the current 7.0.0-SNAPSHOT builds?
2. I have found the tigase-web-ui.war inside the jars folder. How is this related to 1. and what steps are neccessary to deploy/use this?

Thanks for your help!

Regards

Ingo

Categories: Tigase Forums

Tigase server administration: RE: Issue with connection between server and MUC external component

Fri, 01/23/2015 - 03:04

Serhii Administrator wrote:

Still nothing in MUC logs. We just switch off tigase-server.
Is there something kind of timeout or keep alive settings? Looks like MUC dosn't know that tigase-server went down.

No, after TCP connection is broken the re-connect should happen automatically.

--external = muc.xmpp-test.org:muc-secret:connect:5270:xmpp-test.org;blue.xmpp-test.org;green.xmpp-test.org,red.xmpp-test.org:accept

there are ',' and ';' between hosts. What exactly must be used?

hostnames should be separated by ;.

Categories: Tigase Forums

Tigase server administration: RE: Upgrading Tigase server software

Fri, 01/23/2015 - 02:55

Preferred way is to (assuming you are using distribution archives) unpack the archive with new version next to current one, stop the old instance, copy over configuration (etc/*), certificates (certs/*), start new instance. This way you have the ability to quickly rollback to older version.

Categories: Tigase Forums

Tigase server administration: RE: Issue with connection between server and MUC external component

Fri, 01/23/2015 - 02:48

Still nothing in MUC logs. We just switch off tigase-server.

Is there something kind of timeout or keep alive settings? Looks like MUC dosn't know that tigase-server went down.

One more question:

http://docs.tigase.org/tigase-server/snapshot/Administration_Guide/html/#_external_component_and_cluster

--external = muc.xmpp-test.org:muc-secret:connect:5270:xmpp-test.org;blue.xmpp-test.org;green.xmpp-test.org,red.xmpp-test.org:accept

there are ',' and ';' between hosts. What exactly must be used?

Categories: Tigase Forums

Tigase server administration: Upgrading Tigase server software

Thu, 01/22/2015 - 14:14

What is the best way to upgrade Tigase server software? Do we need to reinstall the new version or is there a simple way to upgrage the current one?

Categories: Tigase Forums

Tigase server administration: RE: Cannot send messages between users connected to different serve...

Thu, 01/22/2015 - 11:11

I think it was the clock issue. I restarted both servers and we can send and receive messages both ways now.
Here is the cluster_node table, both host names are correct:
+-----------------------------------+------------------------------------------------------------------+---------------------+------+-------------+-----------+ | hostname | password | last_update | port | cpu_usage | mem_usage | +-----------------------------------+------------------------------------------------------------------+---------------------+------+-------------+-----------+ | hostname1.com | ... | 2015-01-22 13:05:01 | 5277 | 0.041445624 | 29.134089 | | hostname2.com | ... | 2015-01-22 13:04:53 | 5277 | 0.033333335 | 28.792772 | +-----------------------------------+------------------------------------------------------------------+---------------------+------+-------------+-----------+

Categories: Tigase Forums

Tigase server development: RE: Impossible happened :)

Thu, 01/22/2015 - 06:19

I'm trying to reproduce it here at work, but I can't. I'll try again at home, probably CPU power and other things were more favorable...

Anyway, the only condition that might make processing_result resulting to false is that the connection object is null... what would happen in that case?
I can see that STREAM_MOVED has processing_result = true outside the null connection check. Why CLIENT_AUTH has it inside the if block?

Categories: Tigase Forums

Tigase server administration: RE: Issue with connection between server and MUC external component

Thu, 01/22/2015 - 02:05

With such logging enabled on both instances please observe entries from tigase.server.ConnectionManager.reconnectService() regarding reconnection attempts. Focus also on entries coming from ComponentProtocol.

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 Okay so you’re the fucking best on Network and RTC but you suck at SSL certificates Management on your own website… 5 days 19 hours ago
  • @tigase Is Desktop Sharing with Tigase XMPP Server possible? 1 month 3 weeks ago
Back to Top