Outgoing connections bug? ONLY after starting my Phex-client there are outgoing connections... after that i ONLY have incoming connections. Even if i have a lot less connections than i have filled in at my Phex settings, there will be NO more outgoing connections... just incoming... I'm using the latest SVN version under Ubuntu 11.04, trying OpenJDK 6 Runtime + Sun java 6 Runtime, both the same result. |
Is there anything recent in your error log? |
This is the most recent log: Quote:
|
oops apologies, seems the forum censor has does some damage to the error log listing. Does that make things difficult to see which java errors they are? |
no.. as far as i can see and understand the errors are generated in 2008.. so they are not related... |
Quote:
I copy and paste from the logfile of today so this log is recent ;) |
If the censor does the same thing again, you could upload & attach the log file as a text document instead. |
Thanks Lord, i will do that next time ;-) |
I tried the latest stable version (3.4.2.116) and that version is working, the outgoing connections keeps working! So i think it's probably the SVN version that has this "bug" (on 2 pc's, both using Ubuntu 11.04) OR it's an Linux related bug (?) Since compiling of the latest SVN is working without any errors, i doubt if that can be the reason that outgoing connections stops working... |
Uhh.. I guess you are right with the date... sorry.. The error log show two problems from a failed update signature check and a third problem which is a strange race condition that occurs some times. I haven't found the reason for it yet, but its uncritical. If you like to check more deeply why outgoing connections don't work, the problem most likely is in the inner class HostManager.HostCheckTimer. The class runs every 2 seconds and calculates and triggers in method doAutoConnectCheck() the number of outgoing connections. Maybe you can find something there, by adding some debug output. Gregor |
Where can i find "HostManager.HostCheckTimer" do i need to install some extra software for viewing or editting this? Yesterday i installed Eclipse, don't know if i need anything more... i'm not a developer so for me it's not a daily thing (but i'm curious enough to try new things) ;-) Anyway, when Phex (svn version) after a while don't do outgoing connections anymore, i still get incoming connections all the time because i'm always Ultrapeer. For Phex leafs it can be a problem, they only have outgoing connections, if Phex stops doing outgoing connections, they aren't connected to the network anymore. |
Look at the SVN file: phex\src\main\java\phex\host\HostManager.java The variable outConnectCount in line 281 defines the number of outgoing connection that will be opened. Apparently its 0 or below for you. It would be interesting to find out why. You could add some debug output to the code. The easiest way would be something like this: Before line 283 add: Code: System.out.println( outConnectCount When you start Phex from a console window is should write about every 2 seconds a line showing you some numbers used to calculate the outgoing connection attempts. It would be nice to see if either this output suddenly stops or if one of the values is incorrect and prevents further outgoing connections. Gregor |
I found the problem of this issue. It is fixed in SVN. |
Thanks Gregor :super: |
Update: Outgoing connections works perfect now :D |
All times are GMT -7. The time now is 02:11 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.