ImmichI
Immich9mo ago
chk86

Share album downloading

I recently came across the support ticket titled “Large file doesn’t download from Immich,” so I decided to test my own setup. I’m encountering the same issue.

I have Immich set up using a reverse proxy. I already have Traefik setup following Immich’s docs to increase the responding timeouts for Traefik. Everything works great, except for large file downloads.

When I use my reverse proxy and click the download button on a 3.4GB share album I created, I see the progress bar, but it stays at 0%.

But it never progresses past 0%. It also never actually downloads, no matter how long I wait. Eventually, I do see in Immich’s log:

[Nest] 17  - 04/07/2025, 4:36:56 PM     LOG [Api:EventRepository] Websocket Disconnect: mjydMIQzaCCLxOXxAABw


And then this error:

[Nest] 17  - 04/07/2025, 4:40:42 PM   ERROR [Api:StreamableFile] Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at ServerResponse.<anonymous> (node:internal/streams/pipeline:415:29)
    at ServerResponse.emit (node:events:530:35)
    at emitCloseNT (node:_http_server:1033:10)
    at Socket.onServerResponseClose (node:_http_server:284:5)
    at Socket.emit (node:events:530:35)
    at TCP.<anonymous> (node:net:351:12)
    at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
  code: 'ERR_STREAM_PREMATURE_CLOSE'

If I select a subset of pictures in the same album album (like just 1 day from a week's worth), these smaller subsets do download. I could download the entire 3.4GB album in 7 smaller chunks, with the smallest being 223MB and the largest being 1.19 GB. However, the progress bar also never progresses past 0%.

I got similar results when I tried the same steps behind my local IP address. I was not able to download the entire share album. One difference is that it did start to download the file to my Downloads Folder, but then it stalled and never finished.

However, I was able to download the smaller subsets of the shared album.
Was this page helpful?