Alameyo / flame

Flame - modern XMPP Instant Messenger that will run on JVM
Apache License 2.0
3 stars 2 forks source link

XMPPError: remote-server-not-found exception while connecting to some servers #19

Open Alameyo opened 5 years ago

Alameyo commented 5 years ago
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
    at java.lang.Thread.run(Thread.java:748)
Caused by: org.jivesoftware.smack.XMPPException$XMPPErrorException: XMPP error reply received from chat.cluxia.eu: XMPPError: remote-server-not-found - cancel
    at org.jivesoftware.smack.XMPPException$XMPPErrorException.ifHasErrorThenThrow(XMPPException.java:185)
    at org.jivesoftware.smack.XMPPException$XMPPErrorException.ifHasErrorThenThrow(XMPPException.java:179)
    at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:268)
    at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:219)
    at org.jivesoftware.smackx.disco.ServiceDiscoveryManager.discoverInfo(ServiceDiscoveryManager.java:531)
    at org.jivesoftware.smackx.disco.ServiceDiscoveryManager.discoverInfo(ServiceDiscoveryManager.java:505)
    at org.jivesoftware.smackx.disco.ServiceDiscoveryManager.supportsFeatures(ServiceDiscoveryManager.java:738)
    at org.jivesoftware.smackx.disco.ServiceDiscoveryManager.supportsFeatures(ServiceDiscoveryManager.java:734)
    at org.jivesoftware.smackx.disco.ServiceDiscoveryManager.supportsFeature(ServiceDiscoveryManager.java:730)
    at org.jivesoftware.smackx.muc.MultiUserChatManager.providesMucService(MultiUserChatManager.java:380)
    at org.jivesoftware.smackx.muc.MultiUserChat.enter(MultiUserChat.java:331)
    at org.jivesoftware.smackx.muc.MultiUserChat.join(MultiUserChat.java:739)
    at org.jivesoftware.smackx.muc.MultiUserChat.join(MultiUserChat.java:630)
    at org.alameyo.flame.controllers.muc.MultiUserChatStanzaListener.<init>(MultiUserChatStanzaListener.kt:11)
    at org.alameyo.flame.controllers.muc.MultiUserChatController.<init>(MultiUserChatController.kt:16)
    at org.alameyo.flame.views.home.muc.MultiUserChatTab.<init>(MultiUserChatTab.kt:12)
    at org.alameyo.flame.controllers.chat.ChatAreaController.addMuc(ChatAreaController.kt:28)
    at org.alameyo.flame.views.home.roster.MultiUserChatView$root$1$1.invoke(MultiUserChatView.kt:18)
    at org.alameyo.flame.views.home.roster.MultiUserChatView$root$1$1.invoke(MultiUserChatView.kt:9)
    at tornadofx.LayoutsKt.vbox(Layouts.kt:388)
    at tornadofx.LayoutsKt.vbox$default(Layouts.kt:103)
    at org.alameyo.flame.views.home.roster.MultiUserChatView$root$1.invoke(MultiUserChatView.kt:15)
    at org.alameyo.flame.views.home.roster.MultiUserChatView$root$1.invoke(MultiUserChatView.kt:9)
    at tornadofx.LayoutsKt.scrollpane(Layouts.kt:457)
    at tornadofx.LayoutsKt.scrollpane$default(Layouts.kt:204)
    at org.alameyo.flame.views.home.roster.MultiUserChatView.<init>(MultiUserChatView.kt:14)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at java.lang.Class.newInstance(Class.java:442)
    at tornadofx.FXKt.find(FX.kt:410)
    at org.alameyo.flame.views.home.roster.LeftSideView$$special$$inlined$inject$2.getValue(Component.kt:1197)
    at org.alameyo.flame.views.home.roster.LeftSideView$$special$$inlined$inject$2.getValue(Component.kt:173)
    at org.alameyo.flame.views.home.roster.LeftSideView.getMultiUserChatView(LeftSideView.kt)
    at org.alameyo.flame.views.home.roster.LeftSideView.access$getMultiUserChatView$p(LeftSideView.kt:8)
    at org.alameyo.flame.views.home.roster.LeftSideView$root$1$2.invoke(LeftSideView.kt:19)
    at org.alameyo.flame.views.home.roster.LeftSideView$root$1$2.invoke(LeftSideView.kt:8)
    at tornadofx.TabPaneKt.tab(TabPane.kt:169)
    at tornadofx.TabPaneKt.tab$default(TabPane.kt:165)
    at org.alameyo.flame.views.home.roster.LeftSideView$root$1.invoke(LeftSideView.kt:18)
    at org.alameyo.flame.views.home.roster.LeftSideView$root$1.invoke(LeftSideView.kt:8)
    at tornadofx.TabPaneKt.tabpane(TabPane.kt:188)
    at org.alameyo.flame.views.home.roster.LeftSideView.<init>(LeftSideView.kt:13)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at java.lang.Class.newInstance(Class.java:442)
    at tornadofx.FXKt.find(FX.kt:410)
    at org.alameyo.flame.views.home.FlameApplicationView$$special$$inlined$inject$2.getValue(Component.kt:1197)
    at org.alameyo.flame.views.home.FlameApplicationView$$special$$inlined$inject$2.getValue(Component.kt:173)
    at org.alameyo.flame.views.home.FlameApplicationView.getLeftSideView(FlameApplicationView.kt)
    at org.alameyo.flame.views.home.FlameApplicationView.access$getLeftSideView$p(FlameApplicationView.kt:9)
    at org.alameyo.flame.views.home.FlameApplicationView$root$1.invoke(FlameApplicationView.kt:19)
    at org.alameyo.flame.views.home.FlameApplicationView$root$1.invoke(FlameApplicationView.kt:9)
    at tornadofx.LayoutsKt.borderpane(Layouts.kt:420)
    at org.alameyo.flame.views.home.FlameApplicationView.<init>(FlameApplicationView.kt:15)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at java.lang.Class.newInstance(Class.java:442)
    at tornadofx.FXKt.find(FX.kt:410)
    at tornadofx.FXKt.find$default(FX.kt:399)
    at tornadofx.UIComponent.replaceWith(Component.kt:1123)
    at org.alameyo.flame.views.login.LoginView$root$1$1$1$1$3$1$2.invoke(LoginView.kt:102)
    at org.alameyo.flame.views.login.LoginView$root$1$1$1$1$3$1$2.invoke(LoginView.kt:11)
    at tornadofx.AsyncKt$success$$inlined$apply$lambda$1$1.handle(Async.kt:110)
    at tornadofx.AsyncKt$success$$inlined$apply$lambda$1$1.handle(Async.kt)
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
    at javafx.event.Event.fireEvent(Event.java:198)
    at javafx.concurrent.EventHelper.fireEvent(EventHelper.java:219)
    at javafx.concurrent.Task.fireEvent(Task.java:1356)
    at javafx.concurrent.Task.setState(Task.java:723)
    at javafx.concurrent.Task$TaskCallable.lambda$call$500(Task.java:1434)
    at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
    ... 6 more
Alameyo commented 5 years ago

Sporadic issue, might be more related to server side but need better handling in client.