Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guidance on saving large-ish files (6MB)? #41

Open
kaxline opened this issue Dec 15, 2021 · 5 comments
Open

Guidance on saving large-ish files (6MB)? #41

kaxline opened this issue Dec 15, 2021 · 5 comments

Comments

@kaxline
Copy link
Contributor

kaxline commented Dec 15, 2021

I'm getting a 413 Payload Too Large error when trying to create an Item with binary content that's 6MB. I haven't tested where the cutoff is yet, but I was hoping there was some general advice on how to handle large files.

I need to be able to handle single files that are up to 1GB or so of binary data.

Should I zip the file up and break it into separate Items? Or is there some way to handle this with Etebase that I'm not seeing/understanding.

Thanks!

@tasn
Copy link
Member

tasn commented Dec 16, 2021

Is this on your own server or on api.etebase.com?

@kaxline
Copy link
Contributor Author

kaxline commented Dec 16, 2021

@tasn Sorry, I should've indicated that. It's on api.etebase.com. I can switch over to self-hosting if that's the issue.

@tasn
Copy link
Member

tasn commented Dec 16, 2021

Nah, I was going to say that I believe that etebase should defo handle it and maybe it was a misconfiguration in your self-hosted instance.

Etebase should (unless I'm misremembering) automatically split files into smaller chunks. What version of the lib are you using?

@kaxline
Copy link
Contributor Author

kaxline commented Dec 16, 2021

@tasn I just did a fresh install of 0.43.1 and it's still happening. I can look into it, but I was just wondering if you knew off the top of your head whether that file size is inherently problematic or not.

@tasn
Copy link
Member

tasn commented Dec 27, 2021

I don't think it is. From the top of my head we automatically split to chunks, and anyway, even a chunk sized 6mb is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants