aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: kademlia doesn't work... (amule 2.2 + NAT)  (Read 10634 times)

darkbasic

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 47
kademlia doesn't work... (amule 2.2 + NAT)
« on: November 04, 2007, 05:53:06 PM »





Hi! I'm using debian sid 64 bit,  gcc 4.2, the latest amule 2.2 snapshot and wxgtk 2.8.6.
I'm behind NAT, so I have low id.
I tried to download nodes.dat from http://emule-inside.net/nodes.dat and connecting to a server and bootstrap from known clients.
« Last Edit: November 04, 2007, 05:55:54 PM by darkbasic »
Logged
Sorry for my bad English...
Debian Sid amd64 | Fedora 8
AMD Athlon64 3800+ X2@2600Mhz vcore 1.392| My PC

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: kademlia doesn't work... (amule 2.2 + NAT)
« Reply #1 on: November 05, 2007, 04:41:09 AM »

And what is exactly what it doesn't work?
Logged

myth

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 38
  • Offline Offline
  • Posts: 570
Re: kademlia doesn't work... (amule 2.2 + NAT)
« Reply #2 on: November 05, 2007, 07:03:16 AM »

You mean the Kad-contacts, which aren't stable? Or what?

Doesn't aMule upload (and download)?
Logged

darkbasic

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 47
Re: kademlia doesn't work... (amule 2.2 + NAT)
« Reply #3 on: November 05, 2007, 07:52:27 PM »

And what is exactly what it doesn't work?
Kademlia doesn't find any nodes (in fact if I try to search something with kad I have no results).

Doesn't aMule upload (and download)?
No,  it doesn't upload if I use kad only. It doesn't find any sources.

I tried to install the stable version (2.1.3), to connect to kademlia, to backup nodes.dat and to copy it to the aMule 2.2 cvs profile directory (~/.aMule).
Now aMule 2.2 cvs works properly!!
Now I have another one problem: when I finish to download something, amule stops to upload it (I think the publishing of the shared files doesn't work).
Screenshot
« Last Edit: November 05, 2007, 08:01:32 PM by darkbasic »
Logged
Sorry for my bad English...
Debian Sid amd64 | Fedora 8
AMD Athlon64 3800+ X2@2600Mhz vcore 1.392| My PC

darkbasic

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 47
Re: kademlia doesn't work... (amule 2.2 + NAT)
« Reply #4 on: November 07, 2007, 09:15:23 PM »

when I finish to download something, amule stops to upload it (I think the publishing of the shared files doesn't work).
Screenshot

Up
Logged
Sorry for my bad English...
Debian Sid amd64 | Fedora 8
AMD Athlon64 3800+ X2@2600Mhz vcore 1.392| My PC

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: kademlia doesn't work... (amule 2.2 + NAT)
« Reply #5 on: November 08, 2007, 12:43:45 AM »

This happens because you are not connected to a server and you have no contact to other clients via kad. Try downloading something to get in contact with some sources and uploads will start (you can stop the other download once it started).
Logged

darkbasic

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 47
Re: kademlia doesn't work... (amule 2.2 + NAT)
« Reply #6 on: November 08, 2007, 11:14:51 AM »

This happens because you are not connected to a server and you have no contact to other clients via kad.
I have 900 kad nodes and I'm downloading tons of files :(
Logged
Sorry for my bad English...
Debian Sid amd64 | Fedora 8
AMD Athlon64 3800+ X2@2600Mhz vcore 1.392| My PC

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: kademlia doesn't work... (amule 2.2 + NAT)
« Reply #7 on: November 08, 2007, 05:40:56 PM »

OK, are there any clients in the client list waiting to download ubuntu from you?
Logged

darkbasic

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 47
Re: kademlia doesn't work... (amule 2.2 + NAT)
« Reply #8 on: November 08, 2007, 06:33:39 PM »

No
Logged
Sorry for my bad English...
Debian Sid amd64 | Fedora 8
AMD Athlon64 3800+ X2@2600Mhz vcore 1.392| My PC

darkbasic

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 47
Re: kademlia doesn't work... (amule 2.2 + NAT)
« Reply #9 on: November 11, 2007, 10:37:10 AM »

up
Logged
Sorry for my bad English...
Debian Sid amd64 | Fedora 8
AMD Athlon64 3800+ X2@2600Mhz vcore 1.392| My PC

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: kademlia doesn't work... (amule 2.2 + NAT)
« Reply #10 on: November 11, 2007, 12:39:35 PM »

If noone asks you for a file, to whom are you planning to upload?
Logged
Homefucking is killing prostitution

Gnucco

  • Approved Newbie
  • *
  • Karma: 8
  • Offline Offline
  • Posts: 25
Re: kademlia doesn't work... (amule 2.2 + NAT)
« Reply #11 on: November 11, 2007, 03:44:50 PM »

Now I have another one problem: when I finish to download something, amule stops to upload it (I think the publishing of the shared files doesn't work).

This behaviour is due to the tag/string serialization bug I reported some time ago.
The workaround I proposed seems to fix this.

Logged

darkbasic

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 47
Re: kademlia doesn't work... (amule 2.2 + NAT)
« Reply #12 on: November 11, 2007, 07:05:07 PM »

If noone asks you for a file, to whom are you planning to upload?
If no one asks me for a file, it's because of a bug:  when I was downloading that file, tens of users asked me for it.

This behaviour is due to the tag/string serialization bug I reported some time ago.
The workaround I proposed seems to fix this.
Thank you, next time I'll compile a snapshot, I'll apply it :)
http://forum.amule.org/index.php?topic=13609.0
Logged
Sorry for my bad English...
Debian Sid amd64 | Fedora 8
AMD Athlon64 3800+ X2@2600Mhz vcore 1.392| My PC

RRT4

  • Jr. Member
  • **
  • Karma: 3
  • Offline Offline
  • Posts: 67
Re: kademlia doesn't work... (amule 2.2 + NAT)
« Reply #13 on: November 11, 2007, 08:22:31 PM »

Now I have another one problem: when I finish to download something, amule stops to upload it (I think the publishing of the shared files doesn't work).

This behaviour is due to the tag/string serialization bug I reported some time ago.
The workaround I proposed seems to fix this.



i had a strange problem with publishing on kad too, in my environment (archlinux current, kad enabled, servers connection disabled, more than 500 files shared) amuled did not upload anything (not a single file request in hours of uptime) if i started it through the init script from the wiki page or directly with the command
su my_amuled_user -c 'amuled -f'

instead it worked well (publishing and uploading within few minutes) if i logged into the system as my_amuled_user through ssh and started it with 'amuled -f'

now i have applied your patch to the daily cvs and it started working well always (also if i start amuled at boot time through the init script)
so tnx, i hope your patch will be committed soon

edit: i want to add that in every test i was not downloading files, so no user could reach my queue as a consequence of the fact that i was entered in his queue
« Last Edit: November 11, 2007, 08:41:52 PM by RRT4 »
Logged

darkbasic

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 47
Re: kademlia doesn't work... (amule 2.2 + NAT)
« Reply #14 on: November 11, 2007, 08:56:30 PM »

instead it worked well (publishing and uploading within few minutes) if i logged into the system as my_amuled_user through ssh and started it with 'amuled -f'
It makes no sense :)
It's a _very_ strange behaviour...

Edit: what about su - my_amuled_user -c 'amuled -f'?

i hope your patch will be committed soon
Me too.
Logged
Sorry for my bad English...
Debian Sid amd64 | Fedora 8
AMD Athlon64 3800+ X2@2600Mhz vcore 1.392| My PC
Pages: [1] 2