![]() |
|
Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
Help & Support Information on the useage and anything else of Phex
- Unless you are using or asking about PHEX, please do not post in this section (Get ”Phex 3.4.2.163 universal" now) |
![]() |
| LinkBack | Thread Tools | Display Modes |
| |||
![]() Hi guys ![]() First of all I would like to thank you for your effort in developing Phex. ![]() ![]() Code: 080103 21:43:29,0531::Allocating as medium candidate. 080103 21:43:29,0547::Setting status to Push request... Waiting 0 sec. and raise timeout from 1199393009547 to 1199393039547(30000) Reason:null. OldStatus: WAITING 080103 21:43:29,0547::Setting status to Connection failed (1). and raise timeout from 1199393009547 to 1199393129547(120000) Reason:null. OldStatus: PUSH_REQUEST 080103 21:43:29,0547::Moving candidate to bad list (ignoring). 080103 21:43:29,0547::Setting status to Ignored candidate (push route failed). and raise timeout from 1199393009547 to 9223372036854775807(9223370837461766260) Reason:CandidateStatusReason_PushRouteFailed. OldStatus: CONNECTION_FAILED 080103 21:43:29,0547::Push request fails for candidate: [Candidate: Phex,Adr:192.168.1.9:29151 ->phex.download.swarming.SWDownloadCandidate@c0b5cd19] - I 've disabled all firewalls; - I've read this how to - I've search a lot in the forum ![]() Thanks in advance for helping ![]() Have a nice evening |
| |||
![]() Hi.. first of all the obligatory questions. Did you build Phex from source or SVN? Are PCA and PCB in "force Ultrapeer" status? Is any of the PCs carrying the mark "(PP)" in the Mode column on the network tab (This is actually a bug in 3.2)? Are the hosts still connected to each other during/after the download failed? You disabled all firewalls but did Phex still show a little flame on the connection status icon in the status bar in the bottom left corner? Gregor |
| |||||
![]() Hi GregorK, thanks in advance for your fast reply, unfortunately I'm at work at the moment so I cannot check every single point that you ask, I will check them when I'll go back home. But for some of this I can reply right now: Quote:
Quote:
Quote:
![]() Quote:
Quote:
Thanks again for helping ![]() |
| |||
![]() Hi again, so I checked again Phex and this are the results: Quote:
Quote:
Picasa Web Album - Marco - Phex (Sorry for the visualization but this forum seems to change the image url) I think it looks like a flame..right? ![]() So, what should I do? Do I have to hack the code? If yes how exactly? Thank again for the support, I really appreciate. |
| |||
![]() The "flame" prevents you both from directly connection to each other. But the PUSH should work out fine for you, not sure yet why it fails... I think I remember someone had a similar problem a few months ago with private networks... Hacking a few lines of code would likely be the fastest way for you to get a solution, but its also the more difficult approach, depending on your Java knowledge... basically I would tell you how you get ride of the flame. |
| |||
![]() That sounds good! First I recommend to get the sources from: https://phex.svn.sourceforge.net/svnroot/phex/phex/tags/release-3.2.0.102 Although 3.2 is already quite old and there should be better source available in the trunk. But the trunk is going through some big refactoring currently, so I can't recommend to use it. Phex uses Apache ant to build from sources, the scripts are in the build directory. The output/lib directory should contain the JARs after building. There is also some more info on the Wiki: http://www.phex.org/wiki/index.php/B...rom_Subversion What you need to change is in file /src/phex/net/Server.java replace the method hasConnectedIncoming() with the following: Code: public boolean hasConnectedIncoming() { return true; } Gregor |
| |||
![]() Hi GregorK, IT WORKS! ![]() Quote:
I read it but I hoped there were a "clean" (I mean without code hacking) way to fix it, but it's ok, it works .. and Phex looks really great to fit in what I was plannig to do. BTW which IDE do you use for developing it, Netbeans? Eclipse? Maybe I can try with testing it (even if I will probably use it only in private network) with the support of a good IDE (and a debugger). Thanks again for helping (and for developing Phex of course ![]() |
| ||||
![]() Would it be possible to add a GUI option with which people can say "not behind a firewall and all ports forwarded"? The hack in the code is pretty small, so maybe it could be replaced by a simple checkbox - instead of having everyone do the same hack.
__________________ ![]() -> put this banner into your own signature! <- -- Erst im Spiel lebt der Mensch. Nur ludantaj homoj vivas. GnuFU.net - Gnutella For Users Draketo.de - Shortstories, Poems, Music and strange Ideas. |
![]() |
| |