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

Echo demo #183

Closed
clanstyles opened this issue Mar 7, 2017 · 5 comments
Closed

Echo demo #183

clanstyles opened this issue Mar 7, 2017 · 5 comments

Comments

@clanstyles
Copy link

I'm trying to run the demo. I have two terminals open.

first

go run main.go -l 2372

second

go run main.go -d /ip4/127.0.0.1/tcp/2372/ipfs/xxx -l 2312

the output of the second is:

2017/03/07 00:19:31 opening stream
2017/03/07 00:19:31 dial to self attempted

and it exists.

What's w/ the dial to self attempt?

@whyrusleeping
Copy link
Contributor

@clanstyles interesting, same here. I'll investigate

@whyrusleeping
Copy link
Contributor

Ah, for some reason both peers are generating the same peer ID

@whyrusleeping
Copy link
Contributor

I see, odd that i never ran into this before... for the non-secio setup (the default) the global rand isnt seeded.

Let me push a fix real quick

@whyrusleeping
Copy link
Contributor

There, latest master should work now. Let me know if that fixes the issue for you :)

@daviddias
Copy link
Member

@clanstyles did it work for you? Let us know if it didn't. Closing this issue for now :)

@Stebalien Stebalien mentioned this issue May 11, 2021
27 tasks
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

3 participants