Page 1 of 1

Azureus problem!

Posted: October 11, 2005, 10:30 am
by Tegellan
Lately a lot of my torrents seem to end at 99% or something close to that, then they just stop downloading altogether and just sit there, tracker is ok, no NAT problems and I still upload, seeders around too, i just can't download.

Any ideas on what i could do?

Posted: October 11, 2005, 11:26 am
by Ransure
I read something about that on the Wikipedia faq for Azerues... something to do with a bad hash file.

Cant remember the solution, my problem ended up being with port forwarding.

Posted: October 11, 2005, 12:54 pm
by Winnow
I had that problem. It really sucked until I figured out what was causing it. Do you have a DLink router?
The most common cause of 99.9% problems is bad NAT routers. This is characterized by repeated hash fails of the same piece over and over again in Azureus, due to the NAT router consistently mangling a specific piece-data packet.

Some routers employ a routing trick called Game Mode, where they rewrite the internal and external IP address bytes found within the payload of incoming and outgoing packets. This allows older games, which hard-code IP addresses within their messaging format, to function from behind a NAT setup. However, when such an address byte sequence is mistakenly found and mangled for incoming BT piece data messages, this changes the actual received piece data contents, causing them to fail later hash checking. Any incoming packet that just happens to match the address byte sequence is susceptible to mangling, which is estimated to randomly happen about once every 4GB of data.

There are three ways of fixing the problem:

1) Do not run your router in DMZ mode (where packets not explicitly forwarded are routed by default to a single machine), as many routers seem to employ game mode-like mangling by default for DMZ-bound traffic. Instead, you should enable explicit port-forwarding on your router for Azureus incoming ports.

2) If your router has such a Game mode option (many do not, even though they mangle anyway), turn it off.

3) If you have done the above two, then try connecting directly to the internet (i.e. bypass your NAT router entirely) to finish off the last piece.

Otherwise:

Check what the remaining 0.01% is. Open up the torrent details and go to the Files tab and see what files are incomplete.

If the file is Thumbs.db, desktop.ini, or .DS_Store, right click (or ctrl click) the file to bring up the context menu and choose Set Priority -> Do not download. Operating systems sometimes will generate these files automatically when you browse the directory. Because they are hidden system files they are protected and can't be replaced with the 'correct' versions Azureus downloads, so it will discard it and download again.

There was a counting error in versions prior to v2.1.0.3, this may have been causing torrents to hang at 99.x% complete. A fix was included in CVS version 2.1.0.3 build 3 (06/23/04). See LatestDailySnapshot for information on upgrading to a CVS version.

Certain D-Link routers have a known bug (specifically models DI-624, DI-624+ and DI-604) that can cause a torrent download to get stuck at 99.x% if your computer is set as DMZ. This is not limited to the Azureus client, and may not be limited to the bittorrent network. It will keep downloading the same piece over and over and the hash will fail each time it completes, which will accumulate to a lot of wasted bandwidth over time. To fix this, either disable DMZ for the remainder of the download, or disable DMZ and set up port forwarding under the "Virtual Server" section in the Advanced tab of your router's web interface for the Azureus ports.

Posted: October 11, 2005, 5:47 pm
by Tegellan
I have a linksys router, dmz is disabled, port 6681 (or whatever it needs to be) is opened, zero NAT problems, connecting the computer directly to the internet doesn't help either.

Also when i check the files, there is nothing named thumbs or anything like you suggested Winnow, it only lists one file and that is the file i am trying to download, as in the whole video file.

I have 4 torrents from 98.x% to 99.x% hanging right now and it is bugging the everliving shit out of me, i need my nip/tuck episode from last week!

Posted: October 11, 2005, 6:12 pm
by Ransure
Nip/Tuck was pretty good last week too.... :p

Posted: October 11, 2005, 6:39 pm
by Winnow
well shit : ( going DMZ cured my problem.

Is it possible to move an unfinished torrent to another application? It's unique to Azureus I think so maybe that would work.

Posted: October 12, 2005, 5:35 am
by Tegellan
Yeam, i am stumped here, it is not all torrents that i am having problems with either only a few of them, those being all the nip/tuck episodes i have tried to download!