-
Notifications
You must be signed in to change notification settings - Fork 19
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
[planetary] Not seeing local peers or system pubs in connected peers list #1248
Comments
This issue does appear to prevent syncing. |
I recently reinstalled Planetary and had it syncing again and showing connections in the side panel. Then I used some room server invites and now I'm no longer seeing anything in the side panel and also no longer seeing new posts in Planetary. The timing could be a coincidence but I think it's worth looking into. |
Thanks for the report @quickdudley. We aren't spending much time on Planetary these days but this seems worth looking into. I added it to our inbox and we'll figure out the priority for it at our next planning meeting. |
I will try to provide some context that can help someone look into this. The underlying Secure Scuttlebutt implementation powering Planetary is scuttlego these days. This is where discovering local peers and establishing connections takes place. Scuttlego uses go-ssb under the hood in quite a lot of places. One of those places is the code for local peer discovery which is largely reused from go-ssb. The source for addresses of local peers is The addresses of local peers (if they are even being generated) should be then picked up by The command handler triggers a function called Those are the places that are good candidates to start investigating this problem. Additionally if the issue exists only between two Planetary instances then the culprit could also be the code which sends out local advertisements. To look at that code we need to come back to the same package in which the discoverer was and look at Lastly, I believe that the list of connected peers is retrieved by the app in order to display it by calling a query called |
I've been using the scuttlego build for almost a week now and I generally only see rooms or a single pub (the gardening pub) in the connected peers list. Before scuttlego I would usually see some of the system pubs, some room peers, and my other accounts on the local LAN in the connected peers list. I'm not sure if I'm not actually syncing with these peers or if there is something else preventing them from being shown in the sidebar.
Let's investigate the problem and then discuss what solutions might be or if they are necessary.
The text was updated successfully, but these errors were encountered: