ImmichI
Immich7mo ago
Khazaari

Large files fail to upload even over LAN

Hello,

I have an immich server running on a windows machine through docker. I have a cloudflare domain routing to an nginx proxy manager acting as a reverse proxy to my immich server. This setup has been working great except that it is consistently failing to upload a 2.4GB .mp4 file.

What I have tried
  • Disabling cloudflare proxy.
  • Disabling reverse proxy request body size limit (this seemed to help). I was able to get the upload to 100% but it never completes.
    proxy_request_buffering off;
    client_max_body_size 0;
  • Connecting via LAN using the mobile app's "Automatic URL switching" feature. This seemed to slow down the connection, and the request failed every time at around 1gb.
Relevant immich server logs
This error seems to occur sometimes on the server while attempting this upload.
[Nest] 19  - 06/11/2025, 7:00:35 AM    WARN [Api:FileUploadInterceptor] Request error while uploading file, cleaning up
[Nest] 19  - 06/11/2025, 7:00:35 AM    WARN [Api:FileUploadInterceptor] Error: aborted
    at abortIncoming (node:_http_server:809:17)
    at socketOnClose (node:_http_server:803:3)
    at Socket.emit (node:events:530:35)
    at TCP.<anonymous> (node:net:351:12)
    at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
  code: 'ECONNRESET'
}
Was this page helpful?