asheesh changed the topic of #sandstorm to: Welcome to #sandstorm: home of all things sandstorm.io. Say hi! | Channel glossary: "i,i" means "I have no point, I just want to say". b == thumbs up. | Public logs at https://botbot.me/freenode/sandstorm/ & http://logbot.g0v.tw/channel/sandstorm/today
GeorgeHahn has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 246 seconds]
GeorgeHahn has quit [Read error: Connection reset by peer]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 260 seconds]
wolcen_ has joined #sandstorm
frigginglorious has joined #sandstorm
wolcen_ has quit [Ping timeout: 246 seconds]
mnutt has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
frigginglorious has quit [Quit: frigginglorious]
jadewang has joined #sandstorm
Malo has joined #sandstorm
Malo is now known as syri
<syri> Ok, so! I found Sandstorm, got really excited. Spun up an EC2 instance, allowed traffic from appropriate ports, installed. Except, uh... it refuses to pull packages. I'm pretty sure I set it up correctly. Ubuntu 14.04. No matter what app I try, I get: Failed to install app: Error: Unknown package ID, and no URL was provided.
<kentonv> syri: That's strange!
<kentonv> if you invite me to your instance I can poke at it
<kentonv> kenton@sandstorm.io
<kentonv> (use the "send invite" tab in the admin settings)
<syri> Aight, give me a bit.
<syri> kentonv: Ah, actually, I don't have SMTP set up, so I'll just privmessage you the invite link.
<kentonv> sure
<kentonv> syri: Hmm, I tried installing wekan and it worked -- in fact, it appeared that it had already been installed by another user (didn't have to download).
<syri> Oh, yeah. Forgot to mention that I got Wekan to work, but nothing else. I figured it was my EC2 security policy, so I fiddled with that, got it working, but it didn't work afterwards.
<syri> (for debugging purposes, it's set to allow all traffic in and out)
<kentonv> interesting, lychee worked for me (downloaded and installed), but mediawiki refuses to install
<syri> Oh, how bizarre. The ones I tried were the Ether* ones, Rocketchat, and the various otter-themed ones. (picked at random)
<kentonv> ok so normally when installing a new app it should direct you to /install/<package-id>?url=<url>
<kentonv> but randomly I am getting /install/<package-id> without the URL
<kentonv> and then it fails
<kentonv> but other times I do get the full URL
<syri> That is pretty bizarre.
<kentonv> syri: It seems like the URL is getting dropped when the app market tab collapses back into the sandstorm tab. It's a weird trick we do. One work-around is to open a new tab yourself, browse to apps.sandstorm.io, and install. You'll be asked which server to use, and then it should install correctly (possibly after clicking "try again" if it failed earlier).
<kentonv> this is almost certainly a bug in Sandstorm, though
<syri> Okay. Will give that a go.
<syri> Hey! It works. Awesome, thank you!
neynah has joined #sandstorm
<kentonv> still, the problem is worrying. I don't understand why this is happening.
<kentonv> ugh, there is a weird timing issue here, I think inside IronRouter. It sometimes ignores the query passed to it for no apparent reason.
jadewang has quit [Remote host closed the connection]
<kentonv> syri: What browser are you using?
<kentonv> (brand, version, OS)
<syri> kentonv: Chrome, 50.0.2661.26 beta-m, Win10.
<kentonv> syri: I think this is a Chrome 50 bug.
<syri> That's... bizarre.
<kentonv> I can repro in Chrome 50 Linux but it didn't used to happen and it doesn't happen in Firefox
<kentonv> the bug seems to have to do with using window.opener to reach into another tab's Javascript context, which is admittedly an unusual thing to do
<kentonv> but it's really weird that it half-works (browses to /install bug drops the query)
<syri> That is pretty weird that it half-works like that. Maybe a security thing?
<kentonv> no, if it were security the whole thing would be blocked, I would think
<syri> Hmm. That's pretty strange, then.
<kentonv> apparently objects created in another tab fail "x instanceof Object"
<kentonv> hmm, but that's also true in Firefox
<syri> also that's a pretty hardcore link, jesus google
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kentonv> syri: BTW bug thread is here: https://github.com/sandstorm-io/sandstorm/issues/1673
<syri> kentonv: aight
_iwc has quit [Remote host closed the connection]
mnutt has joined #sandstorm
<syri> kentonv: Yay! My random issue is useful bug reporting material.
jemc has joined #sandstorm
jemc has quit [Ping timeout: 240 seconds]
jemc has joined #sandstorm
jemc has quit [Ping timeout: 244 seconds]
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mnutt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
neynah has joined #sandstorm
neynah has quit [Client Quit]
synchrone has joined #sandstorm
digitalcircuit has quit [Remote host closed the connection]
digitalcircuit has joined #sandstorm
larjona has quit [Remote host closed the connection]
tdfischer has quit [Ping timeout: 244 seconds]
tdfischer has joined #sandstorm
prettyvanilla has quit [Remote host closed the connection]
larjona has joined #sandstorm
mnutt has joined #sandstorm
bemasc_ has joined #sandstorm
<bemasc_> Trying to run a VM with vagrant-spk, I get: Oops, looks like there's no route on the client or the server for url: "http://local.sandstorm.io:6080/.";
bemasc_ is now known as bemasc
<dwrensha> bamasc_: does https://oasis.sandstorm.io/ work for you?
<dwrensha> bemasc: some other people were having the same issue for https://oasis.sandstorm.io/ recently
<bemasc> nope
<bemasc> same error
<dwrensha> how about https://sandstorm.dwrensha.ws/
<bemasc> dwrensha: yep, that works
<dwrensha> aha!
<bemasc> oasis.sandstorm.io was working for me on Friday...
<bemasc> but not today
<dwrensha> weird!
<dwrensha> The last server that I linked to is running the lastest version from git master, which includes https://github.com/sandstorm-io/sandstorm/commit/8235b99b60b6bc240b3d32471843cc9431237013
<dwrensha> which was an attempt to fix this problem
<dwrensha> so it's encouraging that it seems to work for you
<dwrensha> were you using the same browser on Friday?
<bemasc> I'm pretty sure I was
<dwrensha> Oasis has not had an update since then. So I wonder what could have been different.
<bemasc> I was on a different network but unless y'all're doing something truly bizarre with DNS I don't see how that could cause this
<bemasc> "Oops, looks like there's no route on the client or the server for url: "https://oasis.sandstorm.io/."";
<bemasc> That's all I know
<bemasc> FWIW, the https URL does show a green lock
<dwrensha> is there some kind of proxying happening at your end?
<bemasc> it's possible. I'm on MIT's public wifi.
<bemasc> chrome:net-internals/#proxy doesn't show a proxy
<dwrensha> are there any errors in the javascript console?
<bemasc> dwrensha: d60a5a0….js?meteor_js_resource=true:98 Uncaught Error: Handler with name 'i' already exists.
<dwrensha> yeah, that's the same error that the other user was seeing
<bemasc> cool
<bemasc> well, I can repro
<bemasc> and I guess your fix works
<bemasc> but I have no explanation for what changed
<dwrensha> for what it's worth, here is an issue that someone reported about this: https://github.com/sandstorm-io/sandstorm/issues/1578
<dwrensha> we fixed the localStorage thing, but apparently there were other problems too
<bemasc> dwrensha: well, I'm just trying to follow the packaging tutorial (https://docs.sandstorm.io/en/latest/vagrant-spk/packaging-tutorial/). Is there any way for me to pull in this change?
<dwrensha> hmm
<dwrensha> here's an unofficial build: https://dwrensha.ws/misc/sandstorm-0-fast.tar.xz
<dwrensha> you should be able to drop that into your VM and then run `sandstorm update sandstorm-0-fast-tar-xz`
<dwrensha> also! make sure to turn off autoupdates if you do this
<dwrensha> UPDATE_CHANNEL=none
<bemasc> Could you spell those things out a little more?
<bemasc> I don't know how to add things to a VM
<dwrensha> you can get a shell in the VM by doing `vagrant-spk vm ssh`
<bemasc> ok, that worked
<bemasc> now what?
<dwrensha> once you do that, you can download my build with `wget https://dwrensha.ws/misc/sandstorm-0-fast.tar.xz`
<bemasc> downloading
<dwrensha> you may need to `sudo apt-get install wget` first
<dwrensha> now, before you update, edit /opt/sandstorm/sandstorm.conf
<dwrensha> set UPDATE_CHANNEL to none
<dwrensha> it should be "dev" currently
<bemasc> ok, done
<dwrensha> now do `sudo sandstorm update sandstorm-0-fast-tar-xz`
<dwrensha> er.
<bemasc> "update complete, restarting sandstorm"
<dwrensha> I misspelled that filname
<bemasc> it worked!
<bemasc> thanks :)
<dwrensha> it loads in your browser?
<bemasc> yep
<dwrensha> nice!
<bemasc> btw, do you know if the stock PHP wrapper thingy lets PHP make outbound HTTP requests?
<dwrensha> to make outbound requests from the server, your app will need to go through the powerbox or HackSession
<dwrensha> both of which involve Cap'n Proto remote procedure calls, for which there is not yet good support in PHP
<dwrensha> I think the TinyTinyRss package uses a small C++ program to call HackSession.httpGet()
<bemasc> hmm
<bemasc> ok
<bemasc> hmm
<bemasc> maybe I need to wait for "powerbox"
<dwrensha> bemasc: I'm curious about what app are you working on
<bemasc> I was trying to package https://github.com/PHProxy/phproxy
jemc has joined #sandstorm
jemc has quit [Quit: WeeChat 1.4]
jemc has joined #sandstorm
_whitelogger has joined #sandstorm
frigginglorious has joined #sandstorm
digitalcircuit has quit [Remote host closed the connection]
digitalcircuit has joined #sandstorm
GeorgeHahn has joined #sandstorm
frigginglorious has quit [Quit: frigginglorious]
frigginglorious has joined #sandstorm
wolcen_ has joined #sandstorm
neynah has joined #sandstorm
synchrone has quit [Quit: Leaving.]
wolcen_ has quit [Ping timeout: 244 seconds]
frigginglorious has quit [Quit: frigginglorious]
synchrone has joined #sandstorm
synchrone has quit [Ping timeout: 260 seconds]
TwoJames has joined #sandstorm
jemc has quit [Ping timeout: 244 seconds]
jemc has joined #sandstorm
xet7_ has quit [Ping timeout: 240 seconds]
xet7_ has joined #sandstorm
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<mnutt> anybody using libvirt and having issues with not being able to write to 9p-mounted filesystems?
<mnutt> I didn't, but that looks like exactly what I need. Thanks!
<mnutt> working great now. much faster than virtualbox!
sydney_untangle has quit [Ping timeout: 246 seconds]
sydney_untangle has joined #sandstorm
wolcen_ has joined #sandstorm
wolcen_ has quit [Remote host closed the connection]
prettyvanilla has joined #sandstorm
neynah has joined #sandstorm
neynah has quit [Client Quit]