Projects tigase _server server-core Issues #427
IQ service discovery without "to" generates warning (#427)
wojciech.kapcia@tigase.net opened 10 years ago
Due Date
2015-02-27

IQ service discovery without "to" generates warning in the logs:

[in_0-message-router]  MessageRouter.processPacket()  WARNING:  Packet with TO attribute set to NULL: from=sess-man@atlantiscity.local, to=null, DATA=<iq xmlns="jabber:client" type="get" from="admin@atlantiscity/resource">
<query xmlns="http://jabber.org/protocol/disco#items"/></iq>, SIZE=129, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=ADMIN, TYPE=get
wojciech.kapcia@tigase.net commented 10 years ago

taki warning oznacza ze pakiet jest ignorowany/gubiony.

Jako ze nie ma ani packet-to ani stanza-to to wlasciwie nie ma gdzie go przekazac.

Domyslnie wiec idzie do SMa, ale w warningu jest packet-from ustawiony na SM, wiec pakiet

wlasnie przyszedl z SMa. Dlatego nie jestem pewien czy ten pakiet bedzie w rezultacie poprawnie przetworzony.

wojciech.kapcia@tigase.net commented 10 years ago

Packets are processed correctly within SM, avoid packets intended for user session (i.e. with missing to attribute) being forwarded to MR for further processing.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
2684
Version
tigase-server-7.0.0
Spent time
18h
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#427
Please wait...
Page is in error, reload to recover