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
<isd> If you just want a thing that makes self hosting traditional-ish server stuff easier, there's https://yunohost.org though I can't vouch for it as I haven't tried it
<isd> There are a lot of things about sandstorm that are pretty unique though.
<isd> The powerbox stuff has quite a lot of potential, but it isn't used extensively by very many apps yet.
<isd> I don't actually know if they support arm, now that I think of it.
<isd> Ah, yes they do.
<limbo_> ah, I've used yunohost before. Thought In remembred it, but couldn't get the name.
<limbo_> I can't seem to find a site for powerbox, would you mind linking it?
gharris has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
gharris has joined #sandstorm
gharris has quit [Client Quit]
<limbo_> isd: ^
<isd> limbo_: the powerbox is a feature of sandstorm: https://docs.sandstorm.io/en/latest/developing/powerbox/
<limbo_> ahh.
Zarutian has quit [Quit: Zarutian]
<ocdtrekkie> isd: I think heavy work on apps is going to lead to heavy work on core. Nothing brings people to a project like being able to do something with it.
<ocdtrekkie> One of the reasons I'm so excited about the background scheduling API. It not only will make some existing apps, like TinyTinyRSS, better, but it opens up a whole new class of apps that will work on Sandstorm.
<isd> Indeed.
<ocdtrekkie> I think turning off the update checker is simply a matter of not specifying an update branch in the config.
<ocdtrekkie> And then sandstorm update doesn't work (and doesn't occur automatically)
<ocdtrekkie> And you can update manually with "sandstorm update dev"
<isd> speaking of which: have you looked into using the powerbox stuff to do http requests, instead of relying on the (temporary) lack of Content-Security-Policy enforcement.
<isd> ?
<ocdtrekkie> I am not much of a developer and haven't looked at much at all relating to using the Powerbox.
<isd> It would be nice to close that hole, TinyTinyRSS is the only app I know of off the top of my head that really *needs* it.
<ocdtrekkie> TTRSS doesn't use client-side AFAIK.
<ocdtrekkie> There's an API to just make HTTP requests, IIRC.
<ocdtrekkie> Which is also a hole, just not a CSP one.
<isd> How is TinyTinyRSS doing it?
* isd goes looking for the code
<ocdtrekkie> isd: That
<ocdtrekkie> I am a shoddy developer and really only port things that work as-is. But I am reasonably good at quickly finding information about Sandstorm. :)
<isd> Ah, yup
<isd> Is anything actually using the CSP hole that needs it?
<ocdtrekkie> Nothing intentional, AFAIK.
ill_logic has joined #sandstorm
<ocdtrekkie> There is probably some unintentional stuff. Might be some Google Fonts or crud here and there, I tried to open issues on most of that when I saw it.
<isd> I think we should break things sooner rather than later. I'm going to stirr the issue.
<TimMc> Wait, there's a CSP hole?
<ocdtrekkie> Client side you can request whatever you want.
<ocdtrekkie> But you can also monitor that with things like Privacy Badger on the browser side.
<ocdtrekkie> It's technically a less worse hole than HackSession's HttpGet.
<TimMc> Oh, I thought Sandstorm imposed CSP already.
<ocdtrekkie> Not yet
<TimMc> TIL
<ocdtrekkie> Or at least not to the extent desired, I think.
<isd> Yeah, this was a surprise to me as well at one point: https://github.com/sandstorm-io/sandstorm/issues/2906
<ocdtrekkie> But anyways, on the backend side an app would have to specifically use the HackSession API, so it's reasonably easy to check that an open source app you use doesn't use it. And on the client side, Privacy Badger is gonna show it.
<ocdtrekkie> So it's manageable at the moment, though obviously room for improvement.
<ocdtrekkie> There was a bookmark app using the CSP hole to load site icons, but it didn't get published.
<isd> Yeah, that's actually what prompted this -- the author even noted this and said the app would degrade gracefully.
<isd> I poked at the issue.
isd has quit [Quit: Leaving.]
<TimMc> I wonder if each Sandstorm instance should have its own CSP violation reporting grain. :-)
gharris has joined #sandstorm
gharris has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
isd has joined #sandstorm
_whitelogger has joined #sandstorm
Mitar has quit [Ping timeout: 240 seconds]
keturn has quit [Ping timeout: 260 seconds]
keturn has joined #sandstorm
strugee has quit [Ping timeout: 240 seconds]
larjona has quit [Remote host closed the connection]
larjona has joined #sandstorm
Mitar has joined #sandstorm
keturn has quit [Ping timeout: 240 seconds]
strugee has joined #sandstorm
keturn has joined #sandstorm
Telesight has joined #sandstorm
Telesight has quit [Client Quit]
Telesight has joined #sandstorm
tobald has joined #sandstorm
syb has joined #sandstorm
syb has quit [Client Quit]
deadcert has joined #sandstorm
deadcert has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
deadcert has joined #sandstorm
sandcut has joined #sandstorm
<sandcut> Hi! My sandcats.io server is unreachable and I can't figure out why!
<sandcut> Need some help
<sandcut> Any problem with sandcats.io DNS maybe?
<JonTheNiceGuy> works for me - want me to check yours out?
Telesight has quit [Remote host closed the connection]
samba_ has joined #sandstorm
<sandcut> I sent you a PM JonTheNiceGuy
samba_ has quit [Ping timeout: 255 seconds]
<JonTheNiceGuy> sandcut: I'm not seeing it :( I'm using the IRC bridge from Matrix.org, so that's probably eaten it :( Do you want to mail jon@sprig.gs and I'll take a look
samba_ has joined #sandstorm
samba_ has quit [Ping timeout: 255 seconds]
phoenix1796 has joined #sandstorm
samba_ has joined #sandstorm
<JonTheNiceGuy> sandcut: DNS resolves OK, it's redirecting properly from HTTP to HTTPS, but the HTTPS isn't loading. It's seems like there's probably an issue there. Check to make sure the sandstorm service is running (`systemctl status sandstorm`), and that it's listening to https (`sudo netstat -antp | grep sandstorm`).
samba_ has quit [Ping timeout: 260 seconds]
<sandcut> Thanks JonTheNiceGuy. But the service is running and listening :/
<JonTheNiceGuy> Check firewall rules on your host (`iptables -L`), port forwarding from your router and failing all that, tcpdump to see if your device is actually receving the packets.
<JonTheNiceGuy> Also, if you HTTPS to the device's IP address inside then network (barring certificate errors because you're addressing the IP address not the machine name), do you get a response?
<sandcut> Let's see...
samba_ has joined #sandstorm
<sandcut> It's not accessing through the local address either https://192.168.1.x
<JonTheNiceGuy> iptables and tcpdump it is then!
<JonTheNiceGuy> Good luck!
<sandcut> Ohmy! Thanks Jon!
<JonTheNiceGuy> no worries. If you're not OK with tcpdump, let me know - I'll tell you what to take a look at.
<sandcut> Never done it yet :) Will see how it goes ^^)
<JonTheNiceGuy> np
Zarutian has joined #sandstorm
Zarutian has quit [Read error: Connection reset by peer]
Zarutian has joined #sandstorm
isd has joined #sandstorm
<sandcut> Hi again, I'm still quite lost, tbh. Could you give me some more hints on what to look :/ I'm on the verge of making a new reinstall and restore, but I'm afraid it'll happen again...
<JonTheNiceGuy> OK, so with `tcpdump -i eth0 port 443` (note, your interface might not be eth0, it might be enp0s3 or something equally confusing), try to establish an HTTPS session to the device. If you don't see it, then there's something outside the box which is preventing the HTTPS packets from getting in. If you *do* see it, but no response is firing, then there's something wrong in Sandstorm. If you see a request and a response, but
<JonTheNiceGuy> you're not seeing the response on your machine, then it's back to being something outside the box.
<JonTheNiceGuy> Oh, and also, it might be worth pastebin'ing the results of `iptables -L` (sanitize as necessary)
gharris has joined #sandstorm
phoenix1796 has quit [Quit: Connection closed for inactivity]
jemc has joined #sandstorm
prettyvanilla has quit [Quit: Konversation terminated!]
tobald has quit [Quit: Ex-Chat]
<JonTheNiceGuy> sandcut: that shows your box is responding, so something else on your network is stopping the traffic from flowing.
<sandcut> I can't reach to it. :(
<sandcut> I'm going to reboot x) the Host machine. IDK I feel like that lab dog of the meme. T.T
<sandcut> I'll be back
sandcut has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<deadcert> Hi! My sandcats.io server is throwing a certificate problem
deadcert has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
samba_ has quit [Read error: Connection reset by peer]
isd has quit [Quit: Leaving.]
<JonTheNiceGuy> deadcert: have you got a proxy like nginx in front of it?
<TimMc> They're gone.
isd has joined #sandstorm
Telesight has joined #sandstorm
<JonTheNiceGuy> Rats, so they did. Ah well
ogres has joined #sandstorm
DanC_ has joined #sandstorm
<DanC_> I'm stuck at "create account"; how do I get back to "sign in" from https://oasis.sandstorm.io/grain
* DanC_ digs into chrome settings... clears all cookies for the last hour
<DanC_> well, that did it
<DanC_> what prompted me to sign in: Hakyll CMS
<DanC_> I played with it once but didn't want to maintain my own installation
<DanC_> markdown to HTML is haywire. hm.
strugee has quit [Ping timeout: 260 seconds]
<DanC_> ah. now I see how the .md is supposed to work
<DanC_> grr.... now publish doesn't work: 404 not found: /index.html
strugee has joined #sandstorm
jemc has quit [Ping timeout: 255 seconds]
keturn has quit [Ping timeout: 260 seconds]
strugee has quit [Ping timeout: 240 seconds]
strugee has joined #sandstorm
ogres has quit [Quit: Connection closed for inactivity]
keturn has joined #sandstorm
gharris has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Telesight has quit [Quit: Leaving.]
dwrensha has joined #sandstorm
larjona has quit [Excess Flood]
TC01 has quit [Excess Flood]
larjona has joined #sandstorm
TC01 has joined #sandstorm
Mitar has quit [Ping timeout: 260 seconds]
dwrensha_ has quit [Ping timeout: 260 seconds]
Mitar has joined #sandstorm
isd has quit [Quit: Leaving.]
xet7 has quit [Ping timeout: 245 seconds]
xet7 has joined #sandstorm