GithubHelp home page GithubHelp logo

Connected to 0 peers about friends HOT 12 OPEN

hsribei avatar hsribei commented on July 23, 2024
Connected to 0 peers

from friends.

Comments (12)

ungoldman avatar ungoldman commented on July 23, 2024

It's quite possible that no one else is on the network :(

from friends.

hsribei avatar hsribei commented on July 23, 2024

So it is a single network that everyone connects to? How does peer discovery work? Could it be some NAT traversal issue?

from friends.

ungoldman avatar ungoldman commented on July 23, 2024

The logic is here: https://github.com/moose-team/friends-swarm/blob/master/swarm.js. Sorry the repo is not very well documented. Short answer is WebRTC swarm (https://github.com/mafintosh/webrtc-swarm) plus a signal hub (https://github.com/mafintosh/signalhub).

from friends.

hsribei avatar hsribei commented on July 23, 2024

Great, thanks for the refs. I guess there's no actual error, will just lurk longer :)

from friends.

wking avatar wking commented on July 23, 2024

On Mon, Mar 07, 2016 at 09:52:10AM -0800, Helder Ribeiro wrote:

I guess there's no actual error, will just lurk longer :)

I'd had this problem earlier as well. Since @obvio171 is presumably
lurking, I thought I'd fire up friends locally and see if I could
connect to him, but I'm also seeing β€œ0 peers”. Looking at the network
logs, it looks like the only requests my instance is making is to
GitHub (for my user and avatar). Should I be seeing a request to
https://github.com/mafintosh/signalhub in there?

from friends.

hsribei avatar hsribei commented on July 23, 2024

Ok, I thought I wasn't seeing anyone because no one else was using it, but I just tested it live with @virgilio and we both had 0 peers and couldn't see each other's messages. How can we go about debugging this?

from friends.

somebody1234 avatar somebody1234 commented on July 23, 2024

@wking Mafintosh's signalhub is still up.

from friends.

rschulman avatar rschulman commented on July 23, 2024

I'm seeing the same issue, though I don't know if anyone else is trying to use friends right now. Happy to help out in debugging if I can in any way.

from friends.

hemanth avatar hemanth commented on July 23, 2024

No one is active these days?

screen shot 2016-04-25 at 11 25 13 am

from friends.

bnolan avatar bnolan commented on July 23, 2024

😿

from friends.

billiegoose avatar billiegoose commented on July 23, 2024

So it is pretty lonely on the #friends channel, which is a shame since it was so hard to compile and install. 😝 I spent the day dockerizing peerbot with the intention of leaving one or two around on a free webservice. Unfortunately, the peer-to-peer thing has some feisty networking curiousness and I could only get it to work if I used docker run --net=host which probably precludes it from working in shared hosting environment. I'm currently running it on one of my existing DigitalOcean droplets.

image

I'm hoping that as long as one peer (the peerbot) is always online, the message history will be preserved. Is that assumption correct?

from friends.

ungoldman avatar ungoldman commented on July 23, 2024

@wmhilton yes, message history is preserved and gossiped exclusively between peers. no peers, no history. so peerbot can act as a sort of chanserv / channel history server peer.

from friends.

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.