Projects tigase _server server-core Issues #141
No stanzaTo or from for cluster packet - but it looks like from is in the stanza. (#141)
Closed
Artur Hefczyc opened 1 decade ago

Following errors show in the log file, but the error message does not correspond to data, the included stanza does have a from attribute set:

  • Look, the size of the cluster packets is really big, way bigger then expected - 71k.

  • The same entry has been printed 2 times in the log, WHY?

  • 2012-07-20 21:36:23 ClusterConnectionManager.hashCodeForPacket() WARNING: No stanzaTo or from for cluster packet: from=null, to=null, DATA=

<cluster from="sess-man@host-4" xmlns="tigase:cluster" id ="cl-2244" to="sess-man@host-6" type="set">
  <control>
    <visited-nodes>
      <node-id>sess-man@host-4</node-id>
    </visited-nodes>
    <method-call name="resp-sync-online-sm-cmd"/>
      <first-node>sess-man@host-4</first-node>
  </control>
  <data>
    <conn-rec>
      <node-jid>sess-man@host-4</node-jid>
      <user-jid>userA@domain/a very long resource with spaces</user-jid>
      <connection-id>c2s@host-4/10.10.1.231_5222_208.48.227.7_21965</connection-id>
      <session-id>b4790658-2613-40d9-babc-8f594e3d3e8e</session-id>
      <presence xmlns="jabber:client" from="userA@domain/a vert long resource with spaces">
        <show>away</show>
        <c hash="sha-1" ver="ZnG9N5HvP5k5OW8KUApeblL2+ks=" xmlns="http://jabber.org/protocol/caps" node="http://code.google.com/p/qxmpp"/>
      </presence></conn-rec>
      <conn-rec><node-jid>sess-man@domain ... 

, SIZE=71356, XMLNS=tigase:cluster, PRIORITY=CLUSTER, PERMISSION=NONE, TYPE=set

Artur Hefczyc commented 1 decade ago

This is OK, the log level for this message was to high. Some packets containing presence stanzas are enclosed within cluster cache records so the from/to attribute is missing on the level where the code expects it. Still it does not cause any problems.

This is all correct and expected, plus the size of the packet for cluster cache synchronization is not that big.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
768
Version
tigase-server-5.1.0
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#141
Please wait...
Page is in error, reload to recover