h2non / imaginary

Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing

Home Page:https://fly.io/docs/app-guides/run-a-global-image-service/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What causes the "Image Resolution is too Big" Error?

armouredking opened this issue · comments

Hey, so I'm not convinced this is an issue with Imaginary, as I've run the instance before on my own without issue. Per the question on the header though, what could drive this issue? The code seems fairly simple However, trying to research it I wasn't able to find any issues regarding the entry, and my ability to read code leaves a lot to be desired.

The error.go file shows ErrResolutionTooBig as a variable on line 27, which seems to be a part of controllers.go lines 126-146 but I'm not sure what drives my issue since I didn't encounter it previously running NextCloud / Imaginary in PVE containers. I'm receiving this with the NextCloud AIO instance of Imaginary #1861 and I'm unsure if it's a limiting setting or something else.

The log entry in NextCloud is rather simple, and while I do have some big images, again, in the past Imaginary ran without issue (at least, looking in the container's syslog I can see Imaginary working without issue giving 200s for the same "looking" query instead of the 422s AIO is getting) so I want to correct it to what I experienced before (particularly since my hardware can easily support it). Unfortunately, neither the NextCloud log nor syslog entries make a note of which file it's working on.

My previous container on PVE was using go 1.18.3 with a git checkout of cfbf8d7 for Imaginary.

Will be fixed with nextcloud/all-in-one#1879