Projects tigase _server server-core Issues #201
S2S Dialback issue (#201)
Closed
Andrzej Wójcik (Tigase) opened 1 decade ago

Occasionally Tigase XMPP Server is unable to establish S2S communication with other XMPP servers due to issue with dialback - it returns error:

Remote server not found.
A remote server or service specified as part or all of the JID of the intended recipient does not exist.
S2S - destination host not found

Remote server usually reports it as connection timeout or that it is not able to find dialback key, what forces remote server to fail during dialback.

Andrzej Wójcik (Tigase) commented 1 decade ago

It looks like this issue was caused by a few things:

  1. Tigase.IM was running version of Tigase XMPP Server in which it was possible to overload S2S connection establishing thread, which would lead to sending dialback request after another dialback request was sent with new secret.

  2. Tigase XMPP Server established more than 1 connection to remove server (as remote server was a cluster - tigase.im) and each node received different secret for authentication which could lead some connections to fail as Tigase XMPP Server was keeping only last generated secret as valid.

Currently some things changed:

  1. Tigase XMPP Server is using multiple threads for DNS resolution, so such overload is not possible now.

  2. Since S2S now implements XEP-0185 (see #980) each generated secret sent to remote server will be validated (not only last one)

Artur Hefczyc commented 1 decade ago

Good work, thank you.

I guess the fix is in the master report branch, so it will be included in the 5.3.0?

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