<xet7>
You need to wait for DNS and sandcats to update
<xet7>
it's not instant
<TMM>
yeah, that worked
<TMM>
but I couldn't restore my old /var
<TMM>
I'm trying to piece back together the grains that I really need back
michael_s has joined #sandstorm
<michael_s>
Hello all - quick question: I have a sandstorm instance running in dev mode on a VM, no errors anywhere. But local.sandstorm.io didn't resolve until I added it to my /etc/hosts manually. Is that expected?
samba_ has quit [Quit: WeeChat 2.0.1]
<TimMc>
michael_s: Maybe you don't have networking set up properly on the VM? I can resolve that domain.
<TimMc>
TMM: Hmm, how did you take the backup? Did you stop Sandstorm first and verify that it (and its mongod) weren't running?
<michael_s>
I built Sandstorm from source using the git repo from earlier this week, and installed it in dev mode.
<TimMc>
michael_s: local.sandstorm.io is just a domain name out there on the internet, not a property of your local install.
<TimMc>
And it points to 127.0.0.1, yes.
<TimMc>
What happens if you do `dig +short local.sandstorm.io` from the VM?
<TMM>
TimMc, yeah, I just copied the old var/sandstorm back but afterwards mongo wouldn't start anymore.
<michael_s>
Nothing.
<TimMc>
TMM: Oh! Right, no, you do need to do a sandstorm installation on the new host, then stop it and overwrite it.
<TimMc>
because it does write some service files and symlinks and whatnot to OS directories
<TimMc>
michael_s: How about `dig +short apps.sandstorm.io`? (Just picking another domain.)
<michael_s>
The make install step added the service for me, so it starts and it is listed as running properly under 'systemctl status sandstorm.service'
<TimMc>
michael_s: Right, but I think TMM didn't. :-)
<michael_s>
Oh, sorry. Lost track of the fact that two conversations are happening at once.
<TMM>
yeah, I messed it up, but it's fine, I just manually made new grains and put the data back
<TMM>
next time I'll know better
<michael_s>
dig +short apps.sandstorm.io returned 104.25.186.98
<michael_s>
104.25.185.98
harish has joined #sandstorm
<michael_s>
But dig +short local.sandstorm.io does nothing, even after the restart.
<michael_s>
Again, I added local.sandstorm.io to /etc/hosts, so if I ping it I get a response. But no dig/host response.
<TMM>
TimMc, xet7, thanks for your help :)
<TimMc>
Glad you were able to get it moved!
<TMM>
yeah, it's now happily living on ssds :)
<TimMc>
nice
<TimMc>
Mine is currently home-hosted on a 10 year old repurposed laptop. After I upgrade the disk and RAM and it will be serviceable for a small crowd of friends.
<TMM>
It's hosting my new coproratish website through the wordpress thingy
<TimMc>
michael_s: Very weird! Although I should note that dig won't look at things in your /etc/hosts file, which I only learned recently.
<TMM>
and serving the static files had a noticeable lag
<TMM>
it just looked bad
<TimMc>
michael_s: (Nor will nslookup)
<TMM>
now it's snappy
<TMM>
I really like the static wordpress version that is in sandstorm
<TMM>
It seems the author isn't updating it anymore though, that's a shame
<TMM>
but it's not such a big problem because there's nothing to exploit on the frontend :)
<michael_s>
Right. I'm on a Fedora 27 VM and adding it to /etc/hosts lets me ping it properly, but doesn't seem to do anything with "dig +short local.sandstorm.io" or "host local.sandstorm.io". So now I have to figure out how to change my DNS settings.
<TMM>
is sandstorm itself still being developed? I don't remember seeing a new version in quite a while
<TimMc>
And... apps and local are both resolved using CloudFlare's DNS, so that shouldn't be a difference...
<TimMc>
TMM: Yeah, Kenton is still plugging away. :-)
<TimMc>
Not at full-time pace, naturally, but he was been working on features and bugs and internals.
<michael_s>
Thanks for your help anyway, TimMc. I'm stopping wrestling with this today. I'll send a note to the Google Group.
<TimMc>
OK, best of luck. (YOu might also try `dig +trace local.sandstorm.io` and compare the output to apps...)
<TimMc>
(It should show the same sequence of NS records)
<TMM>
does every app have the ability to be published on a separate url?
<michael_s>
Before I leave - the problem must be local to my home network. My server on Digital Ocean and one of the servers I can remote into at work both resolve local.sandstorm.io properly. I have a router with DD-WRT managing DNS for the home network, I guess something in there is blocking the 127.0.0.1 reference.
<michael_s>
... I won't mail the Google Group over that. I think I can come up with a workaround.
<michael_s>
Yeah, for the VM in question I just set the DNS to use a public DNS server instead of the DD-WRT router. local.sandstorm.io resolves properly. So DD-WRT was the dastardly villain. Well, that was a fun way to spend an hour and a half. :) Thanks again for your help TimMc.
<TimMc>
michael_s: Oho! Yes, it was probably trying to prevent localhost DNS attacks.
<TimMc>
Presumably 127.0.0.1.xip.io will similarly fail to resolve.
<michael_s>
I don't feel like switching it back to try. Everything is working properly now, woo hoo!
michael_s has quit []
isd has quit [Quit: Leaving.]
pie___ has joined #sandstorm
pie__ has quit [Ping timeout: 256 seconds]
jemc has joined #sandstorm
jemc has quit [Ping timeout: 260 seconds]
harish has quit [Ping timeout: 245 seconds]
ogres has joined #sandstorm
jemc has joined #sandstorm
sconybeare has quit [Read error: Connection reset by peer]
<kentonv>
michael_s TimMc: some DNS resolvers refuse to recognize records that point to 127.0.0.1 for "security reasons"
<kentonv>
it's kind of bogus security but there you go
<kentonv>
what you can do instead is map the server to `localhost`, with the wildcard host being `*.localhost`. It turns out that modern browsers hard-code `*.localhost` to 127.0.0.1.
<kentonv>
but! It's a browser feature. curl might not recognize it.
sconybeare has joined #sandstorm
jemc has quit [Ping timeout: 256 seconds]
harish has joined #sandstorm
harish has quit [Ping timeout: 265 seconds]
xet7 has quit [Ping timeout: 265 seconds]
pie___ has quit [Ping timeout: 256 seconds]
pie___ has joined #sandstorm
ogres has quit [Quit: Connection closed for inactivity]
taktoa has quit [Ping timeout: 260 seconds]
harish has joined #sandstorm
afuentes has joined #sandstorm
pie___ has quit [Ping timeout: 245 seconds]
wolcen has quit [Ping timeout: 245 seconds]
wolcen has joined #sandstorm
Zarutian_PI2 has joined #sandstorm
sconybeare has quit [Remote host closed the connection]
TMM has quit [Quit: Ex-Chat]
pie_ has joined #sandstorm
pie_ has quit [Ping timeout: 255 seconds]
michael_s has joined #sandstorm
michael_s has quit [Client Quit]
Zarutian_PI2 is now known as Zarutian_PI
<CcxWrk>
Using SOCKS5 proxy might be able to circumvent the browser checks.
pie_ has joined #sandstorm
pie_ has quit [Ping timeout: 256 seconds]
pie_ has joined #sandstorm
pie_ has quit [Ping timeout: 240 seconds]
pie_ has joined #sandstorm
michaelw has quit [Remote host closed the connection]
nwf_ has joined #sandstorm
<TimMc>
kentonv: I wonder how many also block the rest of 127.0.0.0/8 :-P
nwf has quit [Ping timeout: 256 seconds]
Zarutian_PI2 has joined #sandstorm
Zarutian_PI has quit [Read error: Connection reset by peer]
dagelf_ has quit [Remote host closed the connection]
jemc has joined #sandstorm
dagelf has joined #sandstorm
Zarutian_PI2 is now known as Zarutian_PI
nwf_ is now known as nwf
samba_ has joined #sandstorm
michaelw has joined #sandstorm
jemc has quit [Ping timeout: 240 seconds]
davidjgraph has joined #sandstorm
<davidjgraph>
evening all, time for my bi-annual lurk in here
jemc has joined #sandstorm
<davidjgraph>
I'm on the lookout for someone, probably Europe based, to implement a fairly large block on work on Sandstorm on draw.io. Stuff like real time collaboration natively in SS, publishing, image generation, blah
<davidjgraph>
doesn't have to be UI work, but I'm looking to do a complete rework on the file UI as well, but that could be for someone else
<davidjgraph>
all remote work, needs an experienced dev, we'll pay good rates
<davidjgraph>
The outcome is I want a draw.io-as-an-appliance, much in the same vein as SS is
<davidjgraph>
ok, so that wasn't actually a very good lurk, sorry
<davidjgraph>
david@draw.io if anyone comes across this later
davidjg71 has joined #sandstorm
davidjgraph has quit []
xet7 has joined #sandstorm
davidjgraph has joined #sandstorm
davidjg71 has quit [Read error: Connection reset by peer]
xet7 has quit [Ping timeout: 268 seconds]
isd has joined #sandstorm
Telesight has joined #sandstorm
xet7 has joined #sandstorm
isd has quit [Quit: Leaving.]
cstrahan has joined #sandstorm
davidjg74 has joined #sandstorm
davidjgraph has quit [Ping timeout: 260 seconds]
isd has joined #sandstorm
davidjgraph has joined #sandstorm
davidjg74 has quit [Ping timeout: 268 seconds]
isd has quit [Ping timeout: 240 seconds]
isd has joined #sandstorm
isd has quit [Ping timeout: 255 seconds]
Telesight has quit [Quit: Leaving.]
davidjgraph has quit [Quit: -a- IRC for Android 2.1.39]
afuentes has quit [Ping timeout: 240 seconds]
digitalcircuit has quit [Quit: Signing off from Quassel - see ya!]