Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having problem seeding a completed file. #40

Open
waikontse opened this issue Oct 26, 2017 · 11 comments
Open

Having problem seeding a completed file. #40

waikontse opened this issue Oct 26, 2017 · 11 comments
Labels

Comments

@waikontse
Copy link

Hi,

I'm trying to seed a file which has been downloaded successfully. The tracker registers that the client has the whole file, but when I try to download the file using another client, the client says the tracker has no seeders.

But when I switch the clients, the BT client does download from the seeder.

Any ideas?

Thanks

@atomashpolskiy
Copy link
Owner

@waikontse , was there any problem with the library, or just some misunderstanding?

@waikontse
Copy link
Author

waikontse commented Oct 27, 2017

I'm not really sure, but I think there is a problem with the library. I haven't done an extensive testing to pinpoint where things go wrong or just a misunderstanding of the library.

And as alternative torrent client, I'm using transmission 2.9.2.

But here are 3 scenarios that I've tested and the result of those.

Scenario 1

Seeder: transmission client
Leecher: bt client
Result: bt client downloads the file

Scenario 2

Seeder: bt client
Leecher: transmission client
Result: transmissions receives 0 peers from tracker and no downloading happens.

Scenario 3

Seeder: bt client
Leecher: bt client
Result: bt client downloads the file.

Any ideas where things might have gone wrong are helpful. And as bt client config, I just copy/paste the sample code on your front page.

@atomashpolskiy
Copy link
Owner

Thank you for pointing out the different cases! I think I have an idea, will need to check.

@vikulin
Copy link

vikulin commented Dec 16, 2018

Any updates?

@waikontse
Copy link
Author

I haven't work on the problem anymore, I've switched to another torrent library which I have to write a JNI wrapper for it.

@phillui-37
Copy link
Contributor

@atomashpolskiy sorry is there any update?

@atomashpolskiy
Copy link
Owner

atomashpolskiy commented Jan 16, 2019 via email

@phillui-37
Copy link
Contributor

I have the same issue too.
I don't know it's network issue or not(like UPnP or NAT). When I download content from a magnet link, it can upload some data... Arrrrr, around few MB for 3GB data.
But when I stopped download client and try to upload file, it cannot find any peers at all

The download and upload code is basically following you example of file sharing (Leecher.java, Seeder.java)

@atomashpolskiy
Copy link
Owner

atomashpolskiy commented Jan 16, 2019 via email

@phillui-37
Copy link
Contributor

No, you're right.
The magnet link from the tracker has over 200 clients fetching the resources according to tracker records. It's nonsense that uploading keep 0 uploaded bytes for 2 hours.

@atomashpolskiy
Copy link
Owner

atomashpolskiy commented Jan 16, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants