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
harish has quit [Ping timeout: 268 seconds]
ShalokShalom has quit [Read error: Connection reset by peer]
seth_tcdc has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
seth-tcdc has joined #sandstorm
<seth-tcdc> Hi, apologies if this is obvious and I missed it. I am getting a "Failed to install app connect ECONNREFUSED" error when I try to install anything on the sandstorm server I am trying to set up. The sandstorm server itself is up and running, but I can't install any apps on it.
`Ishq has left #sandstorm ["WeeChat 1.0.1"]
<dwrensha> seth-tcdc: is the server behind some kind of proxy?
<seth-tcdc> it is, but I've it has an exemption that appears to be working (ie, curl, wget, apt all work)
<dwrensha> hm. I wonder if those things working depends on some kind of configuration in /etc/ that doesn't get copied over to Sandstorm
<seth-tcdc> oddly, if I download the file the links point to (i.e - https://app-index.sandstorm.io/packages/4304ec4879f67496dd269283aa24ea21) and use the upload app functionality it will install.
<dwrensha> The Sandstorm server containerizes itself, so it does not see the /etc/ of the system its running on. It does try to be intelligent about grabbing what configuration it might need
<dwrensha> yeah, that's what I would expect
<dwrensha> your server has outgoing network problems
<seth-tcdc> so is there a place I need to add proxy details?
Zarutian has joined #sandstorm
<seth-tcdc> actually, it doesn't seem to be working.. while the apps can install, the grains do not initialize.
<dwrensha> I guess maybe your WILDCARD_HOST isn't working either?
<seth-tcdc> it seems to be
<seth-tcdc> randomstring.servername.domain.tld is resolving correctly
<seth-tcdc> I added my proxy details to /etc/systemd/system/sandstorm.service
<seth-tcdc> and restarted systemmd and sandstorm, I can now download apps and install them.. but they still wont run
<dwrensha> anything in /opt/sandstorm/var/log/sandstorm.log?
harish has joined #sandstorm
<dwrensha> anything in the browser console?
<dwrensha> anything in the grain log?
<seth-tcdc> "Blocked illegal cross-origin referral from..."
<seth-tcdc> there is a whole bunch of 403 errors in the browser console
harish has quit [Ping timeout: 260 seconds]
<dwrensha> heh. is your WILDCARD_HOST as subdomain of your BASE_URL?
<seth-tcdc> BASE_URL=http://servername.domain.tld.nz:6080
<seth-tcdc> WILDCARD_HOST=*.servername.domain.tld.nz:6080
<dwrensha> I would expect that to work
<seth-tcdc> where is the grain log?
harish has joined #sandstorm
<dwrensha> usually you can click on "show debug log" (the computer icon" on the topbar while visiting a grian
<dwrensha> that button might not be there if grains are failing to load
<dwrensha> on the filesystem, the grain log with be at /opt/sandstorm/var/sandstorm/grains/<grainId>/log
<seth-tcdc> Oddly, I can get the grains working if I click the urls in the error messages
pie_ has quit [Ping timeout: 260 seconds]
<dwrensha> do they open in new browser tabs?
<seth-tcdc> yes. without the portal.
<seth-tcdc> and when the open the tabs in the portal show this: Blocked illegal cross-origin referral from: http://servername.domain.tld.nz:6080/grain/NHpJaW5fwuwmoGE2tcgb5Z [403]
<dwrensha> weird. so something about the iframe is causing a problem
<dwrensha> what browser are you using?
<seth-tcdc> I just tried in ie, same issues.
pie_ has joined #sandstorm
<seth-tcdc> I am using chrome
<seth-tcdc> Version 57.0.2987.98 (64-bit)
<seth-tcdc> I have tried resetting the server
<seth-tcdc> *rebooting
michaelw has quit [Remote host closed the connection]
<dwrensha> (in private chat seth-tcdc and I deduced that the problem was that BASE_URL had some capital letters)
<seth-tcdc> thanks!
pie_ has quit [Ping timeout: 240 seconds]
afuentes has joined #sandstorm
michaelw has joined #sandstorm
wolcen has quit [Quit: Leaving]
wolcen has joined #sandstorm
harish has quit [Ping timeout: 246 seconds]
Jan\ has quit [Ping timeout: 260 seconds]
griff_ has joined #sandstorm
Triplefox has quit [Ping timeout: 256 seconds]
Triplefox has joined #sandstorm
griff_ has quit [Quit: griff_]
afuentes has quit [Ping timeout: 240 seconds]
Zarutian has quit [Quit: Zarutian]
harish has joined #sandstorm
MatheusRV has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
seth-tcdc has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
harish has quit [Ping timeout: 240 seconds]
mnutt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jemc has joined #sandstorm
jemc has quit [Ping timeout: 268 seconds]
harish has joined #sandstorm
guido[m] has left #sandstorm ["Kicked by @appservice-irc:matrix.org"]
Zertrin[m] has left #sandstorm ["Kicked by @appservice-irc:matrix.org"]
testoi has joined #sandstorm
testoi has quit [Client Quit]
afuentes has joined #sandstorm
cevi has quit [Quit: ZNC 1.6.4+deb1+b1 - http://znc.in]
cevi has joined #sandstorm
prettyvanilla has quit [Read error: Connection reset by peer]
prettyvanilla has joined #sandstorm
CcxWrk has quit [Ping timeout: 260 seconds]
CcxWrk has joined #sandstorm
Zarutian has joined #sandstorm
<astuce> since 204 i have this error : Error: Backup failed: Error: Internal server error [500]
CcxWrk has quit [Ping timeout: 258 seconds]
Zarutian has quit [Quit: Zarutian]
CcxWrk has joined #sandstorm
<dwrensha> astuce: do you see anything interesting in /opt/sandstorm/var/log/sandstorm.log?
jemc has joined #sandstorm
<astuce> sandstorm/util.c++:56: failed: open(name.cStr(), flags, mode): Permission denied; name = metadata
<dwrensha> what are the filesystem permissions on that file?
<dwrensha> "ls -l /opt/sandstorm/var/sandstorm/grains/<grainId>/"
<dwrensha> hm... I guess there is not actually a file named "metadata" usually
<dwrensha> oh, I guess it gets created in the course of a backup
<dwrensha> astuce: did backups work before v204?
<dwrensha> I'm guessing that somehow this commit broke them: https://github.com/sandstorm-io/sandstorm/commit/4ea8df7403381d9b657b121b3c98d8081b27414d
<dwrensha> but I'm not sure how
<astuce> -rw------- 1 sandstorm sandstorm 352351 mars 15 16:29 log
<astuce> drwxr-x--- 4 sandstorm sandstorm 4096 févr. 3 12:49 sandbox
<astuce> srwxrwx--- 1 sandstorm sandstorm 0 mars 15 14:16 socket
<astuce> yeah before 204 it worked well
<astuce> i restored a backup of 202 it works well, the weird thing is that i disabled autoupdates by setting "none" instead of "dev" in /opt/sandstorm/sandstorm.conf and it updates anyway...
<astuce> yeah i saw that commit, i think its that
rolig has quit [Ping timeout: 240 seconds]
harish has quit [Ping timeout: 240 seconds]
rolig has joined #sandstorm
harish has joined #sandstorm
<dwrensha> astuce: I wonder if this has to do with the non-userns sandboxing strategy: https://github.com/sandstorm-io/sandstorm/pull/2644
dcb has quit [Ping timeout: 240 seconds]
<dwrensha> astuce: does your system have a file named /proc/sys/kernel/unprivileged_userns_clone ?
<dwrensha> and if so, what are its contents?
Jan\ has joined #sandstorm
<astuce> yes i do, 1 inside
<dwrensha> hm. That means unprivileged user namespaces are enabled, I think
<dwrensha> so that makes my theory less plausible
dcb has joined #sandstorm
<dwrensha> astuce: Are you the person who opened https://github.com/sandstorm-io/sandstorm/issues/2892 ?
<dwrensha> and if not, are you also on Debian Jessie?
<astuce> i'm not :)
<astuce> yeah jessie !
<astuce> i dont understand i have an other sandstorm instance on an other system which is the same and no issue on 204 !
<dwrensha> also Debian Jessie?
<astuce> yeah
<dwrensha> did you install them at the same time?
<astuce> i think , the one which is working was installed one year ago so i dont rememenber but i used the official way with the script
<astuce> and the non working version was deployed the same way
<dwrensha> weird!
<astuce> YEAH !!!
<astuce> but its definitly from 204 (or 203)
<dwrensha> can you check the kernel versions on each machine?
<dwrensha> uname -a
mnutt_ has joined #sandstorm
Telesight has joined #sandstorm
bodisiw has joined #sandstorm
natea has joined #sandstorm
Jan\ has quit [Read error: Connection reset by peer]
xet7 has joined #sandstorm
jemc has quit [Ping timeout: 260 seconds]
gbraad_ has joined #sandstorm
gbraad_ has quit [Client Quit]
wolcen has quit [Ping timeout: 268 seconds]
jemc has joined #sandstorm
bodisiw has quit [Quit: Leaving]
dwrensha has quit [Quit: Lost terminal]
thekyriarchy_ has quit [Quit: WeeChat 1.7]
mnutt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dwrensha has joined #sandstorm
bodisiw has joined #sandstorm
natea has quit [Remote host closed the connection]
<dwrensha> astuce: that other user who hit the backup error apparently fixed things by fiddling with userns configuration: https://github.com/sandstorm-io/sandstorm/issues/2892
<dwrensha> I don't understand it
<dwrensha> ¯\_(ツ)_/¯
mnutt_ has joined #sandstorm
wolcen has joined #sandstorm
simonv3 has joined #sandstorm
Telesight has quit [Quit: Leaving.]
bodisiw has quit [Read error: Connection reset by peer]
wolcen has quit [Quit: Leaving]
_whitelogger has joined #sandstorm
mnutt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mnutt_ has joined #sandstorm
jemc has quit [Ping timeout: 240 seconds]
cevi has quit [Quit: ZNC 1.6.4+deb1+b1 - http://znc.in]
cevi has joined #sandstorm
jemc has joined #sandstorm
afuentes has quit [Ping timeout: 258 seconds]
mnutt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]