Do you mean that clients can connect on the local network, but cannot connect from the outside (from the internet)?
No,clients can connect on the LAN,and from the internet.
Is ‘ubuntu’ your server’s name? Are you putting ‘ubuntu’ into Domain field to connect? This might work in a local network, but that’s not a proper domain for internet (should be something like example.com, or chat.example.com). Using external IP could work (if you have 5222 port opened in your firewall/router and forwarded it to the machine running your server). Then you should put ubuntu as Domain and on the Advanced settings page put IP as a host.
Yes, ubuntu is the name server, but the domain I insert “jabber -******.ml” is a free domain that is registered to the external IP of our organization. clients connect,but the problem in permanent reconnects and freezes Spark.
But i don’t understand why 5269 port is mentioned in the log. This is a server to server port. You should explain better your setup and what you are trying to achieve…
Yes, ubuntu is the name server, but the domain I insert “jabber -******.ml” is a free domain that is registered to the external IP of our organization. clients connect,but the problem in permanent reconnects and freezes spark . can openfire disconnects or cannot connect to DNS server?
P.S. I have a new errors…
2016.11.17 10:27:55 org.jivesoftware.openfire.net.SocketReader - Closing session due to incorrect hostname in stream header. Host: jabber.kalina. Connection: org.jivesoftware.openfire.net.SocketConnection@4d5df7b1 socket: Socket[addr=/127.0.0.1,port=43680,localport=5269] session: null
2016.11.17 10:27:55 org.jivesoftware.openfire.net.SocketReader - Closing session due to incorrect hostname in stream header. Host: jabber.kalina. Connection: org.jivesoftware.openfire.net.SocketConnection@43c3d64c socket: Socket[addr=/127.0.0.1,port=43682,localport=5269] session: null
2016.11.17 10:27:55 org.jivesoftware.openfire.server.ServerDialback[Acting as Originating Server: Create Outgoing Session from: ubuntu to RS at: jabber.kalina (port: 5269)] - Unable to create a new outgoing session
2016.11.17 10:27:55 org.jivesoftware.openfire.session.LocalOutgoingServerSession[Create outgoing session for: ubuntu to jabber.kalina] - Unable to create a new session: Dialback (as a fallback) failed.
2016.11.17 10:27:55 org.jivesoftware.openfire.session.LocalOutgoingServerSession[Authenticate local domain: ‘ubuntu’ to remote domain: ‘jabber.kalina’] - Unable to authenticate: Fail to create new session.
jabber.kalina is the wrong name!
There was one problem. Clients are disconnected, and then warn.log error appears:
2016.11.17 16:30:16 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to exception in session: (0x00001D24: nio socket, server, /192.100.100.221:1205 => 0.0.0.0/0.0.0.0:5222)
org.apache.mina.core.write.WriteToClosedSessionException
at org.apache.mina.filter.ssl.SslFilter.exceptionCaught(SslFilter.java:544)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextExceptionCaught(D efaultIoFilterChain.java:461)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1100(DefaultIoFilt erChain.java:47)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.exceptionCaug ht(DefaultIoFilterChain.java:760)
at org.apache.mina.core.filterchain.IoFilterAdapter.exceptionCaught(IoFilterAdapte r.java:102)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextExceptionCaught(D efaultIoFilterChain.java:461)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireExceptionCaught(Defau ltIoFilterChain.java:451)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.clearWriteRequestQueue( AbstractPollingIoProcessor.java:646)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeNow(AbstractPolli ngIoProcessor.java:590)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeSessions(Abstract PollingIoProcessor.java:560)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$800(AbstractPoll ingIoProcessor.java:67)
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractP ollingIoProcessor.java:1132)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
okay…I will attach the log file,where the error occurs so many times…
warn.log.zip (6705 Bytes)