joshbuddy has joined #sandstorm
dwrensha has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.2/20150415140819]]
ocdtrekkie has quit [Remote host closed the connection]
aldeka has quit [Remote host closed the connection]
aldeka has joined #sandstorm
ocdtrekkie has joined #sandstorm
<kentonv> ocdtrekkie: yikes
<kentonv> dwrensha I think anonymous old-style sharing was broken by https://github.com/sandstorm-io/sandstorm/commit/66da54ade5015b8e5ecc54cb551aa56bb93a6e89
<kentonv> fix is on the way. But I think this has been like this for a week. >_>
<zarvox> was the 500 from sandstorm, or the grain itself?
<kentonv> sandstorm
<zarvox> ah, yeah, that's probably undesirable
<kentonv> ocdtrekkie: fixed
<kentonv> (and new release pushed, `sudo sandstorm update` or wait 24 hours to get it)
bb010g has quit [Quit: Connection closed for inactivity]
dwrensha has joined #sandstorm
<dwrensha> eek
<dwrensha> I guess I was somewhere assuming that there must always be either a userId or a hashedToken?
<dwrensha> which is not true for old-sharing-model grains opened by anonymous users
<ocdtrekkie> kentonv: My particular need was for that dev list email since I made a link to the alpha server, so I don't need to update/wait. :D
<ocdtrekkie> Since he mentionned/listed a bunch of apps on the app committee list, I thought it was worthwhile to show him they're on the radar.
<dwrensha> when I visit the sandstorm.io/vote anonymously, I do see an ApiToken that I didn't create and cannot delete
<kentonv> dwrensha: yeah I misunderstood that report initially, replying to it now
<dwrensha> I guess this is what was concerning kamalmarhubi
<dwrensha> it concerns me too
<kentonv> well there's no security issue here, but it does seem like a bug
<dwrensha> I guess there's some token that doesn't isn't owned by any user?
<kentonv> probably some anonymous user created a webkey before we stopped prohibiting that
<dwrensha> ah, that makes sense
aldeka has quit [Remote host closed the connection]
ocdtrekkie has quit [Remote host closed the connection]
aldeka has joined #sandstorm
ocdtrekkie has joined #sandstorm
joshbuddy has quit [Quit: joshbuddy]
bb010g has joined #sandstorm
paroneayea has quit [Read error: Connection reset by peer]
gopar has quit [Remote host closed the connection]
paroneayea has joined #sandstorm
joshbuddy has joined #sandstorm
joshbuddy has quit [Read error: Connection reset by peer]
joshbuddy has joined #sandstorm
jparyani_letscha has quit [Remote host closed the connection]
jparyani_letscha has joined #sandstorm
mort___ has joined #sandstorm
mort___ has quit [Read error: Connection reset by peer]
mort___ has joined #sandstorm
joshbuddy has quit [Quit: joshbuddy]
ocdtrekkie has quit [Remote host closed the connection]
aldeka has quit [Remote host closed the connection]
aldeka has joined #sandstorm
ocdtrekkie has joined #sandstorm
<dvn> what's the general recommended best practice for binding sandstorm to two (or more) ips?
bb010g has quit [Quit: Connection closed for inactivity]
mort___ has quit [Quit: Leaving.]
<XgF> dvn: Normally you'd put something like nginx in front of it?
paroneayea has quit [Read error: Connection reset by peer]
paroneayea has joined #sandstorm
mquandalle has joined #sandstorm
mort___ has joined #sandstorm
jadewang_ has quit [Remote host closed the connection]
mort___ has quit [Quit: Leaving.]
ocdtrekkie has quit [Remote host closed the connection]
aldeka has quit [Remote host closed the connection]
mort___ has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 272 seconds]
aldeka has joined #sandstorm
ocdtrekkie has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 256 seconds]
natea has joined #sandstorm
natea has quit [Quit: natea]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 256 seconds]
mort___ has quit [Quit: Leaving.]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 245 seconds]
ocdtrekkie has quit [Remote host closed the connection]
aldeka has quit [Remote host closed the connection]
aldeka has joined #sandstorm
ocdtrekkie has joined #sandstorm
joshbuddy has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 264 seconds]
joshbuddy has quit [Quit: joshbuddy]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 276 seconds]
gopar has joined #sandstorm
mort___ has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 265 seconds]
paroneayea has quit [Read error: Connection reset by peer]
paroneayea has joined #sandstorm
mort___ has quit [Quit: Leaving.]
sasattack has joined #sandstorm
soulshake has left #sandstorm [#sandstorm]
<fkautz> is automatic sandstorm updates already enabled? or do i need to do anything special to update over time?
sasattack has quit [Ping timeout: 258 seconds]
<dwrensha> fkautz: updates are configured through the UPDATE_CHANNEL variable in sandstorm.conf
<dwrensha> "UPDATE_CHANNEL=dev" would give automatic updates
<dwrensha> "UPDATE_CHANNEL=none" would give none
<fkautz> dwrensha: thanks
jadewang has joined #sandstorm
<fkautz> is there a location to list changes on a given channel?
<fkautz> if not, here's a nice example: https://coreos.com/releases/
ocdtrekkie has quit [Remote host closed the connection]
aldeka has quit [Remote host closed the connection]
aldeka has joined #sandstorm
ocdtrekkie has joined #sandstorm
sasattack has joined #sandstorm
isd has joined #sandstorm
<isd> Hey -- I just set up sandstorm on a local vm, went through the whole rigmarole to get a wildcard dns entry pointed at it, went the URL for the admin token, and it just sits there saying "Loading..." forever. Any thoughts?
<dwrensha> does it successfully show the splash screen if you just go to the root URL?
<dwrensha> it should look the same as https://alpha.sandstorm.io/
<isd> dwrensha: it does.
<dwrensha> does the browser console display any errors?
<dwrensha> Are there any interesting errors in /opt/sandstorm/var/log/sandstorm.log ?
<isd> both, actually
<isd> firefox has: Firefox can't establish a connection to the server at wss://<my-sandstorm>/sockjs/644/poocglvl/websocket
<isd> the log has a few instances of Error: EACCES, permission denied '/var/sandstorm/adminToken', with a stack trace
<dwrensha> ah, so websockets aren't working
<dwrensha> are you going through nginx?
<isd> I am
<dwrensha> what version is your nginx?
<isd> I gather I have to do something special for that?
<isd> whatever's current on ubuntu 14.04, let me check
<dwrensha> did you set up forwarding of websockets, as in https://github.com/sandstorm-io/sandstorm/blob/master/nginx-example.conf
<dwrensha> ?
<isd> 1.4.6
<isd> I didn't. I'll try that.
<isd> Got rid of the console error, but the behavior is the same. The other error (I'm guessing) is because I last ran 'sandstorm admin-token' as root -- is just chowing the whole of /opt/sandstorm/var/sandstorm the right/safe thing to do?
<isd> or is there a smaller part of the filesystem that's appropriate? it looks like at least the immediate parent directory for the token isn't writable either.
<isd> don't know enough about the internals to know exactly what it expects.
bb010g has joined #sandstorm
<dwrensha> I'm puzzled by the EACCESS error
<isd> the adminToken file is owned by root and mod 640. I'm assuming that's the problem, I just not exactly sure what all the bits should be
<isd> *mode
<dwrensha> I think it ought to be mode 644
<dwrensha> or at least, when I just tried making an admin token, that's what I got
<dwrensha> does it work if you let anyone read the adminToken?
<isd> let me check.
<isd> That gets me as far as it telling me there's no valid admin token. It's surely expired by now. Having more permissions problems getting it to generate a new one.
<isd> got it.
<isd> changed /opt/sandstorm/var/sandstorm to 770, root:sandstorm and deleted the old token file, it worked after that.
<isd> (the mode is consistent with everything else in the dir)
<dwrensha> sorry -- I've got to run right now...
<dwrensha> I'm happy that it seems to be working somewhat more for you now
<isd> dwrensha: no worries. thanks a bunch
sasattack has quit [Ping timeout: 240 seconds]
paroneayea has quit [Read error: Connection reset by peer]
paroneayea has joined #sandstorm