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
kawaiipunk has quit [Quit: Leaving this Club]
kawaiipunk has joined #sandstorm
CcxWrk has quit [Remote host closed the connection]
CcxWrk has joined #sandstorm
cbaines has quit [Ping timeout: 256 seconds]
cbaines has joined #sandstorm
cbaines has quit [Ping timeout: 260 seconds]
michaeln3 has quit [Remote host closed the connection]
michaeln3 has joined #sandstorm
michaeln3 has quit [Ping timeout: 240 seconds]
cbaines has joined #sandstorm
michaeln3 has joined #sandstorm
michaeln3 has quit [Ping timeout: 246 seconds]
michaeln3 has joined #sandstorm
michaeln3 has quit [Ping timeout: 265 seconds]
larjona has quit [Remote host closed the connection]
larjona has joined #sandstorm
michaeln3 has joined #sandstorm
michaeln3 has quit [Ping timeout: 272 seconds]
dustyweb has quit [Read error: Connection reset by peer]
dustyweb has joined #sandstorm
frigginglorious has joined #sandstorm
MrWizard has joined #sandstorm
<MrWizard>
hi folks .. got a noob question .. Trying to build a simple fileshare with sandstorm.io + davros but I'm hitting some kind of filesize limit around 22mb .. I've been all over the documentation looking for the obvious clues for a tunable but can't find it .. hopefully someone can help a brother out with a pointer in the right direction
frigginglorious1 has joined #sandstorm
frigginglorious has quit [Ping timeout: 240 seconds]
frigginglorious1 is now known as frigginglorious
<JacobWeisz[m]>
AFAIK, the only limitation is that connection interruptions can cause issues with uploads and downloads to Sandstorm servers.
<MrWizard>
Thats really strange then, its constantly stopping at 22mb on the upload but nothing in the log to indicate a limit is being hit
<JacobWeisz[m]>
Is there anything on your box with regards to memory or swap or something that could be running out?
<MrWizard>
Not that I know of, its a fresh linode install -- literally I fired up the instance and installed sandstorm on it
frigginglorious has quit [Read error: Connection reset by peer]
<MrWizard>
dmesg and the usual log files don't show anything odd .. checked that before trying to dig the documents
<abliss>
where are you uploading from? any chance a proxy in between is dropping the cxn?
frigginglorious has joined #sandstorm
<abliss>
anything in your browser debug console when the limit gets hit? does the connection just drop, or does the server send a response code?
<MrWizard>
The browser is strangely silent .. It seems to think the entire file gets uploaded .. I've tried different browsers (firefox/chrome) on two different macbooks one here and one overseas so we really diversified on this test
<MrWizard>
let me send up another on with the debug console open and see what the response code is
<MrWizard>
really nothing in the console except lots of white on yellow and one 409 message from webdav at the beginning ..
<isd>
Another thing to try: Does a Filedrop grain behave any differently?
<isd>
Also, how much memory does the VM have?
<MrWizard>
its a 4g VM
<isd>
Ok, that should be fine.
<MrWizard>
let me try a filedrop grain .. didn't try that one
<MrWizard>
I can throw a share link out there if anyone wants to take a crack at uploadng .. this is fresh so there's nothing that can't be seen or proprietary or anything
<abliss>
i'll try
<isd>
Sure, might tell us if it's an issue on the client end.
<MrWizard>
I think I can solve the work problem by cluster zipping them and uploading that as zip files seem to come up intact
<MrWizard>
renaming didn't work but zipping them together does
<mnutt>
I wonder if the content-type header is causing problems
<mnutt>
I can't think of why, though
<MrWizard>
confirmed .. zipping works
<MrWizard>
I'll go open an official issue with the github repository and put in some sample files I can share and how to duplicate
<abliss>
it'll be funny if the sample files fail to upload to github too :)
<MrWizard>
at least I don't feel like I can't RTFM /sigh
<mnutt>
Thanks, that'd be helpful. If I can reproduce I can throw some debugging info into davros to figure out what the issue is
<abliss>
the file doesn't have a string like `X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H` at the 22mb offset, does it?
<MrWizard>
I never looked .. This is a bunch of raw camera files one person in my company wants to send to another and I got pulled into this as they were emailing 1.5gb files and it was failing .. so I thought Oh I read about this sandstorm / davros thing and thought "This would be an excellent time to play with this" and down the rabbit hole I went
<MrWizard>
Give me a day or two to package it @mnutt and I'll have you some kind of reproduction method
<mnutt>
thanks. and sorry your very first attempt at uploading a file failed
<MrWizard>
no worries .. at least it sorted to a method that works enough .. and feel slightly vindicated that i'm not the IT idiot these people think i am .. though the day is still young
<isd>
Bear in mind there is an issue we've seen with large files on shaky connections, since Sandstorm doesn't handle range requests -- but afaik it should work fine as long as the connection doesn't drop.
TimMc has quit [Ping timeout: 240 seconds]
TimMc has joined #sandstorm
frigginglorious has quit [Read error: Connection reset by peer]
frigginglorious1 has joined #sandstorm
frigginglorious1 is now known as frigginglorious
frigginglorious1 has joined #sandstorm
frigginglorious has quit [Ping timeout: 264 seconds]
frigginglorious1 is now known as frigginglorious
frigginglorious has quit [Read error: Connection reset by peer]
frigginglorious has joined #sandstorm
<mnutt>
I think I may have asked this a while back, but it has been a few years. Is anybody doing automated spk builds in CI?
<isd>
Not as far as I know
<isd>
I think you could probably rig it up by feeding it the app signing key via an environment variable or such.
<isd>
Probably doing it in one of the off-the-shelf CI systems means not using vagrant-spk.
<isd>
...I'm half tempted to try setting this up for SandCal, but I have a non-specific aversion to uploading the signing key to GitHub.
<isd>
It would be neat to rig something up so that I could supply the signature and CI would try to re-build the package; if the build is reproducible, it could then just attach that signature rather than needing to have the signing key itself. And it provides extra assurance that the built package is relly what's in the source repo.
<mnutt>
yeah I've found that I often delay releasing minor changes because there's a fairly tedious process for getting it built and released
<isd>
It would definitely be nice if tagging a commit would result in CI doing spk publish for me.
<mnutt>
even having CI produce self-signed packages that I could then pull down and re-sign would be a big step up
<isd>
I forget, does davros use vagrant-spk?
<mnutt>
yes
<mnutt>
but I'm not opposed to reworking it
<isd>
I think that's probably the biggest hurdle. Can't really launch VMs in most CI solutions afaik.
<isd>
Building on docker-spk or just nix or something might work better.
<mnutt>
whattt I somehow totally missed docker-spk
<mnutt>
that's huge. I have issues on MacOS with what I think is a bad interaction between virtualbox and docker causing sporadic crashes so I try to run virtualbox as little as possible
<JacobWeisz[m]>
Ian's side hobby is writing new ways to write spks. :P
<JacobWeisz[m]>
He started nix-spk too I think.
<mnutt>
haha
<isd>
Not in earnest; I did some design work and moved some of the code from docker-spk out into a library, but didn't actually break ground on the nix stuff.
<simpson>
How much different would it be from what nixpkgs' dockerTools already does?
<simpson>
(Why not add a new spkTools to nixpkgs?)
<isd>
Not familiar. Will have to look into it.
<simpson>
Basically, it's going to be easier to build stuff from within Nix and have it be packed into whatever format you like, rather than to try to subprocess Nix and extract stuff from it.
<isd>
Yeah, my intention was that the tool would basically invoke nix-build and then bundle the result. But it would also make sense to have a tool that would bundle a pre-existing build in the store, which could be invoked by further nix builds...
<simpson>
Yep, Nix the ultimate.
dustyweb has quit [Ping timeout: 260 seconds]
<isd>
Some talk on the capnproto mailing list about adding Level 3 RPC to the Go implementation.
frigginglorious has quit [Ping timeout: 240 seconds]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 260 seconds]
frigginglorious has joined #sandstorm
frigginglorious1 has joined #sandstorm
frigginglorious has quit [Ping timeout: 272 seconds]
frigginglorious1 is now known as frigginglorious
frigginglorious has quit [Read error: Connection reset by peer]
frigginglorious has joined #sandstorm
frigginglorious has quit [Ping timeout: 260 seconds]