Bug 242300

Summary: no download connect exception often. gcj setting conflict?
Product: [Fedora] Fedora Reporter: James Twyford <jtwyford+rhbz>
Component: azureusAssignee: Anthony Green <green>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 7CC: sergio.pasra
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-11 21:49:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
stderr output none

Description James Twyford 2007-06-03 04:12:21 UTC
Description of problem:
Fedora-provided Azureus 2.5.0.4 running on gij (GNU libgcj) version 4.1.2
20070502 (Red Hat 4.1.2-12) is consistently throwing "Peer connection closed:
connection exception: Resource temporarily unavailable;" and refusing to pass
data between peers. It may be a firewall problem, but as far as Azureus is
concerned it isn't (showing NAT OK with a green icon, port opened in firestarter
and forwarded to the local computer from the router).

I'm leaning towards something botched in gcj (I just upgraded from fc5 using sun
java yesterday) if it isn't straight ID-ten-T foolishness, but I've no idea
where to look. It appears that gcj (or something else? I'm running SELinux in
enforcing mode) is letting an extremely small amount of info through (on the
order of only one active connection at a time or something). No actual data
transfer though: Azureus is only showing bitfields.

Version-Release number of selected component (if applicable):
azureus-2.5.0.4-2.fc7
java-1.5.0-gcj-1.5.0.0-14.fc7

How reproducible:
Always

Steps to Reproduce:
1. Start Azureus
2. Watch torrents not move any data
  
Actual results:
Azu is fully connecting to a few peers (showing "Fully Established" in the Peers
tab, but sparse bitfield info--5 peers in a swarm of 300!), no data transfer
taking place. It is trying to get a single piece so far, but zero bits have been
transferred.

Expected results:
Azureus happily consumes all available bandwidth

Additional info:
Gut feeling is that gcj or something further down the line (selinux? I'm running
in enforcing mode) isn't letting concurrent net connections get through in java.
Working just fine in the original Bittorrent client by Brahm, though.

I totally reset my azureus config (`rm -rf ~/.azureus`) and started a single
torrent then enabled logging to check the console messages before posting this.

Attached what I figure is relevant info the Azu console's showing me.

Comment 1 James Twyford 2007-06-03 04:12:21 UTC
Created attachment 156016 [details]
stderr output

Comment 2 Sergio Pascual 2007-07-20 09:12:09 UTC
The same happens for me. On i386 I have managed to run the Azureus from rpm with
the jre from sun and it starts to download inmediately

Comment 3 Anthony Green 2007-11-11 21:49:26 UTC
Hey guys - I'm WONTFIX'ing this.  I agree that this is a gcj bug. Please run
azureus with icedtea.  Thanks (and sorry!)