#SocketTimeoutException for large files (100Mb+)

1 messages · Page 1 of 1 (latest)

prime granite
#

If i try to upload larger files like a few 100 Mb, immich will give me an upload error.

Error(null) uploading 115076 | PXL_20260325_115503597.mp4 | Created on 2026-03-25 11:56:25.000Z | ClientException: java.net.SocketTimeoutException: timeout, uri=<IP address, so no proxy>:2283/api/assets

I installed it on proxmox using the helper script and mounted my nas which i replaced the upload folder with. Even if i upload the file from other devices (other Android ) or the browser the upload will fail . The small files do work for some reason.
I am not connected through a proxy or something, which appeared to be the problem for most. I dont have slow internet and the file uploads in 40MB/s so it is done in a bit more than 10 seconds.
I gave my container 10Gb of memory and 25Gb of the ssd together with 200Gb on the hhd in the nas. Not even half the memory is used, but the cpu of the container does spike sometimes and the cpu of the NAS is also close to 100%.

deft plankBOT
#

:wave: Hey @prime granite,

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

References

#

Checklist

I have...

  1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: read applicable release notes.
  3. :ballot_box_with_check: reviewed the FAQs for known issues.
  4. :ballot_box_with_check: reviewed Github for known issues.
  5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: uploaded the relevant information (see below).
  7. :ballot_box_with_check: 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)

Information

In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:

  • Your docker-compose.yml and .env files.
  • Logs from all the containers and their status (see above).
  • All the troubleshooting steps you've tried so far.
  • Any recent changes you've made to Immich or your system.
  • Details about your system (both software/OS and hardware).
  • Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h).
  • The version of the Immich server, mobile app, and other relevant pieces.
  • Any other information that you think might be relevant.

Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)

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

plush path
#

How many cores did you give the container? We don’t really support the helper script since it doesn’t use docker

prime granite
#

5

plush path
#

Sorry, it will be hard for us to debug this as there is a lot in the script that we don’t know about

#

If you are using LAN direct to 2283 already, that fixed the major issue we usually see

prime granite
#

Would you recommend reinstalling it using docker in an lxc container?

plush path
#

We recommend docker in a VM, as does proxmox

lost timber
#

I think this might be related to converting to using native HTTP clients in the latest mobile releases

#

I have seen other reports of it at least and I know that changed

prime granite
#

Should I try to rollback some versions? There also was a GitHub for the mobile versions right?

upbeat portal
upbeat portal
#

can you share the server logs while trying to upload the file?
does it only happens when uploading from the app ?

deft plankBOT
upbeat portal
#

oh, ios 🤢

prime granite
#

I tried the version before they added the http update, it did work and is more than good enough for me, but I'd did give another error sometimes.

Upload failed for 1000306988: ClientException with SocketException: Software caused connection abort (OS Error: Software caused connection abort, errno = 103), address = immich.ipaddress.nl, port = 34604, uri=https://immich.ipaddress.nl/api/assets
upbeat portal
#

is that domain behind CF ?

prime granite
#

This one is. But when I do it directly to the port, it does the aame

waxen verge
#

Cloudflare has a 100MB file limit. Very specifically, big B is BYTE. So anything beyond that would cause errors

ember ravine
#

I have the same issue. Using docker compose setup with reverse proxy caddy, no cloudflare. Anything I can provide you to help solve the issue?

ornate lichen
#

Time it, if it's 5 minutes then it's our bad and fixed in next release

toxic badger
#

I'm seeing the same error on android 2.6.3 build.3041, connecting locally. Server is running on docker on a proxmox lxc, also v2.6.3

#

but it says client exception on the app so i'd assume it might be a problem with the apk not the server

toxic badger
# lost timber I think this might be related to converting to using native HTTP clients in the ...

it's slightly different between v2.6.3 (latest) and v2.5.6 (latest before the native http clients) of the android app. on the earlier version it takes more than 5 minutes before the timeout exception happens, but on the latest version it happens in about 10 second. for me the files start uploading at 27MB/s for about 3-4 seconds before freezing, and 6-7 seconds later the exception happens. all the exceptions are about 10s apart in the logs

#

i've also seen this "ping timeout" message but not sure if it's related to the file uploads at all

#

also unlike op i don't see spikes in memory or cpu usage, my container has 4gb ram but always hovers around 1gb, and has unlimited cores

ember ravine
#

My issue was in Crowdsec Appsec. Sorry for false report

deft plankBOT