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

Trying to import books from Goodreads, getting error 413 #2914

Open
mateorinland opened this issue Jul 21, 2023 · 3 comments
Open

Trying to import books from Goodreads, getting error 413 #2914

mateorinland opened this issue Jul 21, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@mateorinland
Copy link

Describe the bug
Tried to import books from GR. Got '413 Request Entity Too Large'. I was able to import them from GR to StoryGraph a couple weeks ago though (same file).

Instance
comelibros.club

Additional context
If told how to, I can try to split the file in two. I also don't know if it's possible to import more than once, I assume so.


Desktop:
- OS: Windows 10 Pro
- Browser Firefox
- Version 115.0.2

@mateorinland mateorinland added the bug Something isn't working label Jul 21, 2023
@hughrun
Copy link
Contributor

hughrun commented Jul 22, 2023

This is probably controlled by client_max_body_size in the nginx settings.

I see we have this defaulting to 10M in server_config and 3M in production.

@mateorinland
Copy link
Author

mateorinland commented Jul 23, 2023

I see, the file size is 3.25 MB. I tried shrinking it by deleting 200 or so books from my to-read-list and reexporting but it only went down to 3.22 MB. Maybe it's the tags that make it so heavy, but I can't afford to delete those in GR more than I already have. It's valuable info I've collected through the years as a Lit teacher.

@hughrun
Copy link
Contributor

hughrun commented Jul 24, 2023

The admin of comelibros.club could increase the limit if they are happy to do so and their infrastructure can cope with it: this would help us to know whether that's the cause.

Managing large import jobs without degrading user experience too much is under discussion in #2874 - it's always a delicate balance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants