Project

General

Profile

StatisticsUploader Failure

Justin Posey
Added about 5 years ago

I see the following error occasionally at runtime. Is this a configuration issue? How may I resolve this? The URI (/rest/stats/upload) doesn't appear to be fully qualified, so maybe that's the problem? Thanks!

2014-01-13 16:21:23,155 ERROR               t.s.c.p.StatisticsUploader [Timer-0] - exception uploading statistics
tigase.stats.collector.SignatureException: Unsupported element<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"/>
<title>Error 404 Not Found</title>
</head>
<body>
<h2>HTTP ERROR: 404</h2>
<p>Problem accessing /rest/stats/upload. Reason:

Powered by Jetty://

    at tigase.stats.collector.DefaultElementSigner.verify(Unknown Source) 

    at tigase.stats.collector.provider.StatisticsUploader$1.run(SourceFile:100) 

    at java.util.TimerThread.mainLoop(Unknown Source) [na:1.7.0_06]

    at java.util.TimerThread.run(Unknown Source) [na:1.7.0_06]

2014-01-13 16:21:23,155 DEBUG t.s.c.p.StatisticsUploader [Timer-0] - could not upload statistics data, queuing for retry, attempt 2 out of 10

2014-01-13 16:21:23,156 TRACE t.s.c.p.StatisticsUploader [Timer-0] - queuing data for upload = 1389658522136n7vgd1socextig03.general.disney.private2014-01-13T16:15:22.120-0800ddi3014216736072536870912111<components><cmpInfo><name>amp</name><class>tigase.server.amp.AmpComponent</class></cmpInfo><cmpInfo><name>bosh</name><class>tigase.cluster.BoshConnectionClustered</class></cmpInfo><cmpInfo><name>c2s</name><class>tigase.cluster.ClientConnectionClustered</class></cmpInfo><cmpInfo><name>cl-comp</name><class>tigase.cluster.ClusterConnectionManager</class></cmpInfo><cmpInfo><name>monitor</name><class>tigase.cluster.MonitorClustered</class></cmpInfo><cmpInfo><name>muc</name><class>tigase.muc.cluster.MUCComponentClustered</class><cmpData><MUCClusteringStrategy>class tigase.muc.cluster.DefaultStrategy</MUCClusteringStrategy></cmpData></cmpInfo><cmpInfo><name>sess-man</name><class>tigase.cluster.SessionManagerClustered</class><cmpData><ClusteringStrategy>class tigase.cluster.strategy.OnlineUsersCachingStrategy</ClusteringStrategy></cmpData></cmpInfo><cmpInfo><name>ws2s</name><class>tigase.cluster.WebSocketClientConnectionClustered</class></cmpInfo><cmpInfo><name>vhost-man</name><class>tigase.cluster.VHostManagerClustered</class></cmpInfo><cmpInfo><name>stats</name><class>tigase.stats.StatisticsCollector</class></cmpInfo><cmpInfo><name>cluster-contr</name><class>tigase.cluster.ClusterController</class></cmpInfo></components><unlicencedComponenents><ComponentAdditionalInfo name="acs-muc"/><ComponentAdditionalInfo name="acs"><activeUsers>1</activeUsers><clusterNodesCount>0</clusterNodesCount></ComponentAdditionalInfo></unlicencedComponenents>Gbx8oHEM01pGL6YLKKV2oGbCYziC2rNNTjp/N6fRjek= try no = 3


Replies (4)

Added by Wojciech Kapcia TigaseTeam about 5 years ago

It was a problem with our end-point, should be fixed now.

Added by Justin Posey about 5 years ago

Thanks, Wojciech. For my own understanding: if our servers are unable to contact the stats HTTP endpoint for whatever reason (client firewall, stats server being down), won't the Tigase server eventually shut itself down after awhile? I've seen cases where this happens:

2014-01-13 13:33:49,938 ERROR                             tigase.stats [Timer-0] - Could not upload statistics within required period of time, shutting down the system
2014-01-13 13:33:49,940 WARN                t.s.monitor.MonitorRuntime [MainShutdownThread] - ShutdownThread started...

Added by Wojciech Kapcia TigaseTeam about 5 years ago

Yes, that's the reasoning behind providing those components without licencing. We will do our best to avoid any problems with reaching endpoint on our site in the future. In case you notice some unusual behaviour feel free to contact us ASAP.

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam about 5 years ago

Justin, the stats HTTP endpoint is contacted only by the ACS component which is our commercial code. Use of ACS without a payment is allowed for development and testing purposes and then the ACS component contacts our servers sending some basic statistics like number of cluster nodes, number of online users, etc....

If you do not use ACS component the open source version of the Tigase server does not send any stats to our servers and of course if you have a valid license for ACS no statistics are sent to our server either.

    (1-4/4)