I was at a coffeeshop with bad wifi, and started to get application-wide freezes. Are there blocking actions that depend on the network?
Issues included:
This nonsense is still happening. Easiest way to reproduce: go to a coffee shop.
Weirdly, if I instrument the beaker: protocol with console.log()s to say when requests/responses happen, this bug disappears. 😡
I think I ran into this today, downloaded latest build from beaker website, opened it, was on crap wifi, and whole app beachballed for 5 minutes till I force quit
Bleh yeah.
By the way, a good tool for testing bad networks (if you're on Mac) is the Network Link Conditioner (it's part of the Hardware IO tools).
It lets you set imitate different network environments and packet drop rate etc.
I just downloaded beaker and am running into this issue in my home wifi. The application is unusable; after a few refreshes I can get a dat site to load, but as soon as I interact with it it stops working, peercount drops to 0, times out, takes a number of reloads to see it again.
Does Beaker work correctly if you turn off wifi?
On Wed, Nov 22, 2017 at 9:27 PM, fuzzyTew notifications@github.com wrote:
I just downloaded beaker and am running into this issue in my home wifi.
The application is unusable; after a few refreshes I can get a dat site to
load, but as soon as I interact with it it stops working, peercount drops
to 0, times out, takes a number of reloads to see it again.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/beakerbrowser/beaker/issues/45#issuecomment-346525159,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNhUymayFQjNtN3fD4qdvh9NPocsKB1ks5s5OY1gaJpZM4JeTbe
.
How would I test this? Do you mean to connect via ethernet only? Or to load a cached resource while offline?
Oh if you just turn off your network entirely, you should be able to load (for instance) the settings or library pages and tell the difference.
Those pages seem to work fine eother way. I’m trying to load neauoire’s rotonde page, and it loads, but when I click a tab on it the peercount drops to 0, and after that not even the settings page will load.
Yeah. So what seems to be happening with this bug is, if the network stops responding quickly, the entire app slows down. There really shouldn't be any cause for it, because the actions that are going slowly should not involve any network transactions. Somehow, there's something network-related that's blocking the main thread.
Max's problem is probably different. Long beach balls, I've come to find, are usually the garbage collector running. I've made some updates on master that reduce overall memory usage, but the solution to that will probably be moving the Dat stack into its own process or thread.
Most helpful comment
By the way, a good tool for testing bad networks (if you're on Mac) is the Network Link Conditioner (it's part of the
Hardware IO tools).It lets you set imitate different network environments and packet drop rate etc.