Server to Server Connection not requested

Good morning, everyone.
My Openfire server is experiencing frequent client logouts. To look for any anomalies, I checked the logs and found this message repeated several times in the logs:

2025.10.08 17:06:38 org.jivesoftware.openfire.spi.RoutingTableImpl - Will not route: Remote domain linuxserver is not accessible according to our configuration (typical causes: server federation is disabled, or domain is blacklisted).

I checked the Server to Server function, but it is disabled.
What could that message depend on?
Reading old posts about it, I have already checked the client configuration, but none of them point to a server called “linuxserver.”
If I try to activate the S2S function, the message in the log becomes:

2025.10.08 17:22:06 org.jivesoftware.openfire.session.LocalOutgoingServerSession\[Create outgoing session for: debian.xxx.local to linuxserver\] - Unable to create new session: Cannot create a plain socket connection with any applicable remote host.

How can I fix this?
Thank you in advance for your answers.

I don’t think this is the reason for the frequent client logout issue that you’re trying to resolve, but I can explain what these log messages mean.

This means that Openfire tries to contact an XMPP domain named linuxserver. If you have disabled Server-to-Server functionality, then it cannot reach any server of that domain, which is what the warning tries to say.

Note that when Server-to-Server functionality is enabled, your Openfire is still unable to connect. This is what the second warning means.

Openfire has tried to resolve a server that belongs to the linuxserver XMPP domain, but it cannot find any (or it cannot connect to the server that was resolved through DNS). That is not very surprising. The name linuxserver is not a name that typically resolves through DNS to a server. This can only work if you have network configuration that is specific to your local network.


The cause for this is not immediately clear. It is most likely that one of the user has added a contact to their roster with this domain name (for example myfriend@linuxserver). When that user logs in, Openfire will send notifications to all its contacts to let them know that the user is now online. The attempt to deliver that notification to myfriend@linuxserver fails, as Openfire cannot connect to any server that belongs to the linuxserver XMPP domain, as explained above.

Dear Guus,
Following your advice, I combed through the user rosters and found some contacts in the rosters of some older users that pointed to the linuxserver domain.
I remembered that previously, an old instance of Openfire was actually installed on a Linux server called linuxserver. I removed these entries from the rosters and the error message in the logs disappeared. Thank you again for your valuable support.
Kind regards

1 Like