#Getting ApiError: Request Entity Too Large

1 messages · Page 1 of 1 (latest)

sly kestrel
#

I've tried looking everywhere for this error but I haven't been able to find anything on it. It happens when I access Immich from the local ip (ex. http://192.168.1.108/photos) everything works but it won't let me upload anything and gives that error. But when I access it from my website (ex. https://photos.site.com/photos) (which is setup with a Cloudflare tunnel) it works just fine. I'd like if I could sync my photos locally with the local ip rather than upload the pictures to somewhere outside my house just to send them back home to my server and waste internet. Is there any way for me to fix this?

fast hullBOT
#

:wave: Hey @sly kestrel,

Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich immich.

References

Checklist

  1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: I have read applicable release notes.
  3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
  4. :ballot_box_with_check: I have reviewed Github for known issues.
  5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files using the buttons below or the /upload command.
  7. :ballot_box_with_check: I have tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

fast hullBOT
warm trench
#

Are you using a reverse proxy?

#

You need to set the client_max_body_size if nginx

sly kestrel
#

I am using cloudflared to make a tunnel with Cloudflare where they attach it to my public hostname. There is no systemside config for that that I know of at least.

cinder hatch
#

And the same question for when you're accessing by ip

sly kestrel
#

I resolved it by checking my Cloudflare config and saw where the difference was. So cloudflared is just connecting my whole machine to Cloudflare outisde of my docker and connects http://192.168.1.108:2283 to my hostname. My issue with using it locally came from it allowing me to access Immich from http://192.168.1.108/photos but got it to work by going through http://192.168.1.108:2283/photos where I could then upload just fine.

warm trench
#

Yes you are using a reverse proxy locally. You might not know it