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

K closest nodes empty #68

Open
retrohacker opened this issue Dec 22, 2015 · 8 comments
Open

K closest nodes empty #68

retrohacker opened this issue Dec 22, 2015 · 8 comments

Comments

@retrohacker
Copy link

When running gittorrent, I don't see any nodes. Is this normal?

(its possible that this coffee shop's interent connection is actively blocking the torrent protocol)

gittorrent

@cjb
Copy link
Owner

cjb commented Dec 22, 2015

Ah, this is actually a syntax problem: you can do:

git clone gittorrent://github.com/cjb/gittorrent

or

git clone gittorrent://81e24205d4bac8496d3e13282c90ead5045f09ea/gittorrent

But you can't use the shortest syntax yet, 'cause the blockchain stuff isn't running. Seems like we have two bugs, one to reject the short syntax, and one to make the blockchain scanning work (probably by integrating https://github.com/blockstack/blockstore).

@retrohacker
Copy link
Author

Oh nice!!! I'm connected to the torrent network now!!! This is sweet!!!

Though I'm getting a lot of timeouts for queries, is that normal?

gittorrent1

(also, thanks for responding so quickly!)

Do you have open issues for either of those? I'd be interested in tackling at least the first one.

@cjb
Copy link
Owner

cjb commented Dec 22, 2015

Nope don't have open issues!

That's odd, it looks like my machine is emitting internal (10.*) IPs and they're (obviously) failing, that's a third bug :)

@retrohacker
Copy link
Author

If you give me some code smells to follow, I can try and debug some of this stuff 😄

I'm trying to glue this work to https://github.com/creationix/js-git/ for github-pages style hosting over bitorrent in the browser.

@retrohacker
Copy link
Author

I'm going to try running the daemon locally to see what IP addresses it pulls.

@cjb
Copy link
Owner

cjb commented Dec 22, 2015

Ahh that is SO COOL

@cjb
Copy link
Owner

cjb commented Dec 28, 2015

I haven't had any more ideas on this, just wanted to mention that the 10.* is a red herring -- you do find one peer, the 192.34.86.36:30000, and that should be good enough. So the real question is why the bittorrent-protocol handshaking doesn't end up doing a download. (Any chance your network blocks BT somehow?)

@retrohacker
Copy link
Author

Ah, you are right.

I'm pretty sure that my network is doing something weird somewhere. I can download torrents via gtk-transmission but I can't get the webtorrent cli tool to work (assuming over TCP/UDP).

Even stranger is that instant.io does work (over webrtc).

I'm triaging the issue with webtorrent now 😄 Will document my findings.

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

No branches or pull requests

2 participants