Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > LimeWire Beta Archives
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts


 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 15th, 2005
zab zab is offline
Connoisseur
 
Join Date: May 16th, 2004
Location: Big Apple
Posts: 266
zab is a great assister to others; your light through the dark tunnel
Default beta 4.9.4 dropping connections

Greetings,

we'd like to get as much feedback as possible for a rare bug where Limewire drops all existing connections and refuses to connect unless you restart.

The main details we're interested in are:

* Your OS version
*Your Java version
* Whether you have a firewall or not
* Whether you were on the computer when this happened, or whether you were away and found Limewire disconnected when you came back
* Were you a leaf or an Ultrapeer
* Did you have many active downloads.

Also, it would be very helpful to provide us with a sample bug report if LimeWire goes in that state. To do that you can go to Options->Bug Reports-> View Sample.

Edit: also, if you know how, please get us a stack trace. If you don't know how to do that don't worry.

Thank you again for your help. These beta series have come a long way thanks to all of you.

Last edited by zab; July 17th, 2005 at 10:41 AM.
  #2 (permalink)  
Old July 16th, 2005
jum's Avatar
jum jum is offline
Latest svn User
 
Join Date: April 6th, 2002
Location: Germany
Posts: 174
jum is flying high
Default Re: beta 4.9.4 dropping connections

I had this happen this night. It was in that state in the morning, so I did not see it happen.

It is on Win XPsp2. Java -version:

java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)

Im heavily firewalled currently (outside my control), only outgoing TCP connections work via some NAT, no UDP transfers work.
Very few downloads complete in such an environment.

The computer is a leaf and had about 10 downloads pending, but none of them where downloading as I went to bed.
  #3 (permalink)  
Old July 17th, 2005
jum's Avatar
jum jum is offline
Latest svn User
 
Join Date: April 6th, 2002
Location: Germany
Posts: 174
jum is flying high
Default

It did happen again, so this time I captured the state:
Code:
LimeWire version 4.9.3jum420 Pro
Java version 1.5.0_04 from Sun Microsystems Inc.
Windows XP v. 5.1 on x86
Free/total memory: 2090864/29843456

java.lang.Exception: Example Bug
	at com.limegroup.gnutella.gui.options.panes.BugsPaneItem$1.actionPerformed(BugsPaneItem.java:91)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.Dialog$1.run(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at java.awt.Component.show(Unknown Source)
	at java.awt.Component.setVisible(Unknown Source)
	at com.limegroup.gnutella.gui.options.OptionsConstructor.setOptionsVisible(OptionsConstructor.java:292)
	at com.limegroup.gnutella.gui.options.OptionsMediator.setOptionsVisible(OptionsMediator.java:98)
	at com.limegroup.gnutella.gui.options.OptionsMediator.setOptionsVisible(OptionsMediator.java:80)
	at com.limegroup.gnutella.gui.GUIMediator.setOptionsVisible(GUIMediator.java:577)
	at com.limegroup.gnutella.gui.menu.ToolsMenu$1.actionPerformed(ToolsMenu.java:27)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)


Detail: Example

-- listing session information --
Current thread: AWT-EventQueue-0
Active Threads: 274
Uptime: 17:29:26
Is Connected: false
Number of Ultrapeer -> Ultrapeer Connections: 0
Number of Ultrapeer -> Leaf Connections: 0
Number of Leaf -> Ultrapeer Connections: 0
Number of Old Connections: 0
Acting as Ultrapeer: false
Acting as Shielded Leaf: false
Number of Active Uploads: 0
Number of Queued Uploads: 0
Number of Active Managed Downloads: 0
Number of Active HTTP Downloaders: 0
Number of Waiting Downloads: 43
Received incoming this session: false
Number of Shared Files: 854
Guess Capable: false
Received Solicited UDP: true
SIMPP version: 7
Port Stable: false
FWT Capable: true
Last Reported Port: 18038
External Port: 6346
IP Pongs Received: 1346

-- listing threads --
HttpClient-ReferenceQueueThread: 1
BeanShell: 1
GWebCache hostfile: 1
check for live connection: 1
ConnectionFetcher: 10
NIODispatcher: 1
ResumeTimer: 1
QueryUnicaster: 1
Java2D Disposer: 1
TimerQueue: 1
MulticastService: 1
Acceptor: 1
HttpClient-IdleConnectionThread: 1
AWT-Shutdown: 1
AWT-Windows: 1
AWT-EventQueue-0: 1
Thread-6: 1
Timeout guard: 244
Timer-0: 1
QRPPropagator: 1
DestroyJavaVM: 1
HTTPAcceptor: 1


-- listing properties --
WINDOW_Y=360
FORCE_IP_ADDRESS=true
WINDOW_X=378
TTL=6
FILTER_HTML=true
RUN_ON_STARTUP=false
FILTER_HASH_QUERIES=true
INSTALLED=true
UI_LIBRARY_TREE_DIVIDER_LOCATION=166
HARD_MAX_UPLOADS=2
AVERAGE_UPTIME=294531
TOTAL_UPTIME=101613491
MAX_UPLOAD_BYTES_PER_SEC=8
UPDATE_STYLE=0
COUNTRY=
LAST_SHUTDOWN_TIME=1121507459190
SESSIONS=345
MINIMIZE_TO_TRAY=false
CLEAR_DOWNLOAD=true
GUESS_ENABLED=false
UPLOADS_PER_PERSON=1
UI_SMALL_ICONS=true
FRACTIONAL_UPTIME=0.22620764
CONNECTION_SPEED=350
LAST_EXPIRE_TIME=1121031066038
MAX_DOWNLOAD_BYTES_PER_SEC=19
RUN_ONCE=true
BEANSHELL_VIEW_ENABLED=true
APP_HEIGHT=685
UI_MONITOR_UPLOAD_TAB_DIVIDER_LOCATION=140
DAAP_ENABLED=false
LAST_GWEBCACHE_FETCH_TIME=1121031103382
UNSET_FIREWALLED_FROM_CONNECTBACK=true
CLIENT_ID=F86D5C0115581208FFF1C78E32A41D00
PLAYER_ENABLED=false
INCOMPLETE_PURGE_TIME=30
CONNECTION_VIEW_ENABLED=true
  #4 (permalink)  
Old July 17th, 2005
zab zab is offline
Connoisseur
 
Join Date: May 16th, 2004
Location: Big Apple
Posts: 266
zab is a great assister to others; your light through the dark tunnel
Default

Thanks a lot. If you have the chance, can you see if limewire in such state is capable of performing any i/o ? The easiest way to test that would be to telnet to localhost 6346 and see if the connection gets accepted. Browse host from another machine would do too.

Thanks!
  #5 (permalink)  
Old July 17th, 2005
Moderator
 
Join Date: May 16th, 2003
Posts: 1,118
trap_jaw4 is flying high
Default

Quote:
Originally posted by jum
Code:
Timeout guard: 244
What do these "Timeout guard" threads do? I can't remember seeing any of them on linux...
  #6 (permalink)  
Old July 17th, 2005
zab zab is offline
Connoisseur
 
Join Date: May 16th, 2004
Location: Big Apple
Posts: 266
zab is a great assister to others; your light through the dark tunnel
Default

@jum:

If this happens again please try to get us a stack trace. Thanks a lot!
  #7 (permalink)  
Old July 17th, 2005
Software Developer
 
Join Date: November 4th, 2002
Location: New York
Posts: 1,366
sberlin is flying high
Default

Timeout guard is part of HttpClient -- it was built for Java 1.3, so it uses an extra thread to do socket connection timeouts.

See http://limewire.org/fisheye/viewrep/...ler.java?r=1.1 , http://limewire.org/fisheye/viewrep/...ava?r=1.6#l652 , & the various socket factories.
  #8 (permalink)  
Old July 17th, 2005
jum's Avatar
jum jum is offline
Latest svn User
 
