kentonv changed the topic of #sandstorm to: Welcome to #sandstorm: home of all things sandstorm.io. Say hi! | Have a question but no one is here? Try asking in the discussion group: https://groups.google.com/group/sandstorm-dev | Public logs at https://botbot.me/freenode/sandstorm/
_whitelogger has joined #sandstorm
_whitelogger has joined #sandstorm
_whitelogger has joined #sandstorm
TheJH_ has joined #sandstorm
TheJH has quit [*.net *.split]
Zertrin_ has quit [*.net *.split]
Zertrin_ has joined #sandstorm
xet7 has joined #sandstorm
Zarutian has quit [Ping timeout: 252 seconds]
Zarutian has joined #sandstorm
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 258 seconds]
frigginglorious has joined #sandstorm
rjBadger has joined #sandstorm
<rjBadger> hello, dumb quesiton. I just installed sandstorm in a Digital ocean instance and set it up with a sandcats.io subdomain. I decided I did not like that original subdomain. Is there an easy way to change it now, or do I have to reinstall?
<TimMc> rjBadger: You can change the config file, yeah.
<TimMc> Hmm... I guess I'm not sure about the sandcats part of the process...
<kentonv> rjBadger, I would recommend installing a new sandstorm instance on a throw-away VM, claiming your new sandcats domain with that one, then copy /opt/sandstorm/sandstorm.conf and /opt/sandtorm/var/sandcats over to your original installation.
pie__ has quit [Ping timeout: 258 seconds]
satinder has joined #sandstorm
<satinder> Hi ,,,,, I am facing the problem after installing sandstorm
<satinder> WARNING: This server seems to have its WILDCARD_HOST misconfigured. Until you fix it, you will not be able to use any apps. You can read more info in the Sandstorm docs and in your browser's Javascript console. You'll need to adjust DNS, SSL/TLS certificates, or edit the sandstorm.conf file. If you see no information in the JS console, or wish to t
<satinder> est if you have fixed the problem, reload this page to re-run the test. If you're still having problems, please file an issue.
<satinder> here is my sandstorm.conf file
<rjBadger> <kentonv "rjBadger, I would recommend inst"> Great, thanks for the advice
<satinder> and my nginx file is above
<satinder> i am getting this error at email login "rootUrl is not valid"
<satinder> [Exception... "Favicon at "https://apps.gndec.ac.in/favicon.ico" failed to load: Bad Gateway." nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource:///modules/FaviconLoader.jsm :: onStopRequest :: line 199" data: no]
<kentonv> satinder, do you intend for Sandstorm to use HTTP or HTTPS? Your config says HTTP, but when I curl your host, it returns a redirect to HTTPS
<satinder> I configure my nginx to https
<kentonv> then your sandstorm.conf should have BASE_URL=https://apps.gndec.ac.in
<kentonv> but currently it has http:
<satinder> i just corrected it and the email starts working fine
<satinder> but the warning is still there
<satinder> WARNING: This server seems to have its WILDCARD_HOST misconfigured.
<kentonv> I notice your TLS certificate is not signed by a trusted CA. Have you installed a local CA certificate into your browser, or are you just clicking through the "bad certificate" warning?
<satinder> i used loacal CA certificate that i used with my base url i.e gndec.ac.in on other machine. I am using the same on this machine
<kentonv> does your browser trust that certificate? Or do you get a security warning when you first visit Sandstorm which you have to click through?
<satinder> My browser trust certificate, i am not getting any warning
<satinder> but my browser console give this warnig :
<satinder> WARNING: This server seems to have its WILDCARD_HOST misconfigured.
<satinder> Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://selftest-4f88e5813b84bc2f9fff.apps.gndec.ac.in/. (Reason: CORS request did not succeed)
<kentonv> oh wait, the certificate doesn't match the wildcard
<kentonv> a wildcard only matches one level of hostnames, unfortunately
<kentonv> your certificate is for *.gndec.ac.in, which won't match foo.apps.gndec.ac.in
<satinder> how did you find this
<satinder> and what will be the possible solution
<kentonv> I opened you host in my browser and looked at the certificate.
<kentonv> you either need a new certificate for *.apps.gndec.ac.in, or you could map the wildcard to, say, sandstorm-*.apps.gndec.ac.in
<kentonv> err
<kentonv> I mean apps-*.gndec.ac.in
<kentonv> so you could have: WILDCARD_HOST=apps-*.gndec.ac.in
<kentonv> but, you would need *.gndec.ac.in to map to your nginx instance, and then you'd need nginx to recognize the "apps-" prefix
<satinder> i just update my WILDCARD_HOST=apps-*.gndec.ac.in and now i need to update in DNS as you saif
<satinder> saif
<satinder> said
<satinder> kentonv the last one is good idea ... i am doing that
<satinder> Thanks .....
<kentonv> yeah so if you can map *.gndec.ac.in to your nginx, this will work. If you can't do that, then you'll need to get a new certificate that covers *.apps.gndec.ac.in
<satinder> Yeah i get it .... i will ping you if needed, please bear me, as i am new to sandstorm
frigginglorious has quit [Ping timeout: 248 seconds]
frigginglorious has joined #sandstorm
satinder has quit [Ping timeout: 252 seconds]
yjmbonet has joined #sandstorm
yjmbonet has left #sandstorm [#sandstorm]
pie_ has joined #sandstorm
satinder has joined #sandstorm
<rjBadger> I seem to be stuck in a loop, ill finish the autiomated setup for a new install, try to create a user using github, and then Ill be sent back to the start of the setup. Any ideas whats going wrong?
satinder has quit [Remote host closed the connection]
larjona has quit [Quit: http://quassel-irc.org - Chatee cómodamente donde sea.]
frigginglorious has quit [Ping timeout: 244 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 268 seconds]