-
Notifications
You must be signed in to change notification settings - Fork 1k
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
distributed-key-value-store example doesn't work as expected #5838
Comments
While I tried to reproduce the issue, I got this issue the first time, but on the second time I was able to run the example correctly.
|
@kamuik16 odd. i get this issue every time without fail. tried many times |
Same works fine for me as well |
Hey! Could you explain your environment, provide any logs (eg using |
@dariusc93 I seem to lose connection with another peer (I'm using 2 peers) multiple times as long as I have them running.
However, it re-establishes the connection soon after:
No, I didn't edit the code in the example. Environment:
|
@SAMAD101 is correct here. I tried the same setup on my macbook pro (M4 pro) and the examples seems to be working. It takes time to pickup the connection with the peer and then it works fine (It also disconnects in between). These are the logs from my terminals terminal 1
terminal 2
|
Summary
The code for the example
distributed-key-value-store
doesnt work. This has been reported in another thread here by @tqwewe but the issue is marked as resolved (it is not): #4194 (comment)He mentioned it works on linux but not on his mac. I am also on mac (M1 max) so this could be a mac related issue.
Expected behavior
Successfully put record a
Actual behavior
I run 2 nodes, both nodes get the listening logs on different ports but neither allows you to put a record in the dht.
Logs are (from both nodes - just a different port)
Possible Solution
No response
Version
master
branch latest commitWould you like to work on fixing this bug?
No
The text was updated successfully, but these errors were encountered: