Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162313 - net-p2p/gift-gnutella - CACHE value in cacheupdate.sh needs to be updated
Summary: net-p2p/gift-gnutella - CACHE value in cacheupdate.sh needs to be updated
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-16 02:37 UTC by Alex Waite
Modified: 2007-08-17 22:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
cacheupdate.sh (cacheupdate.sh,912 bytes, text/plain)
2007-07-07 12:20 UTC, Santiago M. Mola (RETIRED)
Details
cacheupdate.sh (cacheupdate.sh,1.17 KB, text/plain)
2007-07-07 13:37 UTC, Santiago M. Mola (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Waite 2007-01-16 02:37:52 UTC
Currently Gnutella can't connect because its cache isn't up to date.  Running "giftd -v -p /usr/lib/giFT/libGnutella.la" results in
[20:12:32] Gnutella: try_some_nodes() returned 0. node list len=0
[20:12:32] Gnutella: No hosts to try. Looking in gwebcaches...
[20:12:32] *** GIFT-WARNING: Gnutella: skipping webcache http://mcache.firstlight.dk/mcache.php, in bad gwebcaches
[20:12:32] Gnutella: gt_web_cache.c:583(check_dns_error): lookup failed on "loot.alumnigroup.org": Unknown host
[20:12:32] Gnutella: gt_web_cache.c:588(check_dns_error): webcache "loot.alumnigroup.org" not in DNS. banning
[20:12:32] Gnutella: banning webcache http://loot.alumnigroup.org/
[20:12:32] Gnutella: file_cache.c:140(file_cache_sync): syncing /home/alex/.giFT/Gnutella/bad_gwebcaches.tmp to disk

The fix is simple.  Edit the /usr/portage/net-p2p/gift-gnutella/files/cacheupdate.sh script and change CACHE=http://loot.alumnigroup.org/ to CACHE=http://www.gnucleus.com/gwebcache/

It fixed the issue for me.  I have a forum post here http://forums.gentoo.org/viewtopic-p-3845349.html#3845349
and the info for this I got here
http://www.gnucleus.com/gwebcache/

---Alex

Reproducible: Always
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2007-01-16 13:42:26 UTC
Done, thanks.
Comment 2 Darian Rackham 2007-07-06 08:35:32 UTC
The gwebcache that's hardcoded into chaceupdate.sh is broken.

There is a list of gwebcaches at http://gcachescan.jonatkins.com/
This site scans known gwebcaches around the net and updates the list of working ones regularly.  This site is *NOT* a gwebcache itself... just a listing.

I set CACHE=http://gwc.glucolene.com:8080/ in cacheupdate.sh because that was the one on the top of the list when I checked.
Comment 3 Alex Waite 2007-07-06 13:06:47 UTC
It's unfortunate that this keeps changing; the gnucleus.com one was supposed to a semi-official mirror and I thought it would be around for awhile.  Anyone know of who to get into contact with to see if there is a stable mirror?  Their team should probably fix this.

---Alex
Comment 4 Santiago M. Mola (RETIRED) gentoo-dev 2007-07-07 12:20:09 UTC
Created attachment 124141 [details]
cacheupdate.sh

This new version of cacheupdate.sh tries to fetch from a list of URIs instead of only one.
Comment 5 Santiago M. Mola (RETIRED) gentoo-dev 2007-07-07 13:37:32 UTC
Created attachment 124147 [details]
cacheupdate.sh

A bit more of magic, fetches list from http://gcachescan.jonatkins.com/, if it's successfull then it tries with the first 10 mirrors, if not it tries with the hardcoded list.
Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2007-07-23 13:49:33 UTC
Going to add it then, Santiago?
Comment 7 Santiago M. Mola (RETIRED) gentoo-dev 2007-08-17 22:56:32 UTC
Ok, fixed in CVS.