Join Date: April 6th, 2002
Location: Germany
Posts: 174
jum is flying high
Default

Quote:
Originally posted by zab
@jum:

If this happens again please try to get us a stack trace. Thanks a lot!
So how does one get one of these under Windows if one starts using LimeWire.exe? I know how to generate them on Unix, but on Windows I have never done it.
  #9 (permalink)  
Old July 17th, 2005
Crusader
Guest
 
Posts: n/a
Exclamation

Just happened to me. No firewall, but it suddenly started incorrectly showing a firewall in the status bar and four red bars. It refuses to reconnect, saying I have no functioning network connection, which is false. And in the stderr console I found something extremely interesting.

Code:
WARNING: The host www.ebay.com:80 (or proxy null:-1) did not accept the connecti
on within timeout of 20000 milliseconds
17-Jul-2005 1:31:58 PM com.limegroup.gnutella.connection.ConnectionChecker conne
ctToHost
WARNING: Exception while handling server
org.apache.commons.httpclient.HttpConnection$ConnectionTimeoutException
        at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java
:754)
        at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$Http
ConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1059)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
a:674)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
a:529)
        at com.limegroup.gnutella.connection.ConnectionChecker.connectToHost(Con
nectionChecker.java:202)
        at com.limegroup.gnutella.connection.ConnectionChecker.run(ConnectionChe
cker.java:149)
        at java.lang.Thread.run(Unknown Source)
        at com.limegroup.gnutella.util.ManagedThread.managedRun(ManagedThread.ja
va:60)
        at com.limegroup.gnutella.util.ManagedThread.run(ManagedThread.java:49)
Anyone care to explain why Limewire is trying to connect to www.ebay.com? I can't think of a legitimate reason for it to contact that particular host. I do hope you aren't planning on introducing spyware in version 5 or some such. Big commercial sites are the last place I expect it to be connecting.

And an example bug report, just for completeness, after hitting file -> connect for the umpteenth time with no sign of it establishing any connections:

Code:
LimeWire version 4.9.4
Java version 1.5.0_04 from Sun Microsystems Inc.
Windows XP v. 5.1 on x86
Free/total memory: 33600960/143441920

java.lang.Exception: Example Bug
	at com.limegroup.gnutella.gui.options.panes.BugsPaneItem$1.actionPerformed(BugsPaneItem.java:91)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.Dialog$1.run(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at java.awt.Component.show(Unknown Source)
	at java.awt.Component.setVisible(Unknown Source)
	at com.limegroup.gnutella.gui.options.OptionsConstructor.setOptionsVisible(OptionsConstructor.java:292)
	at com.limegroup.gnutella.gui.options.OptionsMediator.setOptionsVisible(OptionsMediator.java:98)
	at com.limegroup.gnutella.gui.options.OptionsMediator.setOptionsVisible(OptionsMediator.java:80)
	at com.limegroup.gnutella.gui.GUIMediator.setOptionsVisible(GUIMediator.java:570)
	at com.limegroup.gnutella.gui.menu.ToolsMenu$1.actionPerformed(ToolsMenu.java:27)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)


Detail: Example

-- listing session information --
Current thread: AWT-EventQueue-0
Active Threads: 27
Uptime: 1:40:30
Is Connected: false
Number of Ultrapeer -> Ultrapeer Connections: 0
Number of Ultrapeer -> Leaf Connections: 0
Number of Leaf -> Ultrapeer Connections: 0
Number of Old Connections: 0
Acting as Ultrapeer: false
Acting as Shielded Leaf: false
Number of Active Uploads: 0
Number of Queued Uploads: 0
Number of Active Managed Downloads: 0
Number of Active HTTP Downloaders: 0
Number of Waiting Downloads: 703
Received incoming this session: false
Number of Shared Files: 487
Guess Capable: false
Received Solicited UDP: false
SIMPP version: 7
Port Stable: true
FWT Capable: false
Last Reported Port: 6346
External Port: 6346
IP Pongs Received: 0

