Horta somehow reconnected after receiving the message (that means it was indeed connected to server).
03:16:26.579 [CodingteamSystem-akka.actor.default-dispatcher-20486] DEBUG s.StatementExecutor$$anon$1 - [SQL Execution] insert into Log (time, room, sender, type, message) values ('2016-04-22 03:16:26.579', 'codingteam@conference.jabber.ru', 'ForNeVeR', 'message', 'send/gsomix/Есть же Aether:/'); (0 ms)
03:16:26.580 [CodingteamSystem-akka.actor.default-dispatcher-20483] ERROR akka.actor.OneForOneStrategy - Not connected to server.
java.lang.IllegalStateException: Not connected to server.
at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:445) ~[horta-hell.jar:0.15.2]
at org.jivesoftware.smack.ChatManager.sendMessage(ChatManager.java:259) ~[horta-hell.jar:0.15.2]
at org.jivesoftware.smack.Chat.sendMessage(Chat.java:97) ~[horta-hell.jar:0.15.2]
at ru.org.codingteam.horta.protocol.jabber.JabberProtocol$$anonfun$receive$1$$anonfun$applyOrElse$5.apply(JabberProtocol.scala:118) ~[horta-hell.jar:0.15.2]
at ru.org.codingteam.horta.protocol.jabber.JabberProtocol$$anonfun$receive$1$$anonfun$applyOrElse$5.apply(JabberProtocol.scala:118) ~[horta-hell.jar:0.15.2]
at ru.org.codingteam.horta.protocol.jabber.JabberProtocol.ru$org$codingteam$horta$protocol$jabber$JabberProtocol$$sendMessage(JabberProtocol.scala:188) ~[horta-hell.jar:0.15.2]
at ru.org.codingteam.horta.protocol.jabber.JabberProtocol$$anonfun$receive$1.applyOrElse(JabberProtocol.scala:118) ~[horta-hell.jar:0.15.2]
at akka.actor.Actor$class.aroundReceive(Actor.scala:465) ~[horta-hell.jar:0.15.2]
at ru.org.codingteam.horta.protocol.jabber.JabberProtocol.aroundReceive(JabberProtocol.scala:19) ~[horta-hell.jar:0.15.2]
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) [horta-hell.jar:0.15.2]
at akka.actor.ActorCell.invoke(ActorCell.scala:487) [horta-hell.jar:0.15.2]
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238) [horta-hell.jar:0.15.2]
at akka.dispatch.Mailbox.run(Mailbox.scala:220) [horta-hell.jar:0.15.2]
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393) [horta-hell.jar:0.15.2]
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) [horta-hell.jar:0.15.2]
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) [horta-hell.jar:0.15.2]
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) [horta-hell.jar:0.15.2]
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [horta-hell.jar:0.15.2]
03:16:26.581 [CodingteamSystem-akka.actor.default-dispatcher-20486] INFO r.o.c.h.p.jabber.JabberProtocol - Disconnecting
03:16:26.737 [CodingteamSystem-akka.actor.default-dispatcher-20487] INFO r.o.c.h.p.jabber.JabberProtocol - Disconnected
Maybe we're still leaking these connections / listeners somehow?
Horta somehow reconnected after receiving the message (that means it was indeed connected to server).
Maybe we're still leaking these connections / listeners somehow?