Giter Site home page Giter Site logo

K closest nodes empty about gittorrent HOT 8 OPEN

cjb avatar cjb commented on July 22, 2024
K closest nodes empty

from gittorrent.

Comments (8)

cjb avatar cjb commented on July 22, 2024

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).

from gittorrent.

retrohacker avatar retrohacker commented on July 22, 2024

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.

from gittorrent.

cjb avatar cjb commented on July 22, 2024

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 :)

from gittorrent.

retrohacker avatar retrohacker commented on July 22, 2024

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.

from gittorrent.

retrohacker avatar retrohacker commented on July 22, 2024

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

from gittorrent.

cjb avatar cjb commented on July 22, 2024

Ahh that is SO COOL

from gittorrent.

cjb avatar cjb commented on July 22, 2024

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?)

from gittorrent.

retrohacker avatar retrohacker commented on July 22, 2024

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.

from gittorrent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.