bengo has quit [Quit: Computer has gone to sleep.]
bengo has joined #sandstorm
bengo has quit [Client Quit]
bengo has joined #sandstorm
bengo has quit [Quit: Computer has gone to sleep.]
bengo has joined #sandstorm
bengo has quit [Quit: Computer has gone to sleep.]
bengo has joined #sandstorm
bengo has quit [Client Quit]
natea has joined #sandstorm
natea has quit [Quit: natea]
[d__d] has quit [Ping timeout: 264 seconds]
[d__d] has joined #sandstorm
bengo has joined #sandstorm
bengo has quit [Client Quit]
rhapsodhy has quit [Remote host closed the connection]
bb010g has quit [Quit: Connection closed for inactivity]
rhapsodhy has joined #sandstorm
gopar has quit [Quit: Leaving]
bb010g has joined #sandstorm
mort___ has joined #sandstorm
paroneayea has quit [Read error: Connection reset by peer]
paroneayea has joined #sandstorm
simonft has quit [Ping timeout: 264 seconds]
mort___ has quit [Ping timeout: 255 seconds]
simonft has joined #sandstorm
bengo has joined #sandstorm
jadewang has quit [Remote host closed the connection]
fonfon has joined #sandstorm
fonfon has quit [Ping timeout: 246 seconds]
mort___ has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 240 seconds]
pixelport has joined #sandstorm
bb010g has quit [Quit: Connection closed for inactivity]
pixelport has quit [Quit: Leaving]
bengo has quit [Quit: Textual IRC Client: www.textualapp.com]
mort___ has quit [Quit: Leaving.]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 256 seconds]
mort___ has joined #sandstorm
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: 265 seconds]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 256 seconds]
mort___ has joined #sandstorm
breton has left #sandstorm [#sandstorm]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 245 seconds]
natea has joined #sandstorm
mort___ has quit [Quit: Leaving.]
mort___ has joined #sandstorm
zeroish has quit [Ping timeout: 252 seconds]
jadewang has joined #sandstorm
mort___ has quit [Quit: Leaving.]
jadewang has quit [Ping timeout: 272 seconds]
mort___ has joined #sandstorm
mort___1 has joined #sandstorm
mort___ has quit [Ping timeout: 245 seconds]
decipherstatic has joined #sandstorm
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 256 seconds]
natea has quit [Quit: natea]
natea has joined #sandstorm
kxra has quit [Quit: WeeChat 1.1]
mort___1 has quit [Quit: Leaving.]
mort___ has joined #sandstorm
greg-g has left #sandstorm [#sandstorm]
jadewang has joined #sandstorm
jadewang has quit [Ping timeout: 272 seconds]
mort___ has quit [Quit: Leaving.]
bb010g has joined #sandstorm
natea has quit [Quit: natea]
natea has joined #sandstorm
jadewang has joined #sandstorm
natea has quit [Quit: natea]
[d__d] has quit [*.net *.split]
saneki_ has quit [*.net *.split]
saneki has joined #sandstorm
heliostatic has joined #sandstorm
[d__d] has joined #sandstorm
<ocdtrekkie> Is paulproteus about?
<ocdtrekkie> Or anyone who knows how to set up wildcard DNS on local?
<paulproteus> ocdtrekkie: Yo
<paulproteus> We should have, like, a library of working configuration files.
<paulproteus> Anyway.
<paulproteus> BASE_URL should be http://localhost:6080
<paulproteus> WILDCARD_HOST=*.local.sandstorm.io:6080
<paulproteus> As far as I can tell.
<paulproteus> What are you trying to do / what are you up to / what's your actual question?
natea has joined #sandstorm
Jaggu has joined #sandstorm
<Jaggu> Hi
<paulproteus> Hi Jaggu !
<ocdtrekkie> paulproteus: My Sandstorm works. My grains do not.
<ocdtrekkie> The config file, is, AFAIK, fine.
<ocdtrekkie> But I don't know what/where/how to set the wildcard DNS info in Ubuntu to tell it where to find my grains.
<paulproteus> What is your WILDCARD_HOST in the config, ocdtrekkie ?
<ocdtrekkie> The *.local.sandstorm.io:6080
<paulproteus> Hmm, okay.
<paulproteus> And when you open up a grain URL, what error do you get in your browser?
<paulproteus> In the grain IFRAME.
<ocdtrekkie> I just get a white screen.
<paulproteus> Can you do right-click open in new tab, and see if you get something more verbose?
<ocdtrekkie> I am not getting that option on my right click menu.
<ocdtrekkie> (Firefox, FYI)
<paulproteus> Oh huh.
<paulproteus> You could inspect element, then grab the SRC attribute out of the IFRAME .
<ocdtrekkie> Bear in mind, if you recall, this is a very very old Sandstorm install from before we used wildcard subdomains, so no idea if there's Linux config steps you guys automate that aren't done here.
<paulproteus> We don't, I think, fwiw.
<paulproteus> Also wowee re: before wildcard subdomains.
<ocdtrekkie> My source is particularly unhelpful.
<ocdtrekkie> Mostly just JavaScript embeds.
<paulproteus> Not view-source but inspect-element
<paulproteus> Right-click, do Inspect Element
<paulproteus> view-source will never be useful with Meteor stuff, alas.
<paulproteus> But Inspect Element will be.
<ocdtrekkie> Error looking up DNS TXT records for host '7aoojy9oef9d5h6wcmll.local.sandstorm.io': queryTxt ENODATA
<paulproteus> o
<ocdtrekkie> You helped me get this Sandstorm install fixed up enough for hacking on the shell, but getting grains working was unimportant for that so we didn't fix that. :P
<ocdtrekkie> Now that someone actually wants to use a Scrumblr port, I figured I should get mine up to date and properly on the app list.
<paulproteus> Almost every day of my life lately, I think of this song: https://www.youtube.com/watch?v=W1IiPkQa2iY
<paulproteus> "Against the grain / that's where I'll stay"
<paulproteus> OK, so it sounds like your DNS server is doing something weird to not really respond to DNS TXT record lookups.
<ocdtrekkie> paulproteus: Is that the preferred theme song for the company, since kentonv does not like Darude?
<ocdtrekkie> ;)
<paulproteus> I can run it by him! (-:
<ocdtrekkie> I doubt my DNS server is configured to do much at all.
heliostatic has quit [Quit: Be back later ...]
<paulproteus> Yeah, but it might be some neato home DNS router thingamabob or broken version of dnsmasq that ignores TXT record lookups, to Sandstorm's utter shock and horror.
<ocdtrekkie> It's just an Ubuntu VM.
<dwrensha> just getting a grain working should require TXT lookups
<paulproteus> The thing is that I don't think the TXT record stuff matters unless you're doing personal publishing stuff.
<dwrensha> should *not*
<dwrensha> right, paulproteus
<paulproteus> ++
<ocdtrekkie> Shouldn't DNS lookups for local stuff be all internal to the VM?
<dwrensha> does any DNS resolution succeed from the VM?
<paulproteus> Yeah... that's right... *.local.sandstorm.io should never have any TXT records anyway.
<dwrensha> `dig sandstorm.io`
<paulproteus> If it did, they'd be shared between all Sandstorm users anyway, like some kind of global singleton (paging dr. kentonv)
<paulproteus> i,i I can dig it
<dwrensha> I can dig it too!
<ocdtrekkie> Yes, you can dig sandstorm.io
<ocdtrekkie> But I mean, what tells Ubuntu/Firefox that local.sandstorm.io goes to my Sandstorm?
<ocdtrekkie> AFAIK, I don't have anything set to tell it that.
<paulproteus> ocdtrekkie: nothing does; global DNS does
<dwrensha> we've mapped *.local.sandstorm.io to 127.0.0.1
<paulproteus> local.sandstorm.io is this absurdist Internet hack to create a real publicly-routable domain that always goes to localhost.
<paulproteus> publicly-resolvable rather
<ocdtrekkie> That explains so much.
<ocdtrekkie> And yet still leaves me baffled why this doesn't work. ;)
<dwrensha> s/absurdist/elegant/
<dwrensha> can you e.g. `ping google.com` from the VM?
<paulproteus> Presmably we should patch the source so that if TXT record lookups aren't working, it carries on as if nothing's wrong?
<ocdtrekkie> I can dig local.sandstorm.io and get 127.0.0.1
<ocdtrekkie> I can ping google.com of course.
<paulproteus> ocdtrekkie: also:
<paulproteus> ➜ ~ dig TXT asheesh.org | grep Linux
<paulproteus> asheesh.org.259193INTXT"Linux.Bogus, your DNS consultants"
<paulproteus> Anyway, can you "dig TXT asheesh.org | grep Linux" and see if you get similar output as I do above?
<ocdtrekkie> I can.
<ocdtrekkie> I get 5 instead of 259193 though
<paulproteus> Yeah, that's fine.
<paulproteus> dwrensha + jparyani - if ENODATA means "No data in response", should we declare that's not an error at all?
<ocdtrekkie> Gets me
Jaggu has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<ocdtrekkie> Error looking up DNS TXT records for host '7aoojy9oef9d5h6wcmll.local.sandstorm.io': queryTxt ENODATA
<ocdtrekkie> This Sandstorm server's main interface is at: http://localhost:6080
<ocdtrekkie> If you were trying to connect this address to a Sandstorm app hosted at this server,
<ocdtrekkie> you either have not set your DNS TXT records correctly or the DNS cache has not
<ocdtrekkie> updated yet (may take a while).
<ocdtrekkie> If you are the server admin and want to use this address as the main interface,
<ocdtrekkie> edit /opt/sandstorm/sandstorm.conf, modify the BASE_URL setting, and restart.
<ocdtrekkie> If you got here after trying to log in via OAuth (e.g. through Github or Google),
<paulproteus> Hah I get the same problem ocdtrekkie !
<ocdtrekkie> the problem is probably that the OAuth callback URL was set wrong. You need to
<paulproteus> On my own server. : D
<ocdtrekkie> update it through the respective login provider's management console.
<paulproteus> This Sandstorm server's main interface is at: http://party2.sandcats-dev.sandstorm.io:6080
<paulproteus> (because it's reaching my personal localhost, not your localhost)
<paulproteus> Well I'm convinced that we should consider this not an error, then.
<ocdtrekkie> Does it just want me to make my main interface at local.sandstorm.io:6080 or something?
<paulproteus> Nah, it doesn't care about that. It's a Sandstorm shell bug IMHO.
<paulproteus> Let me just file it.
<paulproteus> i,i how do we only have 60 open issues, there are surely more than 60 things wrong with Sandstorm
<ocdtrekkie> I made a wishlist rather than filing them all as issues? ;)
<ocdtrekkie> So why does my Sandstorm shell not work but others aren't seemingly having this issue at this very moment?
<paulproteus> Let me do a fresh localhost install and check
<paulproteus> https://github.com/sandstorm-io/sandstorm/issues/398 contains I think everything I know.
<paulproteus> ocdtrekkie: cat /etc/resolv.conf
<paulproteus> But anyway, jparyani and/or dwrensha , penny for your thoughts on that bug.
<dwrensha> ocdtrekkie: could you add the complete contents of your sandstorm.conf to that github issue?
<paulproteus> ocdtrekkie: I can't reproduce your problem, but I have a possible source patch to suggest for you, though it will take me about an hour to be in a position to give it to you.
<dwrensha> I think the TXT thing is probably orthogonal to the actual problem here.
<dwrensha> We fall through to a TXT lookup if the URL doesn't look like ROOT_URL or doesn't match any grain
<jeffmendoza> How do you setup a new server with my old sandcats keys?
<jeffmendoza> I dropped the keys into /opt/sandstorm/var/sandcats
<jeffmendoza> and made sure my /opt/sandstorm/sandstorm.conf contained the right names
<jeffmendoza> I imagine sandcats.io needs to know my new IP somehow?
<ocdtrekkie> paulproteus: resolv.conf has a nameserver of 192.168.157.2 listed in there, and that's it.
<ocdtrekkie> That IP has no relevance on my network, AFAIK.
<ocdtrekkie> dwrensha: sandstorm.conf pasted in #398
<dwrensha> ok, delete the WILDCARD_PARENT_URL
<dwrensha> and get rid of the "http://" in the WILDCARD_HOST
<ocdtrekkie> That fixed it
<ocdtrekkie> One of those two things.
<dwrensha> so looks like the bug here is "unhelpful error message"
<dwrensha> jeffmendoza: paulproteus is the expert on sandcats
<dwrensha> but I believe it's supposed to "just work"
<dwrensha> like, you never need to explicitly tell it your IP
<dwrensha> I think sandcats detects your IP when your server connects to it
<jeffmendoza> does the server connect? or only the installer script?
<dwrensha> I'm not sure, but I think the server regularly pings sandcats
<dwrensha> on the order of once every few minutes
<dwrensha> paulproteus: please correct me if I'm wrong!
<ocdtrekkie> Random sidebar: I submitted Scrumblr to the app list since a dev list user wants to use it, which officially means my port is "useful".
<ocdtrekkie> Now that my Sandstorm grains work, I will be updating the port as time permits.
<jadewang> I'm open to caption suggestions
paroneayea has quit [Read error: Connection reset by peer]
<ocdtrekkie> jadewang: You should do like a Garply caption contest or something on a regular basis.
<jadewang> ^_^
paroneayea has joined #sandstorm
bengo has joined #sandstorm
bengo has quit [Client Quit]
bengo has joined #sandstorm
<XgF> witty caption generation: failed :(
bengo has quit [Client Quit]
bengo has joined #sandstorm
bengo has quit [Client Quit]
* paulproteus waves to jeffmendoza
<paulproteus> jeffmendoza: Whoa, it is pretty cool that someone is using Sandcats, and even that you read the output of the installer!
<paulproteus> I should make sure that https://github.com/sandstorm-io/sandstorm/wiki/Sandcats-dynamic-DNS can answer your questions.
<paulproteus> FWIW, it should auto-update if you have all the right sandstorm.conf settings.
bengo has joined #sandstorm
<paulproteus> win 2
<paulproteus> ...
bengo has quit [Quit: Computer has gone to sleep.]
<paulproteus> (in which asheesh can't use irssi)
<jeffmendoza> paulproteus: thanks
<jeffmendoza> I have BASE_URL and WILDCARD_HOST set in my conf
<jeffmendoza> SANDCATS_BASE_DOMAIN is not set, do I need that?
<jeffmendoza> when you say "You can recover a domain by using the Sandstorm installer and typing help at the Sandstorm prompts." you mean the installer prompt?
<paulproteus> You do need that, yeah re: SANDCATS_BASE_DOMAIN
<paulproteus> Ya re: I mean installer prompt
<jeffmendoza> ah ok, can you re-run the installer?
<jeffmendoza> oh, hey, it's working =)
<paulproteus> jeffmendoza: (-: Yippee!
<paulproteus> Probably we should write up the recovery instructions so people have some idea of what the heck to do.
<paulproteus> If you are possibly interested in doing that, I would _love_ if you can put an attempt at that in a new section on https://github.com/sandstorm-io/sandstorm/wiki/Sandcats-dynamic-DNS
<paulproteus> If you're not interested in it, that's fine; I'll attempt to do so later.
gopar has joined #sandstorm
<jeffmendoza> paulproteus: ok, just added a section
<jeffmendoza> do you need to restart sandstorm to pickup conf changes?
bengo has joined #sandstorm
<jeffmendoza> ok, hmm, my wildcard dns is working with sandcats, but I'm getting an error when going to a grain:
<jeffmendoza> Error looking up DNS TXT records for host '3qd5nra5kim2vgkyu7ic.jlm.sandcats.io': queryTxt ENODATA
<jeffmendoza> nslookup 3qd5nra5kim2vgkyu7ic.jlm.sandcats.io return the right IP
<dwrensha> what is your WILDCARD_HOST?
<dwrensha> in sandstorm.conf
jeffmendoza has quit [Remote host closed the connection]
jeffmendoza has joined #sandstorm
<jeffmendoza> oops, disconnected for some reason
<jeffmendoza> problem was I had a trailing slash on my "WILDCARD_HOST" var in the conf
<jeffmendoza> I think the installer is not stripping the trailing slash when it generates the DEFAULT_WILDCARD from the BASE_URL you type in
<jeffmendoza> yeah, I'll file an issues
bengo has quit [Quit: Computer has gone to sleep.]
bengo has joined #sandstorm
bengo has quit [Client Quit]
<jeffmendoza> #399
bengo has joined #sandstorm
<paulproteus> jeffmendoza: You are amazing. Thank you so much!
<jeffmendoza> paulproteus: no prob, sandstorm is awesome
<paulproteus> jeffmendoza: Let me know if my changes at https://github.com/sandstorm-io/sandstorm/wiki/Sandcats-dynamic-DNS retain enough information from your original edit; I added some bullets and moved stuff around.
<jeffmendoza> paulproteus: :+1:
fonfon has joined #sandstorm
natea has quit [Quit: natea]
bengo has quit [Quit: Computer has gone to sleep.]
natea has joined #sandstorm
bb010g has quit [Quit: Connection closed for inactivity]
bengo has joined #sandstorm
gopar has quit [Quit: Leaving]
natea has quit [Quit: natea]
<ocdtrekkie> Starting to update Scrumblr with the 39 commits since I ported it. (I do this largely manually because I'm a masochist and want to make sure they didn't change anything I don't want changed. And sometimes I learn things.)
<ocdtrekkie> Like the outside dependency they added.
fonfon has quit [Ping timeout: 244 seconds]
paroneayea has quit [Read error: Connection reset by peer]
paroneayea has joined #sandstorm
bengo has quit [Quit: Computer has gone to sleep.]
bb010g has joined #sandstorm
bengo has joined #sandstorm
<paulproteus> A possibly interesting thing: https://github.com/sandstorm-io/sandstorm/pull/400 "Work In Progress: sandstorm install script tests"
<paulproteus> zarvox: http://paste.debian.net/175973/ is my wifi card
<ocdtrekkie> Just brought home two PowerEdge servers.
<ocdtrekkie> One of them will probably be running Sandstorm at some point.
<paulproteus> Nice.
<paulproteus> BTW I have basically a spare 1U rackmount i7 with 16 GB of RAM.
<paulproteus> I'm not sure it's literally spare, but I am not sure I'm going to rack it anywhere again.
<paulproteus> It's some basically reasonable 4-SATA-disk SuperMicro thing.
<ocdtrekkie> That massively outclasses my PowerEdges.
<ocdtrekkie> Both of them put together in fact, lol. :P
<ocdtrekkie> I wanna say the one I'm going to play with has two dual-core AMD Opterons.
eldios has joined #sandstorm
<eldios> hello good fellows
<eldios> trying sandstorm on my own server right now and everything looks great so far
<eldios> really slick.. so congrats for that.
<eldios> I'm having a hard time sending invites though... it's complaining that I'm now an admin even if I have the admin UI open in another tab O_o
<eldios> any hint?
<eldios> sandstorm is 0.78 and I'm using nginx as a frontend
<eldios> with sandstorm automagic installation
<dwrensha> hi eldios
<eldios> yo dwrensha
<dwrensha> what is the specific error you get?
<eldios> I'm assuming you're David Renshaw
<dwrensha> that's me
<eldios> well nice to meet you :) bring a bucket of fresh compliments to the rest of the team from Italy ;)
<dwrensha> :)
<dwrensha> so you click the button under "create a link", and then something bad happens?
<eldios> where's that button?
<eldios> I'm seeing the /invite link in the /admin UI
<eldios> but I don't see that "create a link" button
<eldios> I generated myself an admin-token via CLI
<eldios> and used that to access the admin UI
<eldios> then from there tried using the /invite page
<eldios> but was getting the error above
bengo has quit [Quit: Computer has gone to sleep.]
<dwrensha> so you can open the /admin page, but you get an error when you try to open the /invite page
<eldios> that's correct sir