Project

General

Profile

Presence via S2S issue

Pascal S
Added almost 5 years ago

Hello

I noticed sometime that a user from a different server (a public one like jit.si for example but it occurs with different public server) were not notified properly of my tigase user status.

Looking into the log files I came across those line:

2014-03-07 11:29:07,463 [pool-17-thread-2] TRACE t.s.x.proc.S2SAbstractProcessor - Called from:
java.lang.Throwable: null
        at tigase.server.xmppserver.proc.S2SAbstractProcessor.generateStreamError(S2SAbstractProcessor.java:146) ~[tigase-server.jar:5.3.0-SNAPSHOT-b3462/9710edb8 (2014-02-27/01:01:38)]
        at tigase.server.xmppserver.proc.PacketChecker.process(PacketChecker.java:132) [tigase-server.jar:5.3.0-SNAPSHOT-b3462/9710edb8 (2014-02-27/01:01:38)]
        at tigase.server.xmppserver.S2SConnectionManager.processSocketData(S2SConnectionManager.java:414) [tigase-server.jar:5.3.0-SNAPSHOT-b3462/9710edb8 (2014-02-27/01:01:38)]
        at tigase.server.xmppserver.S2SConnectionManager.processSocketData(S2SConnectionManager.java:71) [tigase-server.jar:5.3.0-SNAPSHOT-b3462/9710edb8 (2014-02-27/01:01:38)]
        at tigase.server.ConnectionManager.packetsReady(ConnectionManager.java:399) [tigase-server.jar:5.3.0-SNAPSHOT-b3462/9710edb8 (2014-02-27/01:01:38)]
        at tigase.server.ConnectionManager.packetsReady(ConnectionManager.java:63) [tigase-server.jar:5.3.0-SNAPSHOT-b3462/9710edb8 (2014-02-27/01:01:38)]
        at tigase.net.IOService.call(IOService.java:264) [tigase-server.jar:5.3.0-SNAPSHOT-b3462/9710edb8 (2014-02-27/01:01:38)]
        at tigase.net.IOService.call(IOService.java:103) [tigase-server.jar:5.3.0-SNAPSHOT-b3462/9710edb8 (2014-02-27/01:01:38)]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_51]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_51]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51]
        at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
2014-03-07 11:29:07,464 [pool-17-thread-2] TRACE t.s.x.proc.S2SAbstractProcessor - CID: ucaas.sewan.fr@sewan.eu, null, type: accept, Socket: TLS: nullSocket[addr=/21
7.195.31.145,port=27814,localport=5269], jid: null, Sending stream error: <stream:error><invalid-from xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error></s
tream:stream>

Any idea what could I do to avoid that?


Replies (4)

Added by Wojciech Kapcia TigaseTeam almost 5 years ago

Could you share bigger excerpt of the log, especially including the stanza that triggered the entry?

The error most likely is a result from receiving packet from domain different than the one that was already authenticated.

Added by Pascal S almost 5 years ago

Here is a bigger chunk of my log file. I don't how long you require.

Added by Wojciech Kapcia TigaseTeam almost 5 years ago

It looks like you received the packet on a s2s connection that hasn't been yet authenticated.

Could you share either to which domains or xmpp server running those domains the problem pertain (could be privately by e-mail if you prefer)?

Added by Pascal S almost 5 years ago

This issue was solved. It was in fact due to an authentication issue from Tigase to the remote server (the remote server as to blame and no problem with Tigase).

Thanks again for your help Wojciech.

    (1-4/4)