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
afuentes has quit [Quit: Leaving]
<kentonv> samba_: To be clear, the only problem with changing Sandstorm's host is that any links you gave to people won't work anymore, obviously, because they contain the wrong host. But if you tell people to change the link to the right host, it will work.
<samba_> ook kentonv , nice to help me to understand that. do you think I can be able to edit the mongodb to tell the db to point to another hostname?
<kentonv> samba_: No no, that's not the problem. The hostname isn't in the DB.
<kentonv> you're imagining that this is way more complicated than it is. :)
<samba_> what's in the db, just the stuff after the domain name?
<kentonv> no, none of it is in the DB
<kentonv> the links are in e-mails and such that you sent to people, not in the DB
<kentonv> if you e-mailed someone a link to foo.example.com, but later you changed the host to bar.example.com, then the link to foo.example.com won't work anymore, because the site isn't there anymore.
<kentonv> samba_: to be clear, it's the old e-mails that have broken links. All new e-mails will have correct links. It's because we can't go and update the e-mails that were already sent. :)
<samba_> ah, ok.. so let me ask one last thing: if I redirect my site.org to sandstorm.site.org and wait a sufficent time, all the new grains will use the new domain and shared link will work with the new domain
<samba_> is this correct?
<samba_> also: there's no track in sandstorm, db, cache or anything of the link to a grain ?
<kentonv> the database only stores the token (the last part of the link). It doesn't store the hostname or domain.
<kentonv> if you set up a redirect then all the links that already went out will work, yes.
<TimMc> samba_: There's no "wait a sufficient time" step. As soon as you move the site to the new hostname, all the old emailed and bookmarked links will break; as soon as you put up a redirect at the old host, the links will start working again.
<TimMc> and you'll need to keep that redirect up indefinitely
<kentonv> somehow we've accidentally made this seem way more complicated than it is. I'm really just describing what happens any time you change the address of any server. :)
<kentonv> there's nothing special about Sandstorm here. :)
<samba_> can you explain better this last part? what is complicated ?
<kentonv> it's not complicated. That's what I'm trying to say. :)
<samba_> ah, ok. ahaha nice
<kentonv> if you have a web site and then you change the address of the web site, then any links that you sent people in the past won't work, unless you have a redirect.
<TimMc> Well, my first attempt to get someone else to use an app on my sandstorm server went poorly.
<kentonv> aww, why is that?
<TimMc> I offered my server for hosting photos. I invited them and explained in the email how to find and install Lychee (which I made preinstalled for ease of use), how to add photos, the need to make a *public* album, how to drag them in... and how to add a sharing link.
<TimMc> They then posted the link to the grain to social media, which of course didn't work.
<kentonv> doh
<TimMc> I wonder if they just missed that step in their eagerness, or if they thought that adding a sharing link made the grain public. Might ask. But it occurs to me that the experience of visiting a grain direcetly could offer both "you need to log in" but also "or ask the owner to send you a link from the Share Access tab".
<kentonv> when you visit a grain directly that you don't have access to, you should see a "request access" button which e-mails the owner...
<kentonv> and directs the owner through sharing via the sharing dialog
<TimMc> Oho, interesting!
<kentonv> a little trick we copied from Google Docs.
<TimMc> It sounds like possibly people didn't click it... the owner had said in their post "you won't need to log in".
<kentonv> hmm you would need to log in to request access
<TimMc> ah
<TimMc> These are non-users of the app.
<kentonv> ah yeah, if you aren't logged in it says "Please sign in to request access"
<TimMc> yup
xet7 has joined #sandstorm
<TimMc> ...and a grain owner is not necessarily an admin, so they can't invite.
<TimMc> So there might be value in some other mechanism there, or even just additional messaging.
<TimMc> Context, if you're interested: I've been talking with people about the problem of hosting photos of protests on imgur, facebook, etc. -- don't want identifiable photos of people who do not consent uploaded to centralized sites, but sharing photos of protests builds social energy around them. Sandstorm galleries seem a decent option.
<kentonv> They can sign in as a guest without an admin invite.
<kentonv> They won't be able to install apps or create grains but they can sign in.
<TimMc> (I think it's a great use-case because if the crappy server I'm hosting protest photos on dies without a backup... not a huge deal.)
<TimMc> By guest you mean Visitor, in teh meaning of the admin panel?
<kentonv> yes
<TimMc> I wonder if the page could lower the hurdle to people signing in as new Visitors. "Sign in" implies to me "you must already have an account".
<kentonv> yeah, unfortunately there isn't a well-understood term that I know of for "identify yourself based on an account you already have with a different, well-known service"
aldeka_limechat has quit [Remote host closed the connection]
<TimMc> *nod*
<kentonv> on oasis.sandstorm.io when logged out you actually see a "create account" form while the upper-right has a "sign in" form, but they do the same thing. Because people *expect* that they have to create an account before they sign in, and they *expect* that once they have created an account they shouldn't choose "create account" again.
<TimMc> hah
<TimMc> Someday I want to create a site that says "sign in" and it just... signs you in. No authentication or whatever. Just to surprise people.
<TimMc> "You are now "terry123572", don't lose that cookie."
<TimMc> I wonder if the unauthed grain page could just *display* the sign-in/account creation form, since that way people will be able to think "oh, I *have* a Google account, I can do this"
<kentonv> that's a good point
<TimMc> It's a pretty spare page as is, so I wouldn't be concerned about clutter... other than a big ol' signin form potentially distracting from the error message.
<kentonv> plopping the login form there ought to be pretty easy.
n8a has joined #sandstorm
n8a has quit [Ping timeout: 255 seconds]
samba_ has quit [Quit: WeeChat 1.6]
n8a has joined #sandstorm
jemc has joined #sandstorm
jemc has quit [Client Quit]
jemc has joined #sandstorm
FredFredFred_ has quit [Ping timeout: 255 seconds]
wolcen has quit [Remote host closed the connection]
FredFredFred has joined #sandstorm
biotim has quit [Quit: Leaving]
biotim has joined #sandstorm
jemc has quit [Ping timeout: 240 seconds]
ecloud_ is now known as ecloud
tobald has joined #sandstorm
astuce has joined #sandstorm
<astuce> hello ! hello !
<astuce> i'm using haproxy to redirect layer 4 to the sandstorm vm on wich i installed nginx as reverse proxy and i got errors on iframe and wildcard
gambatte has quit [Ping timeout: 240 seconds]
gambatte has joined #sandstorm
vanburen has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<astuce> when i use only nginx reverse proxy, got no prob
simonv3_ has quit [Quit: Connection closed for inactivity]
FredFredFred_ has joined #sandstorm
FredFredFred has quit [Read error: Connection reset by peer]
anthropy has quit [Remote host closed the connection]
wolcen has joined #sandstorm
anthropy has joined #sandstorm
rafaelmartins has quit [Remote host closed the connection]
Lionel_Debroux has quit [Ping timeout: 240 seconds]
Lionel_Debroux_ has joined #sandstorm
bodisiw has joined #sandstorm
bodisiw has quit [Quit: Leaving]
fonfon has joined #sandstorm
kentonv has quit [Ping timeout: 255 seconds]
samba_ has joined #sandstorm
anthropy has quit [Remote host closed the connection]
anthropy has joined #sandstorm
samba_ has quit [Ping timeout: 240 seconds]
funwhilelost has joined #sandstorm
<TimMc> astuce: Is nginx changing the Host header by any chance?
<astuce> i'll check that :)
jemc has joined #sandstorm
<astuce> but haproxy should not cause pb cause it should just forwards on tcp !
<TimMc> Do you have evidence haproxy is actually causing a problem? Like, did you have some other mechanism to funnel traffic into the VM before?
samba_ has joined #sandstorm
jemc has quit [Quit: WeeChat 1.4]
jemc has joined #sandstorm
funwhilelost has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ill_logic_ has quit [Ping timeout: 256 seconds]
anthropy has quit [Ping timeout: 276 seconds]
aldeka_limechat has joined #sandstorm
anthropy has joined #sandstorm
funwhilelost has joined #sandstorm
fonfon has quit [Remote host closed the connection]
anthropy has quit [Remote host closed the connection]
anthropy has joined #sandstorm
asheesh has quit [*.net *.split]
Tryum has quit [*.net *.split]
gwillen has quit [*.net *.split]
chilts has quit [*.net *.split]
shachaf has quit [*.net *.split]
uppermgmt has quit [*.net *.split]
decause has quit [*.net *.split]
asheesh has joined #sandstorm
uppermgmt has joined #sandstorm
Tryum has joined #sandstorm
decause has joined #sandstorm
gwillen has joined #sandstorm
TimMc has quit [*.net *.split]
XgF has quit [*.net *.split]
_habnabit has quit [*.net *.split]
_habnabit has joined #sandstorm
TimMc has joined #sandstorm
chilts has joined #sandstorm
XgF has joined #sandstorm
shachaf has joined #sandstorm
Aurelius2 has quit [Ping timeout: 240 seconds]
Aurelius has joined #sandstorm
tobald has quit [Quit: Ex-Chat]
jemc has quit [Ping timeout: 252 seconds]
funwhilelost has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Waker has joined #sandstorm
Waker has quit [Client Quit]
kentonv has joined #sandstorm
<kentonv> is mrdomino here?
jemc has joined #sandstorm
wolcen has quit [Remote host closed the connection]
wolcen has joined #sandstorm
esmiurium has quit [Read error: Connection reset by peer]
<kentonv> how about strugee?
samba_ has quit [Quit: WeeChat 1.6]
xet7 has quit [Ping timeout: 240 seconds]
biotim has quit [Quit: Leaving]
biotim has joined #sandstorm
<mrdomino> kentonv: hi
<kentonv> hi
<kentonv> you use sniproxy?
<mrdomino> yeah
<kentonv> FYI your certs aren't renewing. But I found the bug: https://github.com/sandstorm-io/sandstorm/pull/2848
<kentonv> going to push a release as soon as the tests pass
<mrdomino> oh, awesome!
<mrdomino> thanks
<kentonv> I think you have enough time left that you won't need to take an action. But if you feel like it, do "sandstorm update" tonight.
<mrdomino> ok, thanks
<kentonv> mrdomino: if you could try a "sandstorm update" now, that would be useful to see if it fixes things.
<mrdomino> done
<mrdomino> seems like it worked
<kentonv> hmm, my browser still shows cert expiring tomorrow
<kentonv> ah but globalsign logs show a cert just issued
<mrdomino> my logs say it got the new cert and will switch "soon"
<kentonv> yep, looks like all is good
<mrdomino> :) thanks
<jemc> is it possible to use a still-in-development app on oasis (like, copying a grain from my local vagrant-spk dev, perhaps?)
<jemc> or alternatively, is it possible to publish a "still in development" app to the global app market, in such a way that people won't try to use it too early and give bad reviews that things are still broken?
NwS has joined #sandstorm
<kentonv> jemc: yes and yes. You can upload custom spk files and use them privately on Oasis if you have a paid account. Separately, if you submit an app to the app market, it will immediately show up on https://apps.sandstorm.io?experimental=true -- the experimental index. It won't appear on the main index until we approve it. So you could indicate in the description that it's not ready yet, and I won't approve it.
<jemc> kentonv: wonderful, thanks for the thorough answer
<asheesh> kentonv: Thanks for finding that difficulty with sniproxy + cert renewal stuff, and for pinging people about it!