beakerbrowser / beaker

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

Can't access hyperdrives with seeds #1625

Closed aadilayub closed 4 years ago

aadilayub commented 4 years ago

Describe the bug I can't access any of the hyperdrives in the userlist, even the ones with many seeds.

Here is me attempting to navigate to andrewosh's hyperdrive (it has 18 seeds according to the userlist)

image

To Reproduce Steps to reproduce the behavior:

  1. Install beaker on Linux or Windows
  2. Go to the userlist
  3. Try to visit any of the public profiles with seeds

Expected behavior I navigate to the userlist. All public profiles with seeds are accessible and don't give the "Hyperdrive not found" error.

Desktop:

Additional context I installed beaker from source (up to date with the latest commit on master)

pfrazee commented 4 years ago

@aadilayub When this happens, have you tried refreshing a couple times over a period of ~30 seconds? I've been running into a situation where this occurs because it seems like the hyper:// loader is giving up a little too quickly

pfrazee commented 4 years ago

cc @andrewosh

todrobbins commented 4 years ago

@aadilayub it looks like you might not be hole-punchable since the amber dot appears on your Network Status icon.

Could you send a screen grab of your network status?

aadilayub commented 4 years ago

image

@todrobbins yes it's not hole-punchable! It's like that on my Linux machine as well as my Windows laptop, and stays non-hole-punchable even when I switch to a different wifi connection.

todrobbins commented 4 years ago

Interesting! Not hole-punchable, but you have an IP address. When I'm on my work VPN I see something similar (non-hole-punchable, but no IP address).

aadilayub commented 4 years ago

@todrobbins yeah, I posted about this on ssb as well and a user recommended I check my router's firewall configuration. I don't think it's my router though since I get this while connected to my phone's wifi hotspot as well...

aadilayub commented 4 years ago

image

So I hackintoshed my laptop today, and went to try out Beaker. Surprisingly, this bug is still there. I'm pretty perplexed at this point. This rules out, as a source of the bug:

At this point this leaves:

pfrazee commented 4 years ago

Yeah at this point I figure it's either your ISP or issues that arise with both your router and hotspot. @mafintosh or @andrewosh, this may be a useful case for yall to dig into, since this looks like a novel connectivity situation

mafintosh commented 4 years ago

Are you using any kind of vpn?

If you are up for it, mb you want to join the discord, chat.hypercore-protocol.org and we can do some more realtime debugging

aadilayub commented 4 years ago

Are you using any kind of vpn?

Not using a vpn of any kind.

If you are up for it, mb you want to join the discord, chat.hypercore-protocol.org and we can do some more realtime debugging

That would be great! I just joined. @mafintosh

aadilayub commented 4 years ago

Tested this on Windows and macOS today, and the amber dot is gone. I'm able to load other people's hyperdrives!

image

image

I can't test this on Linux atm, since I wiped my Linux partition, but I'm assuming this is fixed across OSes.