See: http://xmpp.org/extensions/xep-0065.html
If the Target tries but is unable to connect to any of the StreamHosts and it does not wish to attempt a connection from its side, it MUST return an <item-not-found/> error to the Requester. So the question is: is the local Socks5 Proxy running, what are the offered StreamHosts and are these hosts reachable ? On 05.08.2014 14:16, Holger Schmeisky wrote: > Hi, > > when I connect two IntelliJ instances, I get the following exception on > the host: > > > WARN 14:10:40,829 [pool-4-thread-1] (Socks5Transport.java:425) > [SOCKS5Transport] Couldn't accept request but still trying to establish > a response connection: Could not establish socket with any provided host > ERROR 14:10:40,904 [pool-4-thread-1] (Socks5Transport.java:454) An error > occured while establishing a response connection > item-not-found(404) Could not establish socket with any provided host > at > org.jivesoftware.smack.util.SyncPacketSend.getReply(SyncPacketSend.java:54) > at > org.jivesoftware.smackx.bytestreams.socks5.Socks5BytestreamManager.establishSession(Socks5BytestreamManager.java:481) > at > org.jivesoftware.smackx.bytestreams.socks5.Socks5BytestreamManager.establishSession(Socks5BytestreamManager.java:83) > at > de.fu_berlin.inf.dpp.net.internal.Socks5Transport.establishResponseSession(Socks5Transport.java:646) > at > de.fu_berlin.inf.dpp.net.internal.Socks5Transport$1.call(Socks5Transport.java:108) > at > de.fu_berlin.inf.dpp.net.internal.Socks5Transport$1.call(Socks5Transport.java:105) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:744) > ERROR 14:10:40,905 [pool-4-thread-1] (ByteStreamTransport.java:105) > could not establish bytestream connection to > dev2_bob_stf@holger-laptop/Saros > java.io.IOException: [SOCKS5Transport] Neither connection could be > established. > at > de.fu_berlin.inf.dpp.net.internal.Socks5Transport.acceptNewRequest(Socks5Transport.java:460) > at > de.fu_berlin.inf.dpp.net.internal.Socks5Transport.acceptRequest(Socks5Transport.java:488) > at > de.fu_berlin.inf.dpp.net.internal.ByteStreamTransport$1.incomingBytestreamRequest(ByteStreamTransport.java:77) > at > org.jivesoftware.smackx.bytestreams.socks5.InitiationListener.processRequest(InitiationListener.java:91) > at > org.jivesoftware.smackx.bytestreams.socks5.InitiationListener.access$000(InitiationListener.java:37) > at > org.jivesoftware.smackx.bytestreams.socks5.InitiationListener$1.run(InitiationListener.java:63) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:744) > > > and then this one on the invitee: > > > > ERROR 14:11:10,833 [Thread-6] (DataTransferManager.java:407) > dev1_alice_stf@holger-laptop/Saros failed to connect using > XMPP-Socks5-Transport: [SOCKS5Transport] waiting for a response session > timed out (30000ms) and could not establish a connection from this side, > too: > java.io.IOException: [SOCKS5Transport] waiting for a response session > timed out (30000ms) and could not establish a connection from this side, > too: > at > de.fu_berlin.inf.dpp.net.internal.Socks5Transport.establishBinaryChannel(Socks5Transport.java:607) > at > de.fu_berlin.inf.dpp.net.internal.ByteStreamTransport.connect(ByteStreamTransport.java:48) > at > de.fu_berlin.inf.dpp.net.internal.DataTransferManager.connectInternal(DataTransferManager.java:404) > at > de.fu_berlin.inf.dpp.net.internal.DataTransferManager.connect(DataTransferManager.java:285) > at > de.fu_berlin.inf.dpp.core.invitation.IncomingSessionNegotiation.accept(IncomingSessionNegotiation.java:169) > at > de.fu_berlin.inf.dpp.intellij.ui.wizards.JoinSessionWizard$2.run(JoinSessionWizard.java:140) > at de.fu_berlin.inf.dpp.util.ThreadUtils$1.run(ThreadUtils.java:38) > at java.lang.Thread.run(Thread.java:744) > Caused by: item-not-found(404) Could not establish socket with any > provided host > at > org.jivesoftware.smack.util.SyncPacketSend.getReply(SyncPacketSend.java:54) > at > org.jivesoftware.smackx.bytestreams.socks5.Socks5BytestreamManager.establishSession(Socks5BytestreamManager.java:481) > at > org.jivesoftware.smackx.bytestreams.socks5.Socks5BytestreamManager.establishSession(Socks5BytestreamManager.java:83) > at > de.fu_berlin.inf.dpp.net.internal.Socks5Transport.establishBinaryChannel(Socks5Transport.java:525) > > > Then it takes about a minute and the two instances are connected. This > does not happen when connecting to Eclipse. Does anybody have a guess > what this is? > > Regards, > Holge > > ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ DPP-Devel mailing list DPP-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dpp-devel