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
<asheesh> pdehaye: Howdy!
<pdehaye> hiwdy asheesh
<asheesh> I have some pull request feedback but first a meta-question: if I give you small text suggestions, are you possibly interested in submitting a follow-up commit with a few things changed?
<asheesh> If not, then I can "just" happily change them myself!
<pdehaye> euh sure
<pdehaye> either way
natea has quit [Quit: natea]
<pdehaye> if there is an etiquette around those things, don’t worry, i don’t know it
<asheesh> well see pull request, I suppose (-:
<pdehaye> done
<asheesh> pdehaye: oops one more request, if you're OK with some very fine-toothed punctuation-smithing. Else you can just say "Asheesh you do it" and I can do it. (-:
<pdehaye> re-done
<pdehaye> you should have been a copy editor
<pdehaye> :P
<asheesh> Honestly when I was in high school, I wanted to be copy editor for the newspaper.
<asheesh> Unfortunately I ended up getting the Webmaster position instead.
<pdehaye> and yeah, it looked weird to me to have a title with a
<pdehaye> : at the end
erikmaarten has quit [Ping timeout: 276 seconds]
<pdehaye> ah ah ah
<pdehaye> i m sure your html was just fine
<pdehaye> no hanging tags
* asheesh chuckles.
<pdurbin> asheesh: you're reminding me of http://i.imgur.com/l5HIlLl.png
<asheesh> Honestly that "turn the PageMaker stuff into a website" thing was how I learned Python.
<asheesh> ++ re: The Far Side comic
<asheesh> "and then I spent the next 10 years of my career trying to scrape websites out of anger for their mismatched tags"
<asheesh> also not wrong
IceQUICK has joined #sandstorm
<pdurbin> it's a living
IceQUICK has quit [Ping timeout: 260 seconds]
<asheesh> Related: error: conflict: two packages included in the app (meteor and seba:autoprefix) are both trying to handle *.css.
<asheesh> related: "due to certain limitations of the current Meteor build system, no autoprefix plugin is available at this moment"
paroneayea has quit [Read error: Connection reset by peer]
paroneayea has joined #sandstorm
pdehaye has quit [Quit: pdehaye]
paroneayea has quit [Ping timeout: 260 seconds]
IceQUICK has joined #sandstorm
jacksingleton has joined #sandstorm
IceQUICK has quit [Ping timeout: 272 seconds]
isd has quit [Ping timeout: 250 seconds]
isd has joined #sandstorm
<ocdtrekkie> I'd like to make an impassioned plea for screenshots on apps submitted.
paroneayea has joined #sandstorm
<jacksingleton> So it looks like Meteor apps running in Sandstorm fail to load without WebSocket support, but the SandStorm Shell itself works (falling back to long polling via SockJS)
<jacksingleton> Any ideas as to why long polling might fail for grains? Does Sandstorm restrict something that would be required for this to work?
<asheesh> Howdy jacksingleton
<asheesh> I think this question is fascinating.
<jacksingleton> Howdy :)
<asheesh> I have not duginto it yet.
<asheesh> But I wonder if it relates to our HTTP header whitelist.
<jacksingleton> Because you're wondering why I want to fallback to long polling or because the problem is actually interesting ;)
<asheesh> What I would check is -- what are the headers that an app uses when doing the long polling attempt?
<asheesh> Well the asymmetry is interesting.
<jacksingleton> Cool
<jacksingleton> wanna look at a tcpdump?
<asheesh> I er
<asheesh> I was hoping you'd look at the Chrome net inspector!
<asheesh> But I want to look at a list of headers, sure! : P
<asheesh> Not as much a tcpdump but I guess if you really want I can!
<jacksingleton> haha okay 1 sec
<asheesh> I hope this is not an elaborate ruse to get me to open an untrusted tcpdump and stackoverflow wireshark.
<asheesh> yes wekan
<asheesh> So silly question, why is the answer not "fix your nginx"?
<asheesh> (OK so the real answer is, "Have a self-diagnostics panel that's part of Sandstorm")
<jacksingleton> It's not my nginx :/
<asheesh> Oh.
<asheesh> Good answer, sad as that is.
<asheesh> I mean, in your case, can you ask nicely?
<asheesh> Having said that I'm apt installing wireshark now.
<jacksingleton> Oh I have. I'm pursuing both options.
<jacksingleton> Hmm I can also check the headers
<asheesh> (I'm actually 'apt update'ing over a cell tethering connection right now first)
<jacksingleton> vim?
<asheesh> ??!!
<jacksingleton> :)
<asheesh> (I mean, what does vim have to do with cell modem tethering?)
<asheesh> (the standard editor is 'ed' anyway)
<jacksingleton> here are some headers from wekans sockjs call:
jadewang has quit [Remote host closed the connection]
<jacksingleton> server responds with HTTP 200 but an error in the json payload
<asheesh> !!!???
<asheesh> If you make a WeKan behind the same nginx but with broken websockets, does it act differently?
<jacksingleton> haven't tested but strongly believe it would
<jacksingleton> as Meteor based sandstorm shell manages to fall back, which is what Meteor/SockJS apps should do
<asheesh> Indeed.
<jacksingleton> also all Meteor based apps behave the same as Wekan, so I doubt they are doing something special
<jacksingleton> as in, get stuck in a reload loop when running in sandstorm and websockets are not working
<asheesh> So I guess the next question is, what headers does the app receive?
<asheesh> Maybe sandstorm-http-bridge intercepts the request and never sends it to the app?
<asheesh> What are the errors in that JSON that you mentioned?
<asheesh> FWIW I see no particular reason Sandstorm should need to break long-polling.
<asheesh> So presumably if we can figure this out we can stop the breakage.
<jacksingleton> okay cool. I'm happy to do most of the debugging. Mainly wanted to check it wasn't an "oh yeah long polling will never work in sandstorm because _____" kind of thing
amyers has joined #sandstorm
mrdomino has joined #sandstorm
aggelos__ has joined #sandstorm
dcb has quit [Excess Flood]
mrdomino_ has quit [Remote host closed the connection]
aggelos_ has quit [Remote host closed the connection]
dcb has joined #sandstorm
<jacksingleton> did you see the json in the second pastebin?
<asheesh> Nope will read it now
<jacksingleton> it's not too enlightening but is the response that I mentioned
<asheesh> whoa
<asheesh> The first line is fascinating.
<jacksingleton> correction: not too enlightening to me :)
<asheesh> I mean, you've been logged out!!?? Were you already logged in!?
<asheesh> If so, what was wrong with the request that would cause this message?
<asheesh> I wonder if there's a CSRF-y header we're blocking.
<asheesh> You have a resume token, but the server has no evidence that the resume token is present? That's _weird_.
<asheesh> Is the resume token a HTTP header we're failing to send?
<asheesh> Or mabye it's in the POST data but we're eating it?
<asheesh> BTW +1 on xip.io use
IceQUICK has joined #sandstorm
<asheesh> Howdy IceQUICK
<asheesh> ...or Sandstorm is somehow corrupting the resume token...?
jadewang has joined #sandstorm
<jacksingleton> Yeah I just found out about it so helpful for Sandstorm
amyers has quit [Quit: Leaving]
<asheesh> jacksingleton: Is there POST data being submitted?
<asheesh> Does theapp receive it?
<asheesh> Suspiciously Content-Length: 0 in the request headers
<asheesh> Suggesting it's an empty POST
<asheesh> But if so... where (if anywhere) is the resume token?
IceQUICK has quit [Ping timeout: 255 seconds]
<jacksingleton> Yeah I thought that was weird but you see the same empty requests in the Shell dump
<asheesh> We're not the only ones.
<asheesh> "It looks like the problem is that, on Passenger, the long-polling XHR socket doesn't wait, and returns an empty response immediately"
<asheesh> mumble sticky sessions I don't see how that's related yet
<asheesh> Do you get the empty response immediately?
<asheesh> i,i if so it would not be very long polling now would it
<asheesh> I kinda wonder if you can repro with a minimal test case against sandstorm-http-bridge.c++
<asheesh> Doing so requires doing capnproto rpc against sandstorm-http-bridge though.
<asheesh> But the real first question is:
<asheesh> 02:32 < asheesh> Do you get the empty response immediately?
<asheesh> I must run off for the evening I think. But I can help debug this later if you like!
jacksingleton has quit [Ping timeout: 260 seconds]
jacksingleton has joined #sandstorm
<jacksingleton> asheesh: meteor doesn't have great logging as far as I can tell so I'm going to try to reproduce this with SockJS directly
rustyrazorblade_ has quit [Quit: rustyrazorblade_]
isd has quit [Ping timeout: 272 seconds]
bb010g has joined #sandstorm
rustyrazorblade_ has joined #sandstorm
IceQUICK has joined #sandstorm
IceQUICK has quit [Ping timeout: 244 seconds]
isd has joined #sandstorm
jadewang has quit [Remote host closed the connection]
<jacksingleton> asheesh: update: sockjs falls back to long polling without a problem... so it seems like specifically Meteor is unhappy
IceQUICK has joined #sandstorm
IceQUICK has quit [Ping timeout: 252 seconds]
simonv3 has quit [Quit: Connection closed for inactivity]
IceQUICK has joined #sandstorm
IceQUICK has quit [Ping timeout: 255 seconds]
IceQUICK has joined #sandstorm
rustyrazorblade_ has quit [Quit: rustyrazorblade_]
rhapsodhy has quit [Remote host closed the connection]
rhapsodhy has joined #sandstorm
isd has quit [Read error: Connection reset by peer]
gemlog has joined #sandstorm
gemlog has left #sandstorm [#sandstorm]
IceQUICK has left #sandstorm [#sandstorm]
pdehaye has joined #sandstorm
pdehaye has quit [Quit: pdehaye]
jacksingleton has quit [Ping timeout: 260 seconds]
bb010g has quit [Quit: Connection closed for inactivity]
joshbuddy has joined #sandstorm
pdehaye has joined #sandstorm
erikmaarten has joined #sandstorm
pdehaye has quit [Quit: pdehaye]
joshbuddy has quit [Quit: joshbuddy]
aggelos__ has quit [Ping timeout: 252 seconds]
natea has joined #sandstorm
natea has quit [Remote host closed the connection]
pdehaye has joined #sandstorm
pdehaye has quit [Client Quit]
pdehaye has joined #sandstorm
pdehaye has quit [Client Quit]
pdehaye has joined #sandstorm
pdehaye has quit [Quit: pdehaye]
mnutt__ has joined #sandstorm
erikmaarten has quit [Ping timeout: 272 seconds]
spangattack has quit [Ping timeout: 260 seconds]
xet7 has joined #sandstorm
rustyrazorblade_ has joined #sandstorm
jinnko has quit [Ping timeout: 240 seconds]
simonv3 has joined #sandstorm
rustyrazorblade_ has quit [Quit: rustyrazorblade_]
bb010g has joined #sandstorm
<geofft> lolwat, https://sandcats.io is prompting me for a client certificate before redirecting me
pdehaye has joined #sandstorm
pdehaye has quit [Client Quit]
spangattack has joined #sandstorm
spangattack has joined #sandstorm
joshbuddy has joined #sandstorm
jadewang has joined #sandstorm
joshbuddy has quit [Quit: joshbuddy]
pdehaye has joined #sandstorm
<pdehaye> hi everyone
<pdehaye> quick question: why is sandcats helpful?
<pdehaye> what problem is it trying to solve?
<dwrensha> DNS and SSL
<pdehaye> DNS i can solve on my own, so it is just a matter of making it easier for people?
<pdehaye> or is it the subdomain thing?
<pdehaye> say i want to use the domain myownsandstormdomain.io , is there an obstacle ?
<mnutt__> buying a wildcard ssl cert is kind of a pain
<mnutt__> not to mention expensive for hobby use, the cheapest I’ve seen is ~$40
<dwrensha> mnutt__: that's per year, right?
<mnutt__> yeah
<mnutt__> via alphassl / globalsign
<mnutt__> I’m hoping that letsencrypt lands wildcard certs pretty soon, that would make everything way nicer
<pdehaye> why is wildcard needed?
<mnutt__> sandstorm does grain isolation by using randomly generated subdomains
<pdehaye> “Setting up wildcard DNS and especially SSL can be difficult and costly, which commonly leads to the question: "Why does Sandstorm need this?" This page seeks to answer the questions.” ====> sorry for the question
<dwrensha> don't be sorry! we are here to help
kentonv has quit [Ping timeout: 272 seconds]
jadewang has quit [Ping timeout: 265 seconds]
jadewang has joined #sandstorm
simonv3 has quit [Quit: Connection closed for inactivity]
kentonv has joined #sandstorm
<pdehaye> dwrensha : filed another github issue, about trailing punctuation :P
jacksingleton has joined #sandstorm
jadewang has quit [Remote host closed the connection]
joshbuddy has joined #sandstorm
joshbuddy has quit [Client Quit]
jadewang has joined #sandstorm
simonv3 has joined #sandstorm
joshbuddy has joined #sandstorm
joshbuddy has quit [Quit: joshbuddy]
pdehaye has quit [Quit: pdehaye]
pdehaye has joined #sandstorm
bb010g has quit [Quit: Connection closed for inactivity]