Hi folks. Is there a way to run the authzed playgr...
# spicedb
a
Hi folks. Is there a way to run the authzed playground locally? For some reason, my browser is unable to download the entire
main.wasm
file. It always fails at around 3 MB.
Hmm... it looks like I can't even retrieve the file using
wget
.
I've tried using the WiFi where I'm working and tethering. The behavior is the same on each connection in both Firefox and through wget. Is there possibly an issue with the play.authzed.com server?
If I had to guess, I think the http write timeout on the play.authzed.com server is too low for my connection speeds. My guess is that it's set to 20 seconds? Can that be increased for the sake of people operating on slow connections.
j
That's a good hypothesis
I'll take a look
a
It times out on my end after ~20 seconds pretty consistently.
I'm not sure there is a reasonable value you could change the load balancer's timeout value to. My connection is limited to 150 KB/s here so it would take nearly 200 seconds for me to retrieve the whole
main.wasm
file.
j
33s actually, since it is about ~5MB compressed
but yes
a
Oh! I forgot about compression. 🙂
Maybe a 40 second timeout would do the trick then.
j
we'll look into moving it onto a CDN with a higher timeout
and adding a progress bar
a
That would be awesome.
Thank you
5 Views