<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
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:
<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.
<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]