Quantcast
Channel: Ignite Realtime : Unanswered Discussions - Support
Viewing all articles
Browse latest Browse all 4979

Used filter: No filter used or filter was 'null'

$
0
0

I have gone through most questions here: About 15% go answered. I don't know if the OpenFire Community is not that fat, but this makes it harder for beginners looking for help.

I have also being searching for solution, but to no avail. So I hope this falls in the right hands.:) wroot

 

I have some ports filtered on my network. Using nmap (Ubuntu) and http://www.yougetsignal.com/tools/open-ports/ website, I was able to find that only some few ports are open, including port 443. I realised that somehow, if I issue ommand to close application using 443, my web browser closes. This also happens for port 80.

 

Based on this question : https://community.igniterealtime.org/thread/36561, I tried "iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 5222". I then portforwaded my router to send requests on 443(not filtered) to my local_ip. I then changed my code to:

private static void connect()    {       XMPPTCPConnectionConfiguration config = XMPPTCPConnectionConfiguration.builder()  .setUsernameAndPassword("peter", "12345")  .setServiceName(public_ip)  .setHost(public_ip)  .setPort(443)               .setResource("PC")  .setDebuggerEnabled(true)  .setSendPresence(true)   .setSecurityMode(ConnectionConfiguration.SecurityMode.disabled)  .build();         conn2 = new XMPPTCPConnection(config);     }

 

 

My problem:

When I try to set up the connection: I get an error: This is the stacktrace:

org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 5000ms (~5s). Used filter: No filter used or filter was 'null'.

    at org.jivesoftware.smack.SmackException$NoResponseException.newWith(SmackExceptio n.java:106)

    at org.jivesoftware.smack.SmackException$NoResponseException.newWith(SmackExceptio n.java:85)

    at org.jivesoftware.smack.SynchronizationPoint.checkForResponse(SynchronizationPoi nt.java:192)

    at org.jivesoftware.smack.SynchronizationPoint.checkIfSuccessOrWait(Synchronizatio nPoint.java:114)

    at org.jivesoftware.smack.SynchronizationPoint.checkIfSuccessOrWaitOrThrow(Synchro nizationPoint.java:97)

    at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection. java:837)

    at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.ja va:360)

    at com.mycompany.mavenproject1.NewClass.doAll(NewClass.java:124)

    at com.mycompany.mavenproject1.NewClass.access$000(NewClass.java:31)

    at com.mycompany.mavenproject1.NewClass$1.handle(NewClass.java:72)

    at com.mycompany.mavenproject1.NewClass$1.handle(NewClass.java:67)

    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEvent Handler.java:86)

    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerMana ger.java:238)

    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerMana ger.java:191)

    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEv entDispatcher.java:59)

    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.ja va:58)

    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImp l.java:114)

    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.ja va:56)

    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImp l.java:114)

    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.ja va:56)

    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImp l.java:114)

    at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)

    at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)

    at javafx.event.Event.fireEvent(Event.java:198)

    at javafx.scene.Node.fireEvent(Node.java:8411)

    at javafx.scene.control.Button.fire(Button.java:185)

    at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavi or.java:182)

    at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.ja va:96)

    at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.ja va:89)

    at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubbl ingEvent(CompositeEventHandler.java:218)

    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEvent Handler.java:80)

    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerMana ger.java:238)

    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerMana ger.java:191)

    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEv entDispatcher.java:59)

    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.ja va:58)

    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImp l.java:114)

    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.ja va:56)

    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImp l.java:114)

    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.ja va:56)

    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImp l.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.scene.Scene$MouseHandler.process(Scene.java:3757)

    at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)

    at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)

    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)

    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Glas sViewEventHandler.java:380)

    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Glas sViewEventHandler.java:294)

    at java.security.AccessController.doPrivileged(Native Method)

    at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(Gla ssViewEventHandler.java:416)

    at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.ja va:389)

    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEvent Handler.java:415)

    at com.sun.glass.ui.View.handleMouseEvent(View.java:555)

    at com.sun.glass.ui.View.notifyMouse(View.java:937)

    at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)

    at com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139)

    at java.lang.Thread.run(Thread.java:745)

 

 

Any help at all, will be so appreciated.


Viewing all articles
Browse latest Browse all 4979

Trending Articles