-- listing threads --
HttpClient-ReferenceQueueThread: 1
ConnectionFetcher: 9
SavedFileLoader: 1
NIODispatcher: 1
QueryUnicaster: 1
Java2D Disposer: 1
TimerQueue: 1
MulticastService: 1
Acceptor: 1
HttpClient-IdleConnectionThread: 1
AWT-Shutdown: 1
AWT-Windows: 1
AWT-EventQueue-0: 1
Thread-6: 1
Timer-0: 1
QRPPropagator: 1
DestroyJavaVM: 1
HTTPAcceptor: 1
Image Fetcher 0: 1


-- listing properties --
WINDOW_Y=54
BANNED_WORDS=preteen;incest;illegal;pedo
WINDOW_X=106
TTL=7
LIBRARY_VIEW_ENABLED=false
RUN_ON_STARTUP=false
FILTER_HASH_QUERIES=true
INSTALLED=true
UI_LIBRARY_TREE_DIVIDER_LOCATION=187
HARD_MAX_UPLOADS=30
USE_LOCALE_PREF=false
EXTENSIONS_TO_SEARCH_FOR=html;htm;xml;txt;pdf;ps;rtf;doc;tex;w...
DISABLE_SUPERNODE_MODE=true
AVERAGE_UPTIME=30019
TOTAL_UPTIME=20953544
MAX_UPLOAD_BYTES_PER_SEC=26
UPDATE_STYLE=0
COUNTRY=
FREELOADER_FILES=100
LAST_SHUTDOWN_TIME=1121619478500
APP_WIDTH=857
SESSIONS=698
SHOW_TOTD=false
SHOPPING_VIEW_ENABLED=false
UPLOAD_SPEED=96
CLEAR_DOWNLOAD=true
GUESS_ENABLED=false
SHARE_DOWNLOADED_FILES_IN_NON_SHARED_DIRECTORIES=false
ALLOW_PARTIAL_SHARING=false
FRACTIONAL_UPTIME=0.6962329
CONNECTION_SPEED=1000
LAST_EXPIRE_TIME=1120444152562
MAX_DOWNLOAD_BYTES_PER_SEC=173
RUN_ONCE=true
APP_HEIGHT=624
DISABLE_UPNP=true
UI_MONITOR_UPLOAD_TAB_DIVIDER_LOCATION=59
FREELOADER_ALLOWED=10
DAAP_ENABLED=false
MAX_SIM_DOWNLOAD=30
LAST_GWEBCACHE_FETCH_TIME=1121078766390
EVER_ACCEPTED_INCOMING=true
UNSET_FIREWALLED_FROM_CONNECTBACK=true
CLIENT_ID=950A25577500A80DFF5A06FDA8068200
MONITOR_VIEW_ENABLED=false
PLAYER_ENABLED=false
INCOMPLETE_PURGE_TIME=90
CHAT_ENABLED=false
  #10 (permalink)  
Old July 17th, 2005
Software Developer
 
Join Date: November 4th, 2002
Location: New York
Posts: 1,366
sberlin is flying high
Default

When LimeWire can't make a Gnutella connection and hasn't been able to connect to anyone at all, it tries to do a HEAD request to a few very well-known sites, to detect if an internet connection is active at all. The list is here: http://limewire.org/fisheye/viewrep/...ava?r=1.14#l47 .
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
dropping to 0 Ab0nis Download/Upload Problems 1 August 21st, 2006 07:03 PM
Keeps dropping out, help would be appreciated:) rawidi Connection Problems 3 February 16th, 2004 06:51 PM
Mac - connection keeps dropping off Unregistered Connection Problems 0 February 26th, 2002 01:58 PM
Connections Keep Dropping Unregistered Connection Problems 1 November 1st, 2001 09:50 AM
LimeWire keeps dropping connections westerner Connection Problems 1 August 25th, 2001 04:46 AM


All times are GMT -7. The time now is 08:38 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.