beakerbrowser / beaker

An experimental peer-to-peer Web browser
https://beakerbrowser.com/
MIT License
6.75k stars 546 forks source link

Peers hosting indicator and menu aren't working #1811

Closed CerebralDatabank closed 4 years ago

CerebralDatabank commented 4 years ago

Describe the Bug The peers hosting menu in the location bar does the same thing for every hyper:// URL:

To Reproduce

  1. Go to the User Directory from the bookmarks bar
  2. Choose a user and take note of how many peers are hosting their page (e.g. 36)
  3. Visit the page
  4. Notice that the peer connection indicator displays a number (usually 3 or around 3), and about a second later displays 0
  5. Click the indicator
  6. Notice that the menu opens but stays loading

Expected Behavior The peers hosting indicator and the menu show the correct number of peers or show an error if one occurred.

Screenshots beaker-peers-not-working

Environment

Additional Context Beaker reports my network as not hole-punchable.

da2x commented 4 years ago

Same issue if you upgrade to 1.0.0-prerelease.7?

I’ve noticed the same issues on Linux and macOS too. However, for me Beaker works fine for maybe the first week or two, then this issue appears after some use. I don’t know the exact steps to reproduce it.

CerebralDatabank commented 4 years ago

Yes, the issue is present in version 1.0.0-prerelease.7.

pfrazee commented 4 years ago

Yeah very sorry about this. We have a fix in the upcoming release.

CerebralDatabank commented 4 years ago

About the version string in my original post being 1.0.0-prerelease.3, I may have just un-commented-out whatever was in the template assuming it was the latest version; sorry about that 😛 I only noticed it on 1.0.0-prerelease.7.

despens commented 4 years ago

Same happens on Linux version with hole-punchable network

pfrazee commented 4 years ago

Going to close for the upcoming 1.0 release, where it's fixed