Openfire Failed to create connection to remote server

After update from openfire 3.8 to 3.10, my openfire server is not able to send messages to Android client. Client’s port is 5222. Here is the log am getting :

2015.12.15 15:37:38 org.apache.mina.filter.executor.OrderedThreadPoolExecutor - Adding event MESSAGE_SENT to session 34

at java.lang.Thread.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:239)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:275)

java.lang.Exception: Failed to create connection to remote server

2015.12.15 15:37:38 org.jivesoftware.openfire.server.OutgoingSessionPromise - OutgoingSessionPromise: Error sending packet to remote server:

2015.12.15 15:37:38 org.apache.mina.filter.ssl.SslFilter - Session Server34: Writing Message : WriteRequest: HeapBuffer[pos=0 lim=224 cap=4096: 3C 6D 65 73 73 61 67 65 20 69 64 3D 22 34 4D 53…]

2015.12.15 15:37:38 org.jivesoftware.openfire.server.ServerDialback - ServerDialback: OS - Invalid namespace in packet: <stream:stream from=“ip-172-31-31-241” id=“48LBH” xmlns=“jabber:server” xmlns:stream=“http://etherx.jabber.org/streams” version=“1.0”>

2015.12.15 15:37:38 org.jivesoftware.openfire.net.BlockingReadingMode - Connection closed before session establishedSocket[addr=/52.10.9.142,port=47109,localport=5269]

2015.12.15 15:37:38 org.jivesoftware.openfire.net.BlockingAcceptingMode - Connect Socket[addr=/52.10.9.142,port=47109,localport=5269]

2015.12.15 15:37:38 org.jivesoftware.openfire.server.ServerDialback - ServerDialback: OS - Connection to 52.10.9.142:5269 successful

2015.12.15 15:37:38 org.jivesoftware.openfire.server.ServerDialback - ServerDialback: OS - Trying to connect to 52.10.9.142:5269(DNS lookup: 52.10.9.142:5269)

at java.lang.Thread.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:239)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:262)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain (LocalOutgoingServerSession.java:163)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSess ion(LocalOutgoingServerSession.java:362)

at org.jivesoftware.openfire.server.ServerDialback.createOutgoingSession(ServerDia lback.java:218)

at org.jivesoftware.openfire.net.DNSUtil.resolveXMPPDomain(DNSUtil.java:126)

at org.jivesoftware.openfire.net.DNSUtil.srvLookup(DNSUtil.java:192)

at javax.naming.directory.InitialDirContext.getAttributes(Unknown Source)

at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_getAttributes(Unknown Source)

at com.sun.jndi.dns.DnsContext.c_getAttributes(Unknown Source)

at com.sun.jndi.dns.Resolver.query(Unknown Source)

at com.sun.jndi.dns.DnsClient.query(Unknown Source)

at com.sun.jndi.dns.DnsClient.doUdpQuery(Unknown Source)

at com.sun.jndi.dns.DnsClient.isMatchResponse(Unknown Source)

at com.sun.jndi.dns.DnsClient.checkResponseCode(Unknown Source)

javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name ‘_jabber._tcp.52.10.9.142’

2015.12.15 15:37:38 org.jivesoftware.openfire.net.DNSUtil - No SRV record found for: _jabber._tcp.52.10.9.142

at java.lang.Thread.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:239)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:262)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain (LocalOutgoingServerSession.java:163)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSess ion(LocalOutgoingServerSession.java:362)

at org.jivesoftware.openfire.server.ServerDialback.createOutgoingSession(ServerDia lback.java:218)