Projects tigase _server server-core Issues #1561
Remove `localpart@domain` component addressing (followup to #1540) (#1561)
Wojciech Kapcia (Tigase) opened 1 day ago

(this is a followup to #1540)

to-do (based on Andrzej's comment below):

  • review all places where amp is used for addressing and adjust them
  • review other/all components
  • adjust routing mechanism in MessageRouter to skip looking for components at localpart@domain (that should speed up routing).

Original issue:

[2024-08-25 18:09:52:037] [FINEST  ] [              in_7-amp ] AmpComponent.processPacket()     : 1. Packet will be processed by: amp@ip-172-31-22-51.us-west-2.compute.internal, from=null, to=null, serverAuthorisedStanzaFrom=Optional.empty, DATA=<message xmlns="jabber:client" id="1205127" type="headline" to="amp@sure.im/750395308-tigase-85275" from="amp@sure.im"><event xmlns="http://jabber.org/protocol/pubsub#event"><items node="http://jabber.org/protocol/tune"><item id="3h1t1eetjv1g7jdlel0"><tune xmlns="http://jabber.org/protocol/tune"/></item></items></event></message>, SIZE=331, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=NONE, TYPE=headline, STABLE_ID=null
[2024-08-25 18:09:52:037] [FINEST  ] [              in_7-amp ] AmpComponent.processPacket()     : My packet: from=null, to=null, serverAuthorisedStanzaFrom=Optional.empty, DATA=<message xmlns="jabber:client" id="1205127" type="headline" to="amp@sure.im/750395308-tigase-85275" from="amp@sure.im"><event xmlns="http://jabber.org/protocol/pubsub#event"><items node="http://jabber.org/protocol/tune"><item id="3h1t1eetjv1g7jdlel0"><tune xmlns="http://jabber.org/protocol/tune"/></item></items></event></message>, SIZE=331, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=NONE, TYPE=headline, STABLE_ID=null
[2024-08-25 18:09:52:037] [FINEST  ] [              in_7-amp ] AmpComponent.processPacket()     : processing packet = from=null, to=null, serverAuthorisedStanzaFrom=Optional.empty, DATA=<message xmlns="jabber:client" id="1205127" type="headline" to="amp@sure.im/750395308-tigase-85275" from="amp@sure.im"><event xmlns="http://jabber.org/protocol/pubsub#event"><items node="http://jabber.org/protocol/tune"><item id="3h1t1eetjv1g7jdlel0"><tune xmlns="http://jabber.org/protocol/tune"/></item></items></event></message>, SIZE=331, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=NONE, TYPE=headline, STABLE_ID=null
[2024-08-25 18:09:52:039] [WARNING ] [              in_7-amp ] AmpComponent.processPacket()     : Not an AMP packet! from=null, to=null, serverAuthorisedStanzaFrom=Optional.empty, DATA=<message xmlns="jabber:client" id="1205127" type="headline" to="amp@sure.im/750395308-tigase-85275" from="amp@sure.im"><event xmlns="http://jabber.org/protocol/pubsub#event"><items node="http://jabber.org/protocol/tune"><item id="3h1t1eetjv1g7jdlel0"><tune xmlns="http://jabber.org/protocol/tune"/></item></items></event></message>, SIZE=331, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=NONE, TYPE=headline, STABLE_ID=null
issue 1 of 1
Type
Task
Priority
Normal
Assignee
Version
none
Sprints
n/a
Customer
n/a
Iterations
Issue Votes (0)
Watchers (3)
Reference
tigase/_server/server-core#1561
Please wait...
Page is in error, reload to